I have a Midi Captain STD midi controller with a custom firmware for the Gig Performer, which allows you to receive midi feedback for the LED and display. I decided to integrate the mobius 3 buld 45 into my setup, as it allows you to customize the rec/play/overdub stop and reset buttons using scripts. My idea is to capture feedback from the mobius that would inform the gig performer about the status of the processes, whether recording is in progress or the loop has stopped, and the gig performer would control the LED accordingly. This would be very useful at live performances, when you can't look at the computer screen.
I was able to create my own RecPlayOver script to switch the sequence of actions for a single button. Now I've been trying to create an Event Script, but it doesn't seem to be working, and the MIDI messages aren't displaying in the MIDI monitor.
I've tried using event scripts (ResetLED.msl, SmartRecLED.msl, StopLED.msl) that listen for events like RecordEnd, Reset, ModeStart, etc., and send MIDI CC messages via MidiOut(). However, the scripts either don't trigger or the necessary functions (like GetTrack, GetLoop, GetLoopFrames, Trace) are not recognized – I get "unresolved symbol" errors during compilation.
I understand from your response that a periodic script polling the loop state might be a more reliable approach. Could you please provide guidance on the following:
What is the correct syntax for a periodic script in Mobius 3 (e.g., using Schedule or OnPoll)? A minimal working example would be very helpful.
Which functions can I use to query:
Whether a loop has any recorded data (i.e., loop not empty)?
The current mode of a loop (Record, Play, Overdub, Stop)?
Possibly the track and loop index if I need to handle multiple tracks/loops?
Are there any known limitations or differences in script capabilities between Mobius 3 plugin and standalone versions that I should be aware of?
My MidiOut("cc", 1, 17, 127) command works in a simple test script (it sends MIDI when the script is first loaded), so the MIDI output itself seems functional. The issue is capturing the state changes.
Thank you for your time and for developing such a powerful looper. Any help would be greatly appreciated!