Changed Knob mode with a button but Knob value can't be saved
-
@d-healey
It works on delay but, doesn't work on Modulation.- Presets can't be saved.
- Modulation rate knob position doesn't update on free tempo mode when temposync button is switched back to free mode. you can compare between knob position and modulator's rate value.
HiseSnippet 1409.3ocyX0raaaDDdorYRjRTQSaNVfRHfBHi55PYmj5TiBKaYqDGGaKD55VfdHkhbo4BSsqB4RaqDDf7Fzytm5qSdK5odtuAsyv+Ur9wJHosDBBZmYmY+le1YFpN9BKZPfvmnbyCGzmRTtkpw.tzskqIiS1YKhhpZe2.xlC5aFDPsIJJy8HjkR44IQO+05aZ5Yxsn4jHjiDLK5SY8Xxbp8atKyyqsoM8PVuB69dM2wRvaI7Dg.LlSUmz2z5Dyio6ahaqjJ4TF8r.hht5JKuj+IM59xMVBe1L5615m9nswe3rxtqd19QzNrq0KNaWhUnuOkKOBDGrCk+FdTT21lIE9FRSIEz4baJrGX3JNiGezGwBXc8n3hFDC.SwjIsbYd1cR8VADhx7cx8cyE66ti5dLaVF8be3mFwPKWhhtSkRCCo4GBRMFGjZK7rQEfTGA7TJ.u4ig2sUMr7Y8k4bPrcS0c3RpuiIDAKBq38RJ8kppsDvN3xk5YdBssOrHSh5OPWeQsF2Weg0pVoZEHNFH0N0zWayPoTvan88ZoBeLU1RzqufCKpWKgeMTtbo1kK5NdYh3FIQJ+.JZL8o9RFM.PVumXbv9oabQsWUshlVsdBaZsuSq1gTPSPxsUsEinGHo8MXuD40.n75XSnHb573ML19YOs8A.jhtUf.ZOgcnmIDupWKiesXYYbOFmp4DxsjLAWSviPBhVegWcqTSYQP6dgzEpVIBgZ4GDZQaHk9rtgRZ8bxs8ouHjxsFjJ5ZUdctaXjtITUImbKSOutvcp5CCnTCdzPOIBMMvOUnm41yfNJV0JkYN0S0TYPUkKe26pYbFSZ4pIcoZm.HUSJzjn7ZAfBzvHItwHi.Ou5wA2EKFbQ8O7VXbXG5Wlt44.8FqdIFYIF.2QnMaaOZGQ.C8SvVdXrarLDOJS8BnS1ZbRCjSxXxh1i0XVZ4wXNKqOcDuxjrX8kzaTvhfOY66HLZUHxd7TB3KDcNUwL0wkqlUFXzYqCmCtvZERO2WHoGvquPkWUobkWW4c433LJVIJxi5OJtXaI+IHVcdXutT+z73j8AkWGt980tZ0ushcHE1nfuCmIOnOMY8jqvSR7nPs9RI.D1pLpR+mjToO1+QXfRJql3LIQnuXyZx3D2viYS8iD+5pQoACI7uewEuccxOryVlRSriSBfxqHCz1hdJLIPb+mxpaQCNQJ5Gg3jb.P0WALedFd+C2lCxV7lmz7LlszE6t+FXsKkcrqDW8EvJI8bINPSTBIV.2BM0ry8VS0XyO02rYgSkr83NUXPAxvW2xE5FMiwy0TeFjmPfqq.uqcmjP.d0G6Emc0GzSjv+1E3yaWOHzwgcNNNl1ieIgb4t6vLFoclJN3ANrVBCDNE6vicw4.LGTbXtYXZD8q7zHWU3da0NXEyQi2Ri.uXx+GY7lLaWU0scbnVxbvNuZ6e5C6fb5SaPtqmdQpiqY.ENdDGUhWo8NnIKSpQt6ZPyLpKmS8hlsoTarjaBseww4OWeO14CkWL2jFbtwLL3rxULY3yRrqORYuumgfaEiXUUnUWx7yYs9lN9xudWnDJ9JQ6jWon4u17GMOk5H76kDtyD+oziAeTQJYMaKdmvnmPHcY7iG9EstSyVgARQuTsST9J0ku2RC+b5A3qR803OeXqn0DCX5fnZ7J+r5Cd28+g54RWje+SvJcESv9bLFpkEmvDs+mWeLFwYIQ+Wh3mIBkPF1dlv.fXao8C6Y.u.uEEPKmCCBi8CKgCWDuVGWGkbR415ouNdByF3ZkDlMRY9uxYzyzxW7bq3IfvrmaDQAradze+PY08v0ZYi9f9FnGO64VVXOfuA7NiVhkmYIVYlk3dyrD2elk3AyrDe6LKwpSPB7uNYiPntUbO.B4e3SpRfD
-
@orange
That's probably because you're setting the knob to the tempo sync button's value instead of the knob value.Knob1.setValue(PHASERLFO.getAttribute(PHASERLFO.TempoSync));
-
@d-healey No, it doesn't work :(
-
@remarkablex Ya it does :)
HiseSnippet 1368.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eKSkINwIEPEcjAdawNEFkmL+op9VrvSTR+XDmVC.G8bf4yxux+vsynbh28rNuhaqbgQ7ZuCncY7icUH0mCTJ1YJbij3dCXCbKLnkeuWelNaws9tMKcqjsurasEPM9ysBiZzIAOqne.TmPfmqfrUtY5FO3SebVbdeLRXjiC+LbAJ5SeMwOKy22FUK+0FrrS.rmCLNNQP9iOR1aZ7VzxVr5hKE.qljMPq79J3RZoBPun7hA3veA3ciJWCs.KwzZtWhYdg6MzGfMZmLdqLA7huY9.i2zUBqqusiCyRU.1k068Sue2+q0r1+6ZYu+F3ZFxfqGwQsDJ54PSdAT6hv0nN4b2nf6u2oGiYicpS48KNN+4i2ke1X0EKMtysz74by2BsSrX3lo90Gnp2qXJndBh00w2rIqcW7Fdl3q3UcoNu3WEpeQClN+Vmez7TliLXXZ5N27cXGCwnxbJZyThowPoT4xEGO9Wv5Vc1QJ82VXBQ.6x52MJTIGlcoDsuTei6t93eNce3WNeE9mOraLMw.5KEOwP6m0u+40+80mK799pW2UYNq69LL0RySeX82+yaalf37Zq+KQ7AxHET3sqIrNINyaungFv2m2hAnUHf0pwoqUvkdRnagzHfLXB6Xh+F9jJrMRqkJrclv+UtiglVAxWZkrOEV87Qwb.+VD+einp9tHMMeQJL1.aLveokENZ3qgnyjsXiE1h6rvVb2E1h6svVb+E1huYgs3ASwB7eDyShf9VIiFHj+w0Vz.q�
-
@d-healey No it doesn't work.
You can save 3-4 different presets and you can see that the knob values are not the same with the saved preset value. -
@orange The last snippet I posted, it works.
I also noticed your knob goes down to 0.2 but the LFO only goes to 0.5 so you need to change that.
-
@d-healey very strange. It is not working on my Hise
-
@d-healey It really doesn't work on my system. I will show it with a video too
-
@orange Which version of HISE are you using?
-
@d-healey
1.5.1
(17.04.2018 update) -
@orange This is strange, I'm on pretty much the same version, I can't see anything different between our versions that should prevent it working for you. Show me your video please, start with copying and pasting that snippet so I can see the whole process
-
did you just try 1 button and 2 sliders (or knobs) =
button = tempo sync on/off
slider 1 = time in ms
slider 2 = tempo (synced)when tempo button on = slider 1 hidden, slider 2 visible.
when tempo off = slider 2 hidden, slider 1 visible.the 2 sliders at the exact same place, of course; all (button, knobs) set saveinpreset = yes
in this case all infos (on/off, time ms, tempo) will be saved in the preset.
-
@d-healey
I've shoot a video from scratch. It is not working :( -
@orange Very strange, it must be something to do with our different versions. I have the latest build from source.
-
@d-healey
Can we go with the previous thread?- In this case we will use 2 different modulators (TempoSync & free mode individually)
- We won't use knob mode changing. we will use different knobs for each modulator with show/hide option depending on sync button.
- But in this case we will have an issue for tables and sliderpacks whilde selecting waveforms.
FOR THE SOLUTION, I ONLY NEED:
We can use an "if" state in an other "if". So;If table is selected; and if tempo sync is on >> show table1
If table is selected; and if tempo sync is off >> show table2
If sliderpack is selected; and if tempo sync is on >> show sliderpack1
If sliderpack is selected; and if tempo sync is off >> show sliderpack2In previous thread I've asked this solution. I really don't know how to do that :(
-
@staiff I tried this and it does not get saved properly in a preset.
Tried a lot of things today and cannot get this to work.
The @d-healey script works in a simple test script but not in a larger script for some reason.
HiseSnippet 2193.3oc6ZzzaabbcojVaQ5nFmDEfdo.CD5ApVGYJK63j3Vn05KGVKYwHJ6jh1h3Q6NTbh1clM6Nq9HoBvWLZ+AzKtmxw9Sn8luFfbnEM.8pKZQA5s7OH4MyreRtThlv1HN1zR.ddu27l2Wy6igpU.2lDFxCLpTc6i7IFUdEy1GwDcWtKlxLZthQkZlaS77cwBhwRG4iCCINFUpL9Mj3qTcBC0muYwkvtXlMICjgwc3Tax5TOpHCpu0MottqgcHaS8xQ8ksZZyYKyc4QfrLtYCCer8d3cI2BKIaLSiJmYUGpfGzV.hRnQkIVh6bT6t7CXZ5uCMjtiKQtXdi1.izfWi65HkXITik6RccZknygFFULakYAFWaAl1bCpCMEdlk37JDnrcj2dTYrSR7lOu30X3EuJ4DuIzh2qY11Nf5KxvHksyY1jIHAcv1EcSZZMFqYUyk4.ELwbd38HqE.KR2Q829pMt.Zg24JydsopMUMvQDJP6iCPqS5HVg3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AiObh6oLaV0DYTWMcUnNmKGfnKzrh9AESglWHyFyMeLzVD3t+tp2nISzKUettP.M5jAYZqsHtDb9Ic+oVqSYDLLrsCYDMEOgFS8GapEWj7pO5GFOty3+.5wcdZbAExN9BRM0mEmgG1Nf+w15uRJ4UuIUP.8lo9NapBsuCqQym7sOYZ1XtFxGxk9w11xni2BrOkumKMB6YgQXOWdD1yUFg871ivdt5Hrm24D2irz40iDbOc7O.n0p52RrhtSA0UAiuCvRq9SS
With this script it will not load correctly from a preset if the previous preset is unsynced , and you are loading a synced one, or from synced to unsynced. It does however load correctly if you double click the preset ,or go from synced to synced , or unsynced to unsynced. Not possible to load correctly when using prev/next buttons to load presets.
Exactly the same script in a simple test project, same presets. Works just fine.
Tried everything, if anyone has a solution I would love to hear it.