lpil / lpil/sonic-pi-tool

OSC not working

Open
#44 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
234
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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:

```ruby
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:
```bash
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
https://github.com/emlyn/sonic-pi-tool/issues/19

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the provided Ruby OSC receiver in the Sonic Pi CLI and inspect the startup logs showing port 4560. Compare the CLI behavior with the Sonic Pi GUI and the linked discussions about headless OSC cues. Done means OSC messages are received by the CLI, or a verified current workaround is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, rust
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.