Buttons and knobs triggering other buttons
-
@d-healey said in Buttons and knobs triggering other buttons:
@blezzbeats I don't even remember what I had for dinner last night!
-- you had fish.
Next Question????
-
@Lindon Hahah, well. To prohibit my poly button from hanging notes. What would the best logic be? Not allow it on onNoteOn?
-
@blezzbeats Allow note offs to pass through even when the bypass button is enabled.
-
@d-healey I surrender on this, tried modifying your mono mode script all types of ways but I just end up messing up something else. Don't I need to check for the event "if the bypass button is pressed when keys are held down" rather than "check the status of the bypass button when keys are let go of"? Or does button.getValue() trigger any time a button is pressed. Because I can have the bypass button active and let go of the keys without hanging notes, it already allows note offs to pass through when the bypass button is enabled. Am I making sense?
-
Am I making sense?
Not to me. I can't remember the script so I'll need to re-familiarise myself with it to know what you're talking about.
-
Haha fair enough, when you have a moment - it's the midi processor on the sampler. If you load up a sample map you'll notice that pressing the "Poly" key on the interface doesn't hang any notes. But press it again while playing a chord and you'll get a sweet eternal sound. On top of that try playing legato style after that and notice the pitchbend incrementally increase up each time you let go and press again. This only happens after notes are left hanging.
HiseSnippet 4312.3oc6b07aiibkmxt4L1paOomNMVjMHYWNFIyJi1iG8gsjc5zqorkb2daaKMVxcmFCZLMMUIoBMEoBIk6VyrdQuGBvdKy0bZGf7OPtDf4n+CXNDf4PtrXQGr.AHebX.VjyIupXQxhjh1Tdr77UHflwrp5U06268pWUupdrqaZnhrrLLERMayg8QBotlXig51c2rqBVWX6JBoDE2q5CE1XXeEKKTKgTol9tjpRM6UDnOe15annonqh7KRP3AFXUzN3dXa+RqKeerl1VJsPMw83Z8xxaqZnuoglw.fMlVLqPeE0mpzAsmBoYSIJj5Up1BaaX1vVwFYIj5JaXzZXitFOS2o8O.agOTCQdImPCnibJdKCsVDNlTpvlcwZsp6BWKAnSq6C9oc.+ME2E2B6UtuP35zJj7ofWdjZpSi8xwydYSN6khi8thC685hMTMw8s8qgvaWUbacajYaEPEvyVNsUXpFhhaZ.sP2dodJOEskI7hGEYJtR1EkVNa1Et8bomKMU2uTKTaj4lJZZGBJBqL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Vx8FUnxYVSR5sX7jCN3Wu9F39FZJljKaz+DkIW7n6IICwUSJz41ABd9AryKv67CJwN+.vkltaRYr3oc0b+nP24xD4Dlmw8eJ.n51G1EgzX1nzBjnk74Wlc5mB+nOo8IBdO+m26421Uja7uga5vUYntROrpEcvulHYUBynm7xcgwNx8XIHPJtYWn8cgY1tq79IexMOgTQ.egeT+67GWmTZP+gm7IWqor+XNpqJyqxvCDPckS7qllFarpjKT3+mixvdk+AbCYD+yORld9wHyQfWVMQ4DgrmvpK7X8YqypHx.wyE6BgQNn+HnJbEBQt65yu43k7Y9+pNlbdohEwfyOqn3SnBPUFXt5C4x5kS9KY9yquEB05Pew7KemO9+c8JHMEOG.sa+6W+qrBpY82SI8iBkcmHdehn7hp6gTZYZXzycZ1u3W7GV+cFn3e6B+1e4KWmSd9j+ms9+Vutgk8VXMa+Yr+402yP+s1w69Uj9Y+o+v50FX2efcf08m9xdOJeKvc3WB1ZxWLV.t4bEKk+b1bcnbEKv7FvPH30TIHTQoW+P2ojWZyw8oaWwbHeYxo+se55OLXBwQSlB2DQ6qQNjtFSjdWWatPo5FuDNXlIARWNmNQbUQWLYDWR4E2rnqj3sLSXbou3iI6rxnmBieF8.OuY3L5gnHFYF8bc4DkQOtIcweOid9BLidtjy5supkEK2Pj574qNwseCQpywu5vvWWrth92717woIRdMVl4HQ+zb9Rt96ZhzzpPhr3vWm0cptcEfM1e6rnxzH2EpRMkF2t6nOtetOSId4vkzuVl2S04D4I75LzR.tTm9O5hyJR+3Yjx4dP7DoaObK76opRNVj2JmfvnoH+XSQgwlhkGaJVYron3XSQowlhUOEJHYdS4Av1Xb71AETupigTJuc7jZZg+FMCn7W.
-
Snippets don't include samples, do you have a snippet using a sine-wave generator?
-
@d-healey
Here, all my Poly button does is activate the bypass button so play a chord when Bypass is activated and deactivate it.The only difference with the sine wave generator seems to be you can hit the notes that hang again and shut them off but with the sampler you can't
HiseSnippet 1481.3oc4XstaaaCEVJIpnVaqXsqXX+TsXnPFKM0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709b6yssms1JHXYKtlells8b8pX97bfIVfVZLMWlhqVdPgk9D5j8gV2tScPs0qLlM9tTo1EsltjDyNMwsHHLEPyJyr8iaNjOSpZyFxBmSVk7A6nSia440iV2JeGvXSVzfDJd7D3qScau.sNqaVy2oUlGVZvMmmnQHi6SCfAT7mMIbg8G07D1uGr2DtyQ6LkN34aIhvPL+EpdZAr03hG10HiB0b4pT+0gSLgTuR4f4HpOnh8hMnhW9YsZBJ384L4yioSeO+XzRJcLlV7qSpxnzopLlFDqhTCSWWb9OdOhBwAQkpojtVw7P4ySXvfgfZYULTggxgnOnow7TeXHymlnT+JVpwnuntun+9DIAGVq.O.FioPGXz6ZtO8LXz77Q2ZYsOM8ToHVA3nXXtZbf20V.H+V3Rsl1vtMo7OFZqf86C0J0+8R0QsSkSvf7UrvImLhX99gzAB3BZ3E2pFb+OhHuc5qa+aamlEDvdq5p6ArvnTnoSb+Hneqg4Mrf6E3.URjrPoS5ovTygL9oT+iEJ4+vcs2UWr6t8dl2tUIFGxhhCo83mQCg.qBi2.hjJ6rjZ8osOTvEwiEblmdlxQksn0wdiFzNRIw6zJJ2b6ingTh9Uy95seJzwhj.9I5+PeQ2E2WbYwquxJGtNXlly+M9bEq9+yOWwQhLIbrzgDHQEaY.GROTjk3QAjv4vYoX2iUvdO4u2oraxPJ2W8xeAOEL6huaVvraIyOH6QDwKQ7Fu7l5Xt7UUT.6lq9visrNDe2oaY6bz2.8.YuwyCc12E7NMqwlKsFe6Rqw8WZMdvRqwCWZM9tkViu+Rz.+RJ6jIEQ4kd.gA8TGiZZ1iSfLWUVtweCHUd7uH
-
@blezzbeats So is that Bypass2 button something you've added?
-
Try removing this line from the note off callback
Message.ignoreEvent(true);
-
@d-healey I just changed the name of it because it seemed to confuse which button it was linked to from the UI. IT WORKS NOW THANK YOU! Never thought about messing with that line it looked dangerous :D What does it do?
-
@blezzbeats Kind of self explanatory, it ignores incoming events (MIDI notes). :p