Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSC not working #44

Open
daysleeperx opened this issue Aug 24, 2022 · 3 comments
Open

OSC not working #44

daysleeperx opened this issue Aug 24, 2022 · 3 comments

Comments

@daysleeperx
Copy link

Hi,

Sonic Pi version 3.3.1

The simple OSC receiver code that works flawlessly in the Sonic Pi GUI does not work while using the tool:

live_loop :receive_sequence do
  use_real_time
  seq = sync "/osc*/gen/sequence"
  s = sync "/osc*/gen/steps"
  set :sequence, seq.zip(s)
end

The port used by the client for sending messages is 4560 and as per the startup logs, the same port is used by the cli tool:

OSC cues port: 4560
  - OK

If I understood correctly, then this issue is common as per:
https://in-thread.sonic-pi.net/t/sonic-pi-headless-doesnt-receive-osc-cues/2171
emlyn/sonic-pi-tool#19

Is there a current workaround for this? Since the issues above are related to older SP versions.

@dylannorthrup
Copy link

dylannorthrup commented Sep 17, 2022

Since this commit in July 2021, programs would need to look into ~/.sonic-pi/log/daemon.log for lines similar to the following:

[2022-09-17 10:27:08] log: UTF-8, UTF-8, Ports: {:server_port=>35516, :gui_port=>35517, :scsynth_port=>35518, :scsynth_send_port=>35518, :osc_cues_port=>4560, :tau_port=>35519, :listen_to_tau_port=>35523}

@iamjonny
Copy link

Hi, is it just me or is this still pertinent? Issue is marked open, am also unable to connect the cli tool, and suspect this is relatively simple to fix... Assume most others have the solution, otherwise there'd be more noise about this!

Sonic Pi v4+ , how to config and connect cli

Thanks!

@lpil
Copy link
Owner

lpil commented Oct 15, 2023

Yup, no one has implemented the new Sonic Pi protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants