# Osc syntax under linux

**URL:** <https://in-thread.sonic-pi.net/t/osc-syntax-under-linux/2439>\
**Category:** Support, Help & Resources\
**Created:** [June 1, 2019, 4:51pm UTC](https://in-thread.sonic-pi.net/t/osc-syntax-under-linux/2439 "2019-06-01T16:51:40Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [June 1, 2019, 4:51pm UTC](https://in-thread.sonic-pi.net/t/osc-syntax-under-linux/2439/1 "2019-06-01T16:51:40Z")

</div>

Hi,

I try to play with Orca and Sonic Pi, the latest spi 3.2dev  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/1X/cf72b1344a9ba181608a8554f62e9bbc66938954.png)

```ruby
live_loop :foo1 do
  use_real_time
  a = sync "/osc:127.0.0.1:38712/a"
  puts a
end

live_loop :foo2 do
  use_real_time
  b = sync "/osc/b"
  puts b
end

```

The foo2 does not work.  
The less funniest thing is that the port is always changing each time Orca is launched.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/1X/1998a30aacc427ee48a545b0b7b47e1f085239a2.png)

A solution ?  
Cheers

---

<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:** [June 1, 2019, 6:52pm UTC](https://in-thread.sonic-pi.net/t/osc-syntax-under-linux/2439/2 "2019-06-01T18:52:03Z")

</div>

I believe this issue will be resolved in the next release (see [here](https://github.com/samaaron/sonic-pi/pull/1981)), but in the meantime you can use a ‘\*’ in the OSC path, such as `a = sync "/osc*/a"` so that it matches any ip/port.

---

<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:** [June 1, 2019, 7:12pm UTC](https://in-thread.sonic-pi.net/t/osc-syntax-under-linux/2439/3 "2019-06-01T19:12:09Z")

</div>

@emlyn thanks a lot !

```ruby
use_bpm 60

live_loop :foo2 do
  use_real_time
  b = sync "/osc*/b"
  puts b
end

```

Cheers
