AudioLoop Player - Sample loading in different note than originally saved
-
Hello,
So im attempting to set my preset browser to change presets on a double click(because some of my presets with the audio loop sampler have different root note on the 1st attempt at selecting, but once I click on the preset again its correct)
any who I seen this code and ive been messing with it, but no success..am I missing something?
const var presetBrowserWatcher = Engine.createBroadcaster({ "id": "presetBrowserOnClickStatus", "args": ["component", "event"] }); presetBrowserWatcher.attachToComponentMouseEvents("FloatingTile2", "All Callbacks", "Mouse Listener for PresetBrowser"); presetBrowserWatcher.addListener("RefreshFunction", "Delays the closing of the Preset Browser",function(component, event) { if(event.doubleClick) { // close the presetbrowser } });
-
I believe the preset browser will always load the preset with a single click and there is no way around this.
-
@d-healey
Well how can I get the root note function to load correctly on the 1st attempt?It doesn’t happen with every preset but it does occur often.
-
@BWSounds I noticed it was glitchy too (I think I posted a bug report about it last year) but I didn't know it corrected itself on the second go.
Is it possible to trigger the pitch detection manually? If so you could set a timer to run after the preset loads and call it then.
-
-
-
Start here
Is it possible to trigger the pitch detection manually?
If the answer is yes then we just have to trigger it.
-
-
-
@d-healey
thanks,
i did, this and its working!const var presetHandler = Engine.createUserPresetHandler(); presetHandler.setPostCallback(function() { rootnoteKNOB.changed(); });