lib/scruby/server.rb
# Sends an OSC command or +Message+ to the scsyth server.
# E.g. +server.send('/dumpOSC', 1)+
Sends an OSC command or +Message+ to the scsyth server.
Sends an OSC command or + Message + to the scsyth server .
def send_msg(message, *args)
      args = args.map { |a|
        case a
        when true then 1
        when false then 0
        else
          a
        end
      }
      case message
      when Message, Bundle
        osc_client.send(message)
      else
        osc_client.send Message.new(message, *args)
      end
      self
    end
def send_msg ( message , * args ) args = args . map { | a | case a when true then 1 when false then 0 else a end } case message when Message , Bundle osc_client . send ( message ) else osc_client . send Message . new ( message , * args ) end self end
Sends an OSC command or +Message+ to the scsyth server.
Sends an OSC command or + Message + to the scsyth server .
# Fix in ruby osc gem
message
<not_specific>
args
<not_specific>