View Single Post
Old 11-13-2017, 07:59 PM   #15
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 11,466
Default

Quote:
Originally Posted by Tonegrown View Post
I've read this multiple times and am having trouble understanding what the 0 achieves. Does it just mean that with the 0 designation that reaper doesn't need to be configured for a specific port ahead of time for the direction of the 0 port?

Very excited for more OSC development as I use reaper live with tablet control!
Using 0 for the send port means that instead of sending to a specific host/port, it will send to whatever host/port was sending to REAPER (on the port specified by the receive section).

Using 0 for the receive port means that instead of listening on a particular port, just listen for replies from the host being sent-TO (that host/port specified in the send section).

You should only use 0 for one of those ports, if you did both then you'd have no way of communicating with anything.

Perhaps we should update the UI for this. Here are the 6 use cases and their current equivalents:
  • Mode: disabled
    current equivalent: unchecked send, unchecked receive boxes
  • Mode: separate send/receive
    configurable options: receive port, send host/port
    current equivalent: checked send, host/port specified, checked receive, receive port specified
  • Mode: send to remote
    configurable options: send host/port
    current equivalent: checked send, host/port specified, checked receive, receive port=0
  • Mode: send to remote (ignore responses)
    configurable options: send host/port
    current equivalent: checked send, host/port specified, unchecked receive
  • Mode: receive from remote
    configurable options: receive port
    current equivalent: checked send, send port=0, checked receive, receive port specified
  • Mode: receive-only from remote (do not send)
    configurable options: receive port
    current equivalent: unchecked send, checked receive, receive port specified

Last edited by Justin; 11-13-2017 at 08:10 PM.
Justin is offline   Reply With Quote