@robin.newman, thanks a lot for you patience and help!
Yes, I do get the errors after sending osc messages from Sonic Pi:
Sonic Pi code:
use_osc "192.168.2.120", 9000
live_loop :test do
osc "/rec/track1_play",1
osc "/rec/track2_vol",0.5
sleep 2
osc "/rec/track1_play",0
osc "/rec/track2_vol",0
sleep 2
end
Sonic Pi-protocol:
=> Starting run 1
=> Defining fn :live_loop_test
{run: 1, time: 0.0}
├─ OSC -> 192.168.2.120, 9000, /rec/track1_play, [1]
└─ OSC -> 192.168.2.120, 9000, /rec/track2_vol, [0.5]
{run: 1, time: 2.0}
├─ OSC -> 192.168.2.120, 9000, /rec/track1_play, [0]
└─ OSC -> 192.168.2.120, 9000, /rec/track2_vol, [0]
=> Stopping all runs...
=> Stopping run 1
=> Completed run 1
=> All runs completed
=> Pausing SuperCollider Audio Server
Errors in erlang.log
:
+--------------------------------+
+ This is the Sonic Pi IO Server +
+ Powered by Erlang +
+ Listening on port 4560 +
+--------------------------------+
=ERROR REPORT==== 1-Nov-2017::20:13:45 ===
Error in process <0.33.0> with exit value:
{badarg,[{erlang,system_time,[nanosecond],[]},
{osc,now,0,[{file,"osc.erl"},{line,54}]},
{pi_server,send_later,7,[{file,"pi_server.erl"},{line,177}]}]}
=ERROR REPORT==== 1-Nov-2017::20:13:45 ===
Error in process <0.34.0> with exit value:
{badarg,[{erlang,system_time,[nanosecond],[]},
{osc,now,0,[{file,"osc.erl"},{line,54}]},
{pi_server,send_later,7,[{file,"pi_server.erl"},{line,177}]}]}
=ERROR REPORT==== 1-Nov-2017::20:13:47 ===
Error in process <0.35.0> with exit value:
{badarg,[{erlang,system_time,[nanosecond],[]},
{osc,now,0,[{file,"osc.erl"},{line,54}]},
{pi_server,send_later,7,[{file,"pi_server.erl"},{line,177}]}]}
=ERROR REPORT==== 1-Nov-2017::20:13:47 ===
Error in process <0.36.0> with exit value:
{badarg,[{erlang,system_time,[nanosecond],[]},
{osc,now,0,[{file,"osc.erl"},{line,54}]},
{pi_server,send_later,7,[{file,"pi_server.erl"},{line,177}]}]}