Jump to content


Photo

running two instances of renoise with duplex touchosc @ linux

duplex touchosc linux

  • Please log in to reply
1 reply to this topic

#1 29a

29a

    Member

  • Normal Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:/poland/lodz
  • Interests:Music (metal, speedcore), Audio, Programming

Posted 29 March 2018 - 08:53

A little trick i found out yesterday.

 

So i was preparing touchosc template for liveplaying with two renoise instances, once i was finished i found out big problem. OSC is server is running on dedicated port,

Touchosc sends request to specific ip:port so only one renoise instance could recieve input at the same time, as  only one cuold occupy specific port. Well - not anymore:

socat - udp4-listen:8000,fork | tee >(socat - udp-sendto:127.0.0.1:8001) >(socat - udp-sendto:127.0.0.1:8002)

What it does it opens udp on 8000 and than send all request to ports 8001 (1st instance of renoise) and 8002 (2nd) on the same machine.

On touchosc you put 8000 as outgoing port and both renoise instance can have the same outgoing port pointing at touchosc device.

 

I guess same could be possible on macosx, i dont touch windows so i cannot help wink.png.


Edited by danoise, 30 March 2018 - 11:39.


#2 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6880 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 30 March 2018 - 11:40

Very cool trick -

 

I took the liberty of adding a few tags to the post to make it more discoverable. Hope you don't mind :-)


Tracking with Stuff. API wishlist | Soundcloud






Also tagged with one or more of these keywords: duplex, touchosc, linux