Hi all, I just picked this up. I would like a simple demo of using OSC to play a note sent via OSC client. I’ve seen the
OSC section of the tutorial, but I am not able to get anything to play. How can I debug the OSC client/server connection? I’m seeing nothing in the logs regarding an incoming message, even with
log cues option turned on. I’ve tried the following:
# Server code to set a synth note? live_loop :foo do use_real_time a, b, c = sync "/osc*/trigger/prophet" synth :prophet, note: a, cutoff: b, sustain: c end
# Server code to play a synth note? use_synth :prophet live_loop :foo do use_real_time a = sync "/osc*/trigger/prophet" play a end
# Default python client code from pythonosc import osc_message_builder from pythonosc import udp_client sender = udp_client.SimpleUDPClient('127.0.0.1', 4560) # Edit params to  if just using `play` function on server sender.send_message('/trigger/prophet', [70, 100, 8])
;; Default clojure/overtone client code (use 'overtone.core) (def c (osc-client "127.0.0.1" 4560)) ;; Edit params to just 70 if using `play` function on server (osc-send c "/trigger/prophet" 70 100 8)
Edit: Environment Info : Sonic Pi v3.2.2 / KDE Plasma 5 / Manjaro Linux 20.1 / Linux 5.8.8-arch1-1-surface / Microsoft Surface Book 2. The kernel comes from the linux-surface project and has stable support for all common types of networking.