Select Wavetables with Combo Box?
-
@FatMitchell How can I link Combobox With Wavetables? I am trying but weird sound stopping.
-
@DabDab Bump Bump...
-
@DabDab
What functionality exactly would you like to achieve? -
@VorosMusic I want ComboBox will change Wavetables. I have tried from ProcessorId > WaveTable Synthesizer & parameter Id > bank index... but my problem is Sound is not changing. is there a way to do it via scripting like sampler?
-
inline function onWavetableSelectors(component, value) { pos = theWavetableSelectors.indexOf(component); TheWavetables[pos].setAttribute(TheWavetables[pos].LoadedBankIndex,value); }
-
@Lindon Okay...Thank you i will try it. (y)
-
@Lindon Sorry, but didn't understand.. can you please correct it?
HiseSnippet 1024.3oc6W0saiSDEdbZlUjrrncQ6E6kVq3hVwRUx9GTgPjMooKQzzFUGJ6cqlZeRxPsmwLdbaiPHwqDuI7nva.blwNI1znPZ.J6Equvxm+l4aNm47iGnj9PRhTQbpMbZLPb9Pp2TgdRmILtfzaehyGQ6yRzfxMiU6owrjDHf33r0qMLbpUkXe98utMKjI7gErHjSkbe3PdDWuf6fVeKOL7.V.LjGUP6m2pmuTzQFJSQ7rEsAIl4eNaLbDynVEJw4NcC3ZoxSyzPBpSaYvTuIxKEY5eJOgeVHXHZR7vEJiMoyDdXvfYm0DBwgNXwIeqrS9Co84A747W3AtuUf6BKJ5CbprJH07F.ImBPpZFjd.0yWwi0KjXvyco8DX.YDCc0EgRltjJCcncjnFB8tQrygCTHwbK19kMZ7DW70NeYczamncufob+d1Eflg3zF7gDdBnZ59UtVxcGCZKbsTa+34J6VT6GesEbnQmNQmgqyL7XVIYTrTfDYKzLkLliOiRE9ZtT3JEGI0vwhs2o9OUuV8ett6eUznQKUlYqTxvPPsTwlqbpUY31hzny.0SviQXJLWQLlTNPem0KP6mcxKnnTzSv0GGC4zGHCCLAPy2W+ZAI20YtfjiPTUs85w8yudftzyjskWQ3Al70htUh8TTLIk7c81moYyVObowsKFTZt4T4rObAlwlc8qFceH4bsL1padXCO4q+te07ct0OzZ5bhe4zVQLTF0wPy0PDt06P8XWNHMLApmvtbnTpmTeBaZp6q2au5CY3lnXtnJ0wJHWKSAyQkAogLc4DWSEpbAXPtT1hIiPjv0SK5btAYyMVY175BwGPGv09SVNFqrDLhws+KvXdMv6Q6NZD3qW.vpzCdylVva8296NyEUtPjEAOht7BNqnUzustshhW6VQeyOhwnRq2gRzrf1Lw48DAvUEE4ExC.0.r6kMUqxuVg9hlOcW7YzmZduWG70yN98zum9cTZ7Re4z7pqW6txEbKn+s4LXUWuRR+MMde2uISoQFqMCid7n3Pnq3BHD6qaw3GiMxGwRC0y3Vt3YeoPFOQJ39EKhcBnU7wiAUQruzCzqzZrT2BNOr0IPHvRJTt7SZcHW.LU4hn2HewMe74kFudDMCttlJ9t+Sha2pWyV4fBasVCJ7uNd27gFtUcc2iZmG0MqM8+Sg4SjoZtXbeFlTYl78nzHOb3Be.woP.gIlogqXl2Oitgg1NKAHBrD+A9jKrog1IWXyYBuU1iHluR9V+r+Dwj28AVN34VX+K8Zz9FZ2ly9yCJswtMHQX06256atZ7Yn+Y417zMvlmsA177MvlWrA17xMvlOeCr4KVoMlFmuJUKixJafLFz0NVpiSWgIwvlJP9SZ+yrxA
-
In your cmb callback
inline function onWaveTableCmbControl(component, value) { WavetableSynthesiser1.setAttribute(WavetableSynthesiser1.LoadedBankIndex, value); }; Content.getComponent("WaveTableCmb").setControlCallback(onWaveTableCmbControl);
-
@ulrik Thank you so much.. it is working (y)
-
-
@Adam_G said in Select Wavetables with Combo Box?:
@ulrik @Lindon @DabDab hey guys, is there a way to populate the combobox with the LoadedBankIndex like we do with getSampleMapList? Im trying to create this array but getting function not found:
wtMaps = WavetableSynthesiser1.LoadedBankIndex();
The code you're referring to is the WavetableSynths attribute, "index number of the loadedBank", not the the name of the loaded bank
To get the list of names use this
YourComboBox.set("items", Engine.getWavetableList().join("\n"));
-
@ulrik ahhhhh thank you Ulrik. you sir are the man :beaming_face_with_smiling_eyes: