# Sanity check OSC RPI

**URL:** <https://in-thread.sonic-pi.net/t/sanity-check-osc-rpi/3659>\
**Category:** General\
**Created:** [April 17, 2020, 8:25pm UTC](https://in-thread.sonic-pi.net/t/sanity-check-osc-rpi/3659 "2020-04-17T20:25:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewildequinten](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dewildequinten](https://in-thread.sonic-pi.net/u/dewildequinten)\
**Post date:** [April 17, 2020, 8:25pm UTC](https://in-thread.sonic-pi.net/t/sanity-check-osc-rpi/3659/1 "2020-04-17T20:25:57Z")

</div>

Just to be sure.

Can I use my sensors with raspberrypi and osc them to sonic pi on the same rpi?

Because I found a lot of examples as the one below. But nothing is happening.  
And I have expierence with esp2866 osc to sonic pi on my desktop.

```
from pythonosc import osc_message_builder
from pythonosc import udp_client

sender = udp_client.SimpleUDPClient('127.0.0.1', 4560)
sender.send_message('/trigger/prophet', [70, 100, 8])

```

sonic pi

```
# Welcome to Sonic Pi v3.1

live_loop :foo do
  use_real_time
  a, b, c = sync "/osc*/trigger/prophet"
  synth :prophet, note: a, cutoff: b, sustain: c
end

```

Kind regards!!

---

<div class="post-metadata">

**Author:** ![emlyn](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/emlyn/32/1460_2.png) [@emlyn](https://in-thread.sonic-pi.net/u/emlyn)\
**Post date:** [April 17, 2020, 9:22pm UTC](https://in-thread.sonic-pi.net/t/sanity-check-osc-rpi/3659/2 "2020-04-17T21:22:11Z")

</div>

Are you using the version of Sonic Pi that came with Raspbian? I believe that version is broken, and OSC/MIDI don’t work.  
You might want to try the latest version built by @robin.newman which you can get [here](http://in-thread.sonic-pi.net/t/v3-2-2-available-to-download/3598/5).
