element icon indicating copy to clipboard operation
element copied to clipboard

OSC Possibly Not Received

Open mfisher31 opened this issue 1 year ago • 3 comments

... One more question please, I need to send some OSC commands from TouchOSC but it doesn’t detect the Element server (enabled of course), but no problem if I try with Protokol (from the same editor than TouchOSC to test the commands). Any reason for this?I need to write commands to change the sessions, please confirm if the correct command for this is «/element/command/graphOpen/SessionName.elsThanksLe 21 oct. 2024 à 16:37, Michael Fisher @.***> a écrit : Oh the reason I say juce bug is because the CPU usage level comes directly from JUCE's audio devices library... not code written by me.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Originally posted by @Optimod8100 in https://github.com/kushview/element/issues/835#issuecomment-2428484457

mfisher31 avatar Oct 27 '24 18:10 mfisher31

First of all sending OSC to Element itself (with server enabled) should be formatted not as suggested in El manual. Instead of (for ex.) /element/command/undo you need /element/command undo where "undo" is a string type. In TouchOSC this "undo" need to be written in Constant field. However ANY COMMAND YOU SEND forces El to QUIT

Is any possibility to solve this?

Tested in El free version 0.46.6, Mac OS Catalina

mimicras avatar Jan 18 '25 17:01 mimicras

Probably won't fix it in 0.46 being so close to 1.0. I'll have a look in the latest dev code though. I don't think many people have been using OSC so there probably are bugs about. Could even rewrite major parts of the little that is there.

mfisher31 avatar Jan 19 '25 02:01 mfisher31

Thank you. To me OSC is a future of any media art communication and the ability to control El via OSC looks like magic :) BTW. I tested ability to change Graphs via OSC->MIDI. It is not possible directly but I add Element (plugin) inside Element app and send MIDI Program Change to it from OSC Receive object. It does not work either. Sending from MIDI object change Graphs inside Element but the same command received from OSC not. Surprising…

mimicras avatar Jan 19 '25 09:01 mimicras