Switch Synth Containers with ComboBox?
-
Happy Saturday, all!
I'm following @d-healey 's tutorial on How To Change Sample maps but maybe there's an already existing tutorial that i'm missing?
I have several waveform generators (all in one Synthesizer group) for each "Pad" that the user can select via combo boxes...maybe there's a more effective routing solution?
Any help would be great so thank you!
-
@virtuscapeaudio Could you use Midi Muters, one per waveform gen?
-
@d-healey perhaps! In this case all would be muted except for the one the user selects...
now how do implement that via script?
-
Add a midi muter to each waveform gen
Get references to all the midi muters in a single array
In your combobox callback, loop through the array and enable the ignore events button on all of them. Use the value of the selected item as the index to the array and turn off the ignore button for that muter. (ComboBox values start at 1 so subtract 1 to use it as an array index) -
Here's an example
HiseSnippet 1302.3oc6Y08aaaCDWx1pa1sKqcnXXOJXrGT.RcsS55FvvVchSRgwhS7hSaGPWQAiDkMWjH0HoxrwPA1eh6Ok9vde6HkrrThQhq2WsENODXdeeG4c+tD2mybwBAiaXV8jIQXCyaYMXBUNpyHDgZzcWCy0r5gDRL2NgzNShPBA1yvzr7iUDLqVwP+yqezNn.D0EOijgwSYDW7AjPhbF09s+NRPv9HO7IjvbR+f1ccYzNr.VLDOksZZDgbOCMDeHRIVIKCyarmGQx3CjHIV.xrCyaxfQreglH+SIBxoAX0gVFC.CkP1nyHRfW+o4pvvv7C5OKyKmj420pGwijQeVE31ZF1yzHeMvrzUERsdCBIybgTkjP5NVCb4jH4LNp34lVcovEhOBJ04CkDYMJ8Gkr5v.InxFgnyv6ygCYZ37vlM2vF905ecsZ2+91OFKsQAA1gwf.BaBUxrQbNZRM3tPHSn20SX+M15GFMFhkc8NfHjN0UkkdJ90AikSbkvO+Ef88YbaGhGX0L6rdsesV0DoZDEKF4jY0BUePq0Ai9pZ5frCK7T1NrwoN4bDOiTKvWSyVvH.4HFEN3TOSBUzkcng.C7HRbnn9FYQUiehQnN0+QZckWqQnADJ11Ol5JILps5UYp9JewYANtSczFP3DDi04kNeGmktPxVs5XkG2VJ4jSAZNiaPFRYb7NwRIitgsjC5BtrJw21QaI6u0toR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