jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
695 stars 88 forks source link

[Bug] Issue sending OSC with multiple arguments #849

Closed bootsie123 closed 1 month ago

bootsie123 commented 1 month ago

Hi! I seem to be having an issue when trying to send OSC commands with multiple arguments. More specifically, when using the integer value type, it seems to convert the given integer into its ASCII representation.

Any ideas? Thanks!


Debug Info

Open Stage Control Version: v1.26.2 Operating System: Windows 10 Open Stage Control Options: image

Custom Module Snip-it:

send(
  ip,
  oscPort,
  "/14." + timecode.selectedSlot,
  { type: "s", value: "play" },
  { type: "i", value: 1 }
);

Server Logs:

(DEBUG, OSC) Out:  {
  address: '/14.1',
  args: [ { type: 's', value: 'play' }, { type: 'i', value: 1 } ]
} To: 127.0.0.1:9003

Recieved OSC Input (grandMA3 onPC):

OSCReceiver : OSCInput: /14.1   ,si play

When i is changed to 100:

OSCReceiver : OSCInput: /14.1   ,si play   d
jean-emmanuel commented 1 month ago

Looks like a bug on the receiving end, or maybe it's simply not printing integers properly. I confirm open stage control sends what it's supposed to send here.

bootsie123 commented 1 month ago

Gotcha. Thanks for looking. I've used tools such as TouchOSC with MA3 and that works fine. I'll do some more investigating and troubleshooting on my end.

My guess is that it has something to do with MA3 and the underlying osc module. I'll reopen the issue should it end up being a problem with Open Stage Control