Skip to content

Commit a188a55

Browse files
committed
Lang - fix set_link_bpm! typos
1 parent 40d1d67 commit a188a55

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3565,7 +3565,7 @@ def with_cue_logging(v, &block)
35653565

35663566
def set_link_bpm!(bpm)
35673567
raise ArgumentError, "use_bpm's BPM should be a positive value or :link. You tried to use: #{bpm}" unless bpm == :link || (bpm.is_a?(Numeric) && bpm > 0)
3568-
raise "ArgumentErrot, set_link_bpm! requires a number for the bpm argument in the range 20 -> 999. You tried to use: #{bpm}" unless bpm.is_a?(Numeric) && bpm >= 20 && bpm <= 999
3568+
raise ArgumentError, "set_link_bpm! requires a number for the bpm argument in the range 20 -> 999. You tried to use: #{bpm}" unless bpm.is_a?(Numeric) && bpm >= 20 && bpm <= 999
35693569
@tau_api.link_set_bpm_at_clock_time!(bpm.to_f, __get_spider_time)
35703570
end
35713571
doc name: :set_link_bpm!,
@@ -3575,7 +3575,7 @@ def set_link_bpm!(bpm)
35753575
35763576
Note that this will *also* change the tempo of *all link metronomes* connected to the local network. This includes other instances of Sonic Pi, Music Production tools like Ableton Live, VJ tools like Resolume, DJ hardware like the MPC and many iPad music apps.
35773577
3578-
For a full list of link-compatable apps and devices see: https://www.ableton.com/en/link/products/
3578+
For a full list of link-compatible apps and devices see: https://www.ableton.com/en/link/products/
35793579
35803580
Also note that the current thread does not have to be in Link BPM mode for this function to affect the Link clock's BPM.
35813581

0 commit comments

Comments
 (0)