Skip to content

Commit 166a524

Browse files
authored
Update core.rb
Correct osc_send call
1 parent 08ba283 commit 166a524

File tree

1 file changed

+2
-1
lines changed
  • app/server/ruby/lib/sonicpi/lang

1 file changed

+2
-1
lines changed

app/server/ruby/lib/sonicpi/lang/core.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,8 @@ def with_osc(host, port=4560, &block)
688688

689689
def osc_send(host, port, path, *args)
690690
host = host.to_s.strip
691-
@tau_api.send_osc(host, port, path, *args)
691+
t = __get_spider_schedule_time
692+
@tau_api.send_osc_at(t, host, port, path, *args)
692693
__delayed_message "OSC -> #{host}, #{port}, #{path}, #{args}" unless __thread_locals.get(:sonic_pi_suppress_osc_logging)
693694
end
694695
doc name: :osc_send,

0 commit comments

Comments
 (0)