# OSC cues not being received

**URL:** <https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372>\
**Category:** Support, Help & Resources\
**Created:** [January 7, 2022, 8:06am UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372 "2022-01-07T08:06:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LowViz](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@LowViz](https://in-thread.sonic-pi.net/u/LowViz)\
**Post date:** [January 7, 2022, 8:06am UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372/1 "2022-01-07T08:06:46Z")

</div>

I am trying to send cues from a Python script on the same machine but Sonic Pi is not receiving anything at all.  
I have tried the example code in ‘Help’ as well as my own code. Allow incoming OSC is enabled and port number etc is correct.  
I’m completely out of ideas and hoping someone can help me to get this working.  
I’m using Sonic Pi v3.3.1 from the website and Raspberry Pi 3 with the latest version of Raspberry Pi OS. Clean install with only mouse/keyboard and some GPIO pins being used, if it makes a difference.

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [January 7, 2022, 10:12am UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372/2 "2022-01-07T10:12:59Z")

</div>

Hi,

Without any code, it’s hard to guess what can be your problem.  
So please give us your python script and your sonicpi .rb file.  
And maybe we will try to help you 🙂  
Cheers

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [January 7, 2022, 10:44am UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372/3 "2022-01-07T10:44:25Z")

</div>

Someone else reported a similar problem. You may find that a newer version of SP3.3.1 which I have built using the new OS may work for you. You can download it from

> **[sonic-pi\_3.3.1\_2\_Bullseye\_armhf.deb](https://drive.google.com/file/d/1ztfGK3LN0r4NGC4ZCjBa--U3uglCfUnu/view)**
>
> Google Drive file.

from a terminal remove the existing SP install with sudo apt purge sonic-pi, then you can install the new one by double clicking the icon of the downloaded file and entering your pi user password when prompted.  
Let me know if it works.

---

<div class="post-metadata">

**Author:** ![LowViz](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@LowViz](https://in-thread.sonic-pi.net/u/LowViz)\
**Post date:** [January 7, 2022, 12:03pm UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372/4 "2022-01-07T12:03:55Z")

</div>

Fantastic. This works perfectly. Thanks, Robin!

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [January 7, 2022, 6:49pm UTC](https://in-thread.sonic-pi.net/t/osc-cues-not-being-received/6372/5 "2022-01-07T18:49:42Z")

</div>

Great. Glad its working.
