Topic: When to send the switch inventory to Organteq on startup?

After midifying an old analog organ and connecting it to Organteq, I hit a minor challenge. When should my midi controller send the switch and potentiometer inventory to Organteq at startup? I have bistable stop switches, and obviously I need to synchronize Organteq with the current settings on startup, but when? I was hoping for some kind of ping and set my firmware up accordingly. I did not investigate, but apparantly the midi organ does not receive any midi signals from Organteq. I now wait for 20 seconds after an established USB connection to send the inventory. Until then Organteq has safely come up.

Is there another solution or best practice? Thanks

Peter

Re: When to send the switch inventory to Organteq on startup?

pfroehlich wrote:

After midifying an old analog organ and connecting it to Organteq, I hit a minor challenge. When should my midi controller send the switch and potentiometer inventory to Organteq at startup? I have bistable stop switches, and obviously I need to synchronize Organteq with the current settings on startup, but when? I was hoping for some kind of ping and set my firmware up accordingly. I did not investigate, but apparantly the midi organ does not receive any midi signals from Organteq. I now wait for 20 seconds after an established USB connection to send the inventory. Until then Organteq has safely come up.

Is there another solution or best practice? Thanks

Peter

Unfortunately, Organteq does not (yet) have a MIDI out port, so synchronizing an external hardware controller exclusively via MIDI signals is not possible.
A possible solution is the JSON RPC interface, through which Organteq can both send and receive data.

I have recently been using the Elgato "Stream Deck XL"  as a hardware controller for Organteq.
https://www.elgato.com/de/de/p/stream-deck-xl
To do this, I programmed a fairly complex Stream Deck profile that uses both MIDI and the JSON RPC interface.
I will present this solution here soon, maybe it will also be interesting for other Organteq users.

Re: When to send the switch inventory to Organteq on startup?

Pat wrote:

I have recently been using the Elgato "Stream Deck XL"  as a hardware controller for Organteq.
https://www.elgato.com/de/de/p/stream-deck-xl
To do this, I programmed a fairly complex Stream Deck profile that uses both MIDI and the JSON RPC interface.
I will present this solution here soon, maybe it will also be interesting for other Organteq users.

Please do, Pat!  I could really use exactly that functionality.  In fact, I wonder if I could rig the JSON RPC server to create live commands that are routed back into a virtual MIDI port thus creating the missing MIDI out port...

Spotify: https://open.spotify.com/artist/2xHiPcCsm29R12HX4eXd4J
Pianoteq Studio & Organteq
Casio GP300 & Custom organ console

Re: When to send the switch inventory to Organteq on startup?

tmyoung wrote:

I wonder if I could rig the JSON RPC server to create live commands that are routed back into a virtual MIDI port thus creating the missing MIDI out port...

Information about the state of the Organteq controls must be actively requested when using JSON RPC.
I have a dedicated "Sync" button on my Strem Deck XL for this purpose.
For example, after switching banks/combinations, synchronization is lost; I can then restore it using this Sync button.

Re: When to send the switch inventory to Organteq on startup?

Pat wrote:
tmyoung wrote:

I wonder if I could rig the JSON RPC server to create live commands that are routed back into a virtual MIDI port thus creating the missing MIDI out port...

Information about the state of the Organteq controls must be actively requested when using JSON RPC.
I have a dedicated "Sync" button on my Strem Deck XL for this purpose.
For example, after switching banks/combinations, synchronization is lost; I can then restore it using this Sync button.

That makes sense.  You could monitor for changes at a very high rate (say every 200ms), but I'd guess than anything more frequent than once a second would start creating i/o buffering issues in both directions.  It would probably be fine if you wanted only one item state, but if you're having to poll the entire organ state at high frequency that would be impractical at best...

Spotify: https://open.spotify.com/artist/2xHiPcCsm29R12HX4eXd4J
Pianoteq Studio & Organteq
Casio GP300 & Custom organ console