Can I manually trigger a Callback function?
-
@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...
-
@Lindon said in Can I manually trigger a Callback function?:
just use the radio buttons..hang on I will do it for you...
Radio buttons have problems, rolling your own as @Morphoice is doing is usually better, at least you have more control over them. I never use the built in radio group.
-
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon said in Can I manually trigger a Callback function?:
just use the radio buttons..hang on I will do it for you...
Radio buttons have problems, rolling your own as @Morphoice is doing is usually better, at least you have more control over them. I never use the built in radio group.
wow I cant think of a time when Ive disagreed with you more!!!
-
@Morphoice said in Can I manually trigger a Callback function?:
@d-healey @Lindon I remember David recommending not to use radio buttons, hence my attempt...
here:
HiseSnippet 14858.3oc68sEabbkcfMkbYqt0CK6wSxjW.0z6jflina0uIo0XKJ9RRwjRzjzxSBiF6hcWc2kU0U0SUUSJNZTVMuBlIYyFmMerP+j0eDrX+JHYQ.xLX+vBKvhEYgQvrHX+b2nY+M4C8yBr+s649np5VUW2peQ1r51EsEYU268btmW2GmSceH+PKYsZx09PSMk1sksRjXlytkgdUYSSciDyjb2iZKmXlKHryQZVMWoojhVhauZhYNuvl5FsatpQmVIV9n1Rllx0RLyLm8lnBLSxWJA9mWb8kkTkzpJ6lThD2SWop7FJsTrbScqkdWEU00kpIuqRKlRWZoaWUWaEcU8N.wbVgbIZKU8ARMjuiDpXmQHwLu7Z0TrzM1wRxR1LwLuzx50NZml5GpQJ+8TLU1WUF8R9D6.Hhj755p0PTLJ0DqzTQslCSaBhf2fQDbVhH3MD1TolhS5thhKiyPzEBV4wLmwK4cVOjWdVxKGC4E.IcFFR5kHjzqIrSUCk1Vt4PTM2VyR1ntDH1YIERYSbluzWV3pWUbYPN1vPuiVMw+EqudN7OygdrP97UJTj7374WsTYw2Tb4NVV5ZnjVobkEVYEbtKrdkJqTA+3xUVrvJERkZEcnl0rx1R5Axqa.u3PIYxWnDf+JkyM60Rc0qtlVCEM4rp5R0VGJ1MLyj9Qas8c+sWakc+v0u6Fqt11OFkt4Uu6COpgrVVC4FcTkLxZYUO8bhoIoldnP09fl2KdDWFRBgLrMd1Zx0kMVQRUcePDYlwxni7rWSLUJEsppcpImI8AxFlJ5ZUaJW8AY+XSDjoRcfjgnBzP5ghIgedawbWKEPzhs.SiMTLsDwIRo0pFxf0vlzrx.vCF4PYZaHaJacKIsZpxFh9K+6aJarEaIbADU46WMf5XYCPrTUxDzBYdjRs2RLsIp0twxUA1Wxng4aItW5p5sZqqA5szyk9.I0Nxou+bhVRnLSm9wHtiVK5pcZIuipBf.SD4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mg3bz44iheUYXp43m+51xZVOAbSEEIpx2mvGT2T8ujF.1vmcRFrIp+98wYQrd6Y+93xROvKRETEbsfVdBWPvRWW0RosmklvW9LBrqiD+exK7Pd2c+OFEYYOq3jMjftxxy8.PYWnp1UoMZ7dnYgnh4VfmMn81BLWMIvULPTYE5b.nsInjru5oigA73tj7xPbqLiSQeaXBWzIQ.ISHTOKXquJpDnXc9UcnKTSAD.IYoTKiNxWyY9D3OB0JniiUrHFs2f.exfreL08RQm4Q.U1lfYlxNxf.ql4NJZUkoPtMBKfIv6fLKyEX0REPn0PMg1Mcn84Pr10H0I7+DmZwLZPvG.3TgDyokhHVSvL8FfptVB2CLGM4GBs+jQmmT++ADNRf6M
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon said in Can I manually trigger a Callback function?:
just use the radio buttons..hang on I will do it for you...
Radio buttons have problems, rolling your own as @Morphoice is doing is usually better, at least you have more control over them. I never use the built in radio group.
what problems are these?
-
@Lindon thanks. trying to figure out what you did there. I can see the loading function changed, makes sense.and the buttons simply need to be assigned a radio group, correct?
-
@Morphoice correct - you probably want to do something on "empty" - like load an empty sample map, but for this I just jumped out of the callback so the sampler would keep its currently loaded sample
-
@Lindon said in Can I manually trigger a Callback function?:
what problems are these?
It's been a while since I used it, the only I remember is if you want the option to have no buttons pressed then the radio group won't work. I thought there was some issue with restoring their state from presets too but I might be misremembering.
Since I'm usually writing callbacks for them anyway though it's not really any extra work to add a couple more lines to get radio group behaviour.
-
@Lindon @d-healey gotcha! seems to work like a charm, and it suddenly is successfully wirtten and recalled to/from a preset. that might - if I'm not overlooking anything - solve all my problems at once.
only thing I'd love to have is actually hearing the selected sample on selection but if I use the sample loading callback it would trigger upon preset restore aswell
-
@d-healey said in Can I manually trigger a Callback function?:
@Lindon said in Can I manually trigger a Callback function?:
what problems are these?
It's been a while since I used it, the only I remember is if you want the option to have no buttons pressed then the radio group won't work. I thought there was some issue with restoring their state from presets too but I might be misremembering.
Correct about the no-buttons-pressed option, never had an issue with them restoring state in 8 years of using them....slightly frightened now...
Since I'm usually writing callbacks for them anyway though it's not really any extra work to add a couple more lines to get radio group behaviour.
Your call....
-
@Lindon said in Can I manually trigger a Callback function?:
slightly frightened now...
It's more likely me misremembering some issue I ran into years ago.
-
@Lindon said in Can I manually trigger a Callback function?:
you probably want to do something on "empty"
they'll all be occupado in the end, I just wanted to focus on the functionality before I create all the sample maps and proceed to sample all my hardware drum machines
-
@Morphoice said in Can I manually trigger a Callback function?:
@Lindon @d-healey gotcha! seems to work like a charm, and it suddenly is successfully wirtten and recalled to/from a preset. that might - if I'm not overlooking anything - solve all my problems at once.
only thing I'd love to have is actually hearing the selected sample on selection but if I use the sample loading callback it would trigger upon preset restore aswell
I dont really understand what you are saying in this last bit - you select a button and it loads that map - isnt that what you want?
-
@Lindon said in Can I manually trigger a Callback function?:
you select a button and it loads that map - isnt that what you want?
yes. I was just thinking an audible preview of the sample after it's loaded might add some comfort for the user if they switch through the available samples
-
@Lindon I tried firing a note after the sample is loaded successfully but the problem was this would not work when the button is clicked but fire on recalling a preset, and there we wouldn't need it,