Skip to content

Commit 9d707b0

Browse files
committed
Spider - ensure global timewarp val is correctly set for outgoing OSC/MIDI
The function was accidentally set as private and therefore not being called correctly. This patch fixes this.
1 parent 90d5740 commit 9d707b0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/server/ruby/lib/sonicpi/tau_api.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ def link_sleep(s)
250250
end
251251
end
252252

253+
def set_global_timewarp!(time)
254+
@global_timewarp = time.to_f / 1000.0
255+
end
256+
253257
private
254258

255259
def update_link_time_delta!
@@ -336,8 +340,6 @@ def api_send_at(t, path, *args)
336340
@tau_comms.send_ts(t, path, *args)
337341
end
338342

339-
def set_global_timewarp!(time)
340-
@global_timewarp = time.to_f / 1000.0
341-
end
343+
342344
end
343345
end

0 commit comments

Comments
 (0)