SPARTA icon indicating copy to clipboard operation
SPARTA copied to clipboard

[sparta_binauraliser] OSC control from multiple head trackers is not working with multiple plug-in instances

Open DAG-BF opened this issue 1 year ago • 2 comments

Test condition

  • DAW: Reaper
  • OS: Win10, MacOS 12.7
  • head tracker: Head tracker 1 from Supperware

Issue When multiple plugin instances are active only the deafult configuration receives the OSC messages from the head tracker. The other instances do not receive any OSC control.

Note

  • The plug-in (MacOS) version reports the message: "OSC failed to connect on port: already taken"
  • Same DAW and head tracker (in multiple istances) works fine with different party plug-ins

DAG-BF avatar Jun 20 '24 09:06 DAG-BF

Unfortunately I think this may be a limitation of OSC. However if anyone has a solution to this, please let me know :)

jananifernandez avatar Jun 02 '25 19:06 jananifernandez

Hi. From my understanding this behaviour is not related with OSC, but rather with a software design of the plugins that simply does NOT take into account the use case where more than one plugin instance (i.e. binauraliser and binauralizer_nf) is running in parallel.

A quick inspection of the source code (made few months ago) shown that the port number for OSC messaged was not considered as an instance parameter of the plugin (and therefore save/restored as such ), but rather a static, hardwired value (the binauralizer was trying to open the default port for listening OSC messages even before the head tracking option was enabled).

DAG-BF avatar Jun 03 '25 08:06 DAG-BF