lib/scruby/server.rb
# Encodes and sends a synth graph to the scsynth server
Encodes and sends a synth graph to the scsynth server
Encodes and sends a synth graph to the scsynth server
def send_graph(graph, completion_message = nil)
      blob = Blob.new(graph.encode)
      on_completion = graph_completion_blob(completion_message)
      send_bundle Message.new("/d_recv", blob, on_completion)
    end
def send_graph ( graph , completion_message = nil ) blob = Blob . new ( graph . encode ) on_completion = graph_completion_blob ( completion_message ) send_bundle Message . new ( "/d_recv" , blob , on_completion ) end
Encodes and sends a synth graph to the scsynth server
Encodes and sends a synth graph to the scsynth server
graph
<not_specific>
completion_message
<not_specific>