How do you use synced modules in a project ?
-
I am having massive problems trying to use an lfo and a delay with a synced option .
When switching between synced and unsynced it does not hold the correct display values.
It seems to use the correct value for modulation but displays the wrong one.
Not entirely sure what is going on here ?
The same thing with the delay , a complete mess.So I tried this - using 2 panels and two sliders , with the sync button switching between the panels, so one showing the synced value and one showing the non synced value. This works ...in terms of displaying and retrieving the correct values. This is the closest I have gotten to getting out of this mess.
This means having 2 callbacks to the same frequency knob on the LFO....soThis does not save correctly in the preset....Unless I could script which parameter gets saved in the preset ?
HiseSnippet 1464.3oc0X0saSbDEd1jrTrSMBn7.rJppxPCA6j.zpJTLwIgZ0DhaW9oU8BzjcGGOM6Ni6tyFvfPpuA8pdA20mj9rvs8NdCZOy92Lq8ZGWKfBNRQ5blyYNemu4myY1tAbGRXHO.YT4ACGPPFepo8Plne69XJC0YGjwELO.GJHAVIp1d3.bXHwEYXr38jJLprDJ92a1ZarGl4PTpPnGwoNj8o9TgRa2VeG0yaOrK4ATeMq2rUGGNqM2iGA3YQyFnAXmSvGStOVZ1BlHiysqKUvCrEXAIDrYat6P697mxRr+QzP5QdDoPSjMLQIpQs6S8b6lkqgHjwRcUY9hIY9ULOf5Ry0qXfKFOfkxCcNvXghPZoBPp4jfzdbOW4DLA3YnAukRf2kLscBnCDpQjXaYyNLXwoGFnccXkXKZg+xzrMGrfIVyGeBYu.PH2i52pQiUstYiFW8apUsVUf7CEVmhCr1euCOf6F4ggDqo0crh2Rr1wDQt15q.1XoLZE4TnlftLOoeYgF7rM2e.mAB0WQN331u9zre8QrG.jyDsWN3H1+PVHnz1yMXhdoLojXMUOs08qfmOkJb5usfMYWyrH0W0eTlGkQr5EwbDTNyhyT.TNWAbu5NYSzpP37hHWsV0WTqZkBqdqERD2UHBnGEIH0KNzdAjeMhvbFtZh6.DdYLLNaFRNsovnM1y6H3fZ8RfXwrZ7bx9+2Lx9LxG6ImMkmKusxiGP.+kSXl+PjqHOGrVHb0RVTZZc8Bi1rvnZdd1rvzXfwx9absRy+r8xm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lYOeR1nZCYqozm33Had35.+TtOqOG9rwb3ylygO2bN74VygO2dN74qlpOxuG9cifpVI6+AEc2ModkQdcOiEQ+KfeOLZB
This method also fails , as it just displays the same problem as on the modulator itself.
HiseSnippet 1561.3oc2X8taaTDD+NaeU3q3VJTj3imrPHGQH0tMs.sBkz3DWBM+wJWRAoJT6l6VGuJ2s6wc6kV2pHwC.u.vaBO.7A9FOJ8M.lYu+ZpqiwjRqvJxx6ryryu82L6ryl9gBGZTjHTSu99iBnZ5uqg8HtbX2gDFWay00zujw1jHIMzJQzZiBHQQTWMc8p2CEnWull5yKVYMhGg6PKDoo8.AygtEymIKj93UuOyyqGwktOyuj1Ku5lNBdWgmHFvSUi1ZADmiIGQ2gfpUwPS+Ba3xjhPaIQRizzqslvcj8PwS3I5+.VD6POJNnilMrPIh6I7bQDiR05Nj441OaeGoooazufEplvBW0XalKKWdAa7dpIrJrnLenWYZvqyYCu1SBd5kfWsD3cECamPVfrXFDauepzWA5RlTqxN0LLAdNRZcBIz59bwgVekUWAWR4xkHttnjVMwuatnUa3uEtSCSyqcMqG9M16tixfu2LS+HJBh.ZnjQi5EJ7Qcxs94MLsrZ5KboMusUydgzeHlxcF0bQkbHqJvl8Lbt1K0IQlKc.I1S9.hWrxlaloa7fArmhRr95m0rg4oKbGyR6hs5s61B2XOBv9vtQkBuzQTYtvVMAUrxG1bbyA8cVKVJE7wohDYsZVLOro5rLPJc.VwrgIi6w3TqAwbGICrVvKTEWmPgWKGgeffCq3hfufs0BMLAdoNPn.4YIGRUtGwFrP.7QI.XAUJuqPl9tRYH6vXIs0XyrOEb.tFYN.hW0g+XCZk4v5nGQWZ+DlzYnxGGiQdovRhlaEgX.iTnhX3CcXqjX2hVMy8QS0pWVCxSalxG0OElh5EQmtCGjkGLE+Ujq7R9igAg1Kc8ICja19kMv00i1WDwvPDpRJTOETrgYQ.CUOMn0k34cHT7o0DBn35WJfuiPR2k2ZAymaV27TSq+9TCFLw4RWLOZ3DmFqLFNMCawi8O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Nr4VygMe9bXyWLUavt0taLTuL4xJPP+MRpTpmWwUup1eAX+SETA
const var Knob = Content.addKnob("Knob", 0, 0); // [JSON Knob] Content.setPropertiesFromJSON("Knob", { "mode": "Frequency", "stepSize": 0.1, "defaultValue": "5", "suffix": " Hz" }); const var LFOModulator = Synth.getModulator("LFO Modulator"); const var SyncButton = Content.addButton("SyncButton", 140, 10); inline function onSyncButtonControl(component, value) { // set the Sync Mode for the LFO LFOModulator.setAttribute(LFOModulator.TempoSync, value); if(value) { // Switch the knob to tempo sync mode Knob.set("mode", "TempoSync"); Knob.set("max", 10); } else { // Switch the knob to frequency mode Knob.set("mode", "Frequency"); Knob.set("min", 0.2); Knob.set("max", 50); Knob.set("middlePosition", 5); } }; SyncButton.setControlCallback(onSyncButtonControl);
Same thing with the delay ?
HiseSnippet 1688.3oc2X80aaTDD+tjbkZWRKEJR73IKdvQTRsaRKPiPwM+wsAhSrxkTPpB0t4t0wqxc6db2do0sJR7HOfDOWdhuF7Af2Qph2guA8a.Lyd+mb0MMjVpvJx06L6r6u82L6Ly19ABaZXnHPSu11i7oZ5usg0Htb3xCILt1ZqnoedidjPIMvLVzRi7IggTGMc8IuEJPu1TZpOOawkHtDtMMWjl1cDLa55LOlLW5867kLW2tDG51LuByd9NqYK3KKbEQ.dlznklOwdexdzMH3zlvPS+Lq5vjh.KIQRC0zmZIgyHqghGvim+cXgrcco3f1ZVvBEKtqv0AQLJUa4gLWm9om6PMMci94rvjwrvkL5wbXYxyYi2QovL2hh7g9DiCdsewvqUUvSu.7lJFdWzvxNf4Ky0fX6cSj9bPWrRsIbmxnNvygRyCHAleIWrq4matrfKob4rDGGTRyF32MtrYK3uYVX550uxULu6WXs4FJC9l5oyOjhfvmFHYzvtABObNYV+3oqaZ1vS3PabCyFcCneaDkaOpwkUxgnJeK1iPcslscrLG5.Rjq7ND2HkMWKctQCFvdHJw71Opwz0OblEPLkeNVu6l8DNQtDf+gyiJHd18nxLgMa.SwLaXCXAxsdEpKYT6h1s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zysEd2qn7kEjfJU8rE6BmwJswhHiBTWhuomHhKGmq9k9lRkuiZp+CdG0oeNv+8orOwWbJkqoVJFsXd9tzU4GPcgJ6I4oWIt5VlzhfrmfK7GJ3rRWu2hB2F2aOZPQgUddf98fDNEqYtE0kRJF+9gcVGh6HA8TUbeUSEiyc8AFwv0DuKZ9+iJsSdrpzd5vsWHFjFFv6GUH6BFkdm7Xw02syN+5hKw7Etj.rCgrW3WL3ASTtFu3IASICOa0KouzLOx5z8fsrnjJJT8rEs7DB4Pn.S4zuWpy5Bg+pbBPBNEme+gPrK7r.3oLkRpFEJEdoXQ0.oEzvppcZ86Zb84mE9L3ivu+rkgulaySmwmhNxINlQaumxml48Pu6a32OhQbV7zaHH9URunuDP40QiUuN1COhcf3d1wO9ECjOqRBbt4p+qdqYzCGa1N8AuFFslsE9RS18rsQ59iaqoUsMW8DXybm.al+DXy0NA1b8SfMexIvlOcr1fcqcyHHeYbwJPP+UiyTpmkwUeRs+FDPlAZG
In any event , someone must have used a synced/unsynced lfo/delay in a project and made it work .
I am at a complete loss as to how this can work ?
If anyone could explain that would be super helpful as this is driving me a bit mad :P -
This post is deleted! -
@lalalandsynth - I've already told you how to do this in the other thread,
in the syncButton control call back:
- check the value
- if == 0 then hide the SyncKnob and show the UnSyncKnob
change the mode to "frequency"
then call UnSyncKnob.changed(); - if == 1 then show the SyncKnob and hide the UnSyncKnob
change the mode to "TempoSync"
then call SyncKnob.changed();
in SyncKnob callback:
- check the value of syncButton
- if == 1 then do something
- else do nothing
in UnSyncKnob
- check the value of SyncButton
- if == 0 then do something
- else do nothing
put SyncButton, SyncKnob and UnSyncKnob in your preset.
-
@Lindon said in How do you use synced modules in a project ?:
then call UnSyncKnob.changed();
Well,its not for lack of effort , I spent hours on this yesterday :)
I guess I am missing something.
I initially thought it would be enough to put each slider in a panel , and switch between them.
Seems like its more then that .
-
@Lindon This works fine for a modulator but not for a delay.
Actually it works for a delay in a test project but not in a larger project...not the preset recalling.inline function ontremoloFreqControl(component, value) { LFO1.setAttribute(LFO1.Frequency, value); } Content.getComponent("tremoloFreq").setControlCallback(ontremoloFreqControl); inline function onLFO1SyncControl(component, value) { LFO1.setAttribute(LFO1.TempoSync, value); if(value) { // Switch the knob to tempo sync mode tremoloFreq.set("mode", "TempoSync"); tremoloFreq.set("min", 0); tremoloFreq.set("max", 18); tremoloFreq.set("stepSize", 1); tremoloFreq.set("middlePosition", 9); } else { // Switch the knob to frequency mode tremoloFreq.set("mode", "Frequency"); tremoloFreq.set("min", 0.5); tremoloFreq.set("max", 20); tremoloFreq.set("middlePosition", 3); tremoloFreq.set("stepSize", 0.01); } tremoloFreq.setValue(LFO1.getAttribute(LFO1.Frequency)); } Content.getComponent("LFO1Sync").setControlCallback(onLFO1SyncControl);
-
@lalalandsynth - please re-read my solution above - have you tried that approach? The approach you keep posting about isnt anywhere near what works for me.
-
@Lindon Yes, I have this , that I assumed would work . This switches the knobs in a panel , one is set at tempo sync, and one as time in properties.
Your explanation is a bit complicated for me to be honest , such a noob :P
I guess I am not sure how to implement this
"use two UI knobs - one set to Tempo sync and one to Hz, when the user switches issue the mode change and a element.changed() command"This is my basic panel switching .
HiseSnippet 1446.3oc0XstaSbDEd1jLTrAi.JO.qhppLTHXGtzVUgxRbhAWRHtrboWTEZxtiiGwty3t63.FDR7Fzey+30n+opO.7Pvi.uAsmYuNquW2zVvQJRyYNm47c9NyLmyrsCDNzvPQ.xnz8GzihLNI1d.W1sQWBiiZsEx3T3cIgRZfYrnMGziDFRcQFFKeKk.iRqfh989M1j3Q3NzbQHzCELG5NLelLWZaq6v77ZRbo2m4qo8UsZ4H3MDdh9.dVFWC0i37DxAz6RTpsDFYbrscYRQfsjHogHiU1T3Nvtq3o7X8eHKjsuGUMnNxFVnXwMEdtJDqjhZzk441NMtCQvpzNmEVNlENGdWlKKSdNab5nILysPmOLVZZvq9BBOCM3sRL7NC11If0SlOiBam.2hCIpNDHEnCqXcQK86XbCAnAWtlO4IzlAvfLKpd8Z0tn40pU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q7bl0uZ8HxgzNh.+j5vYluC8.vQ5RxKOoIz1WHjcY7CJ98HNm0NBQus4DHzc00ucWRnp6OnyR8Tci9gRgeJVh9fE1vcyQsOX7S3qe00fec9B0++5Fv+txdGMiQGcoukly8XeZTlLKkoxoefeyYLhy1O8Q.hOKN5pHyOZJNcVbzUke7.3SigdI+..t2SzWB29rKQFD0z1c66aK5G3PAnxglcUu0yXI0MLwiqoFq.jMk6FM3OgeISVWM1HYx5oS9ehO7INAhG6D+hK00IGORBD27nufaI7tpwl0SelEFWasZp1SYO1wQ0vvk.9Y71r9BXyUV.at5BXy0V.at9BXyWt.17US0F0Gy9l8gpVw6+AAs2NtdkQVcOikQ+ELr9nT
And this is my non working attempt at implementing what you said ...
HiseSnippet 1645.3oc0YslbaaCDFz1z0RINSRZN.b7O5HO0wVx4QSZmLgwxVoJwOTKyi9X5jAlDxBio.TIgbhZFOStA8JziROJ8+8O4FztfOAEonTUSZSjs0LD6tX+1uEbwB3NdbahuO2CoU4IiFPPZWT2ZDSzqYOLkgZuKR6R5Gf8EDOivg1Yz.ruOwAoos3CkCnUYITvm2d+cvtXlMIcHD5YbpMYeZepHczNlOl551B6PdBsuh12zrsMm0j6xGB3YQ85nAX6SwmPNDKUaAcj1x64PEbOKAVP7QZKsC2YjUO9KYg5+LpO8XWh7gFHKXhBGtE20QhX4nnl8ntNchiaeDLKcRYgECYgqoe.0glLdJab4.AFoVnxGZKTF7ZnBu5yN7zTf2Rgv6J5V1dzAhTIRrcA81LHQ0ECo.UXEpKZg+rhdSNnASrYe7ojVdvCIVT610qugwspWe8uZ0pqVERD9BiyvdF625nC3NCcwPf0v3dFAKO17DhHYzZqA5XjpzZxoHcB5vbk1E6Zvxl79C3L3gZqIElW+sKS+sGSe.P1STeovwz+oLeXPKWGuIZUpJE3qRszR0tLV9Rpvt2NB1jMMViHay9SrM9DYVe.wSPI9PJr+irN5PE+tgwqWspgwZ84Nj09Ri0dBAbP.KrQv3vqxCrn+hTVCXjyC80TlcE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ZyCe+LF8uH7MibrJyYN1mEGIGFxjwzOxO4LgwCym9DfwWUO9nHiOYtb5p5wGU9oCgurNTQ8GAz8A7HAb5yAXn8UYwL2Ox2hGEXS.pxfR9kcroUQdBSx3FxwRBYQXNwCjkHkNYS4XszIalMopK4BItjymjeE6IVI4uKdhbgltUaMpXa0pyzlPbjMHqfvbyMey1YxUADOw97m0ELn76kpUAdO5XRQ6Zd.UoH22V9Y4u2tu8+knx+G1vGaGvehcR2rxC4WIVBruYwuN8p5GHGazLqCVc8Faz.AEhSehssrLtuDxZKGyMV.Lat.Xt4Bf4VK.lau.X9pE.yWOULx+yB2IBpkH4TIPP28RphPaX0HPKN+yB+sNK
-
@Lindon wow...I was way off , understandably so , 0.001 % programming skills !
Thanks mate , this was driving me a bit mad!
Seriously ...thanks !btw> did not know about this if (Sync.getValue() == 1) , very nice :P
-
@lalalandsynth no problem.
Clearly this allows the user to decide on two completely arbitrary values (one for each knob) - so (say) turning off sync and setting the delay time to 50 ms, then turning it on and setting the delay time to 1/2 will make the delay flip-flop between these two values - one very short and one very long. But in the end we rationalised it that the user would probably have two very different scenarios for using Sync-ed and Unsync-ed so that was OK...
-
@Lindon Yes , That makes sense , although I have seen where the unsynced value approximates the synced one.
But this way is fine.Thanks again mate ! Onwards ! ;)
-
@lalalandsynth - yeah you could do the maths - but its a pain...