Can I manually trigger a Callback function?
-
@Lindon Panel's value rather than data, no?
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon Panel's value rather than data, no?
well either really...
-
@Lindon Is the data saved with the preset?
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon Is the data saved with the preset?
err, pretty sure it is, but now you make me doubt....
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon Is the data saved with the preset?
I'm pretty sure it's not saved with the preset
-
@Lindon this is something I have no clue about yet, but I'll dive into it today.
the docs say "Control Data : persistent data that will be stored and recalled when the script is recompiled (or the preset is loaded)."
so basically I need to store my values in the panel data, and upon loading the preset trigger the corresponding buttons (which in turn load the samples)
but the question remains how do I manually trigger a button callback and make it execute its function? I can't just call onButtonPress(); can I? -
@Morphoice button.changed();
-
@Morphoice but why are you doing all this? It seems a bit of overkill.... whats your actual requirement?
-
@Lindon I have a panel of switchable eproms on a simple drum machine and I want to store the selections in a preset. they're all buttons and work nicely and I don't want to change them into something else to have two days of tedious work all over again
so I'm looking for a simple way to store the settings and upon loading a preset set them all appropriately.
-
@Morphoice said in Can I manually trigger a Callback function?:
so I'm looking for a simple way to store the settings and upon loading a preset set them all appropriately.
Why not just set them to saveInPreset then?
-
@d-healey because then they are triggered multiple times upon loading the plugin
same problem we had with the drum pads triggering.
i have hidden panels underneath the drum pads which contain the sample map name, those are saveInPreset enabled. All I need is a way enable the appropriate button according to their data -
@Morphoice said in Can I manually trigger a Callback function?:
because then they are triggered multiple times upon loading the plugin
But all of them will be off except the one that is on, so only one sample map will be loaded, is that right?
-
@d-healey said in Can I manually trigger a Callback function?:
But all of them will be off except the one that is on, so only one sample map will be loaded, is that right?
correct, yes
-
@Morphoice In that case it doesn't matter that each button's callback is triggered when the preset is restored.
-
@d-healey alright. I had drums triggered on an attempt, but that was due to a samplemap load callback which I removed
I have enabled the buttons to saveinPreset and the values do save in the preset although they are not properly restored when I load a preset.... also I have trouble setting the initial value when no preset is loadedhave a look
HiseSnippet 14949.3oc68sEbbbkcXCH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6iajc89fFQIPhvlSjxS2UkhOkLn02MsTpoAxfUAvyrCu6sEPA+mCsSbgeir4mD8o+4KCsH4yA+49SSGCVjCw4n94il+pxfq43m+pt7Z1HA7SEMSTkuOgNngoFbIM.jQ.8jLXUzf18wYQzd6qcebYo60+Tg0.WMrkmvEjbLM0czZyszD9RmQhccjD7SdgGx6t69AnYVlaEmrlBXJKuvy9gsglZas1nw6gtExZ1a.Q1nYz.4qlBDJFvpb5oO.z9DTTNP6zwxBdbaRdYHgUlwqnWCb3h5DAjLAQYcVQ92BUBzbc9a4gWntBH.RxhoNVcTupm+D3OB0RniiRLKFskVfXxfreBM7RYO+HfFacPMSaKUfgUydKMippTH2DUKfJvagTKyEZyRYPnUzLA2s8v8YPj1UIsI7+jfZwDZXvGB3TlDyAEgLVRv3dCfUWMg+YEhg5if9epniRm++.qAh+D
-
@Morphoice said in Can I manually trigger a Callback function?:
isnt your problem (for example) this:
inline function onSnarePromControl(control, value) { if (snareProms.contains(control)) { for(e in snareProms) e.setValue( e == control); Snare.asSampler().loadSampleMap(snareMaps[snareProms.indexOf(control)]); // Snare.setLoadingCallback(Synth.playNote(38,127)); } } for (e in snareProms) { e.setControlCallback(onSnarePromControl); }
so these buttons are attempting to load their samples every time when this:
inline function onSnarePromControl(control, value) { if(!value) break; if (snareProms.contains(control)) { for(e in snareProms) e.setValue( e == control); Snare.asSampler().loadSampleMap(snareMaps[snareProms.indexOf(control)]); // Snare.setLoadingCallback(Synth.playNote(38,127)); } } for (e in snareProms) { e.setControlCallback(onSnarePromControl); }
fixes it so they only load their sample if they are ON....
-
@Lindon plus....
It seems you have some redundant buttons you had a bassProm14 for which there is no sample...
-
@Lindon said in Can I manually trigger a Callback function?:
e.setValue( e == control);
i was iterating them all to "disable" the previous ones, whenever another map is selected
so that only one button could be pressed, only the selected one's value becomes true.if i put the break then you can actually turn off the current tbutton with no other one selected having no sample loaded at all which makes no sense I suppose
-
@Lindon I havent made all maps for all the buttons yet, the bassProm14 probably happened by mistake, it shouldnt be there at all
-
@Morphoice said in Can I manually trigger a Callback function?:
@Lindon said in Can I manually trigger a Callback function?:
e.setValue( e == control);
i was iterating them all to "disable" the previous ones, whenever another map is selected
so that only one button could be pressed, only the selected one's value becomes true.if i put the break then you can actually turn off the current tbutton with no other one selected having no sample loaded at all which makes no sense I suppose
thid way madness lies - just use the radio buttons..hang on I will do it for you...