Changed behaviour in MIDIPlayer?
-
@Christoph-Hart , this code worked like a charm to setPlaybackPosition(value) while the MIDIPlayer was playing, but with this latest "script node" this doesn't work anymore, the player just jumps back to the start and plays from there.
Is it supposed behaviour or is something broken?
If it is supposed, how can I control the playback position while the player is running?inline function onDemoDisplayKnbControl(component, value) { if(value && MIDIPlay.getPlaybackPosition() > 0) { MIDIPlay.setPlaybackPosition(value); } } Content.getComponent("DemoDisplayKnb").setControlCallback(onDemoDisplayKnbControl);
Another question, is it possible to set the MIDIPlayer on "pause"?
-
Ooopsies, that might have slipped in when I rewrote the MIDI Player logic to support changing the loop length on the fly. I'll take a look at it.
-
-
@Christoph-Hart It's working now with the latest script node code :)
Thank you!