Skip to content

Commit 66df070

Browse files
authored
Merge pull request #2845 from ethancrawford/fix_bpm_typos
Lang - fix set_link_bpm! typos
2 parents fbddf49 + a188a55 commit 66df070

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
@@ -3566,7 +3566,7 @@ def with_cue_logging(v, &block)
35663566

35673567
def set_link_bpm!(bpm)
35683568
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)
3569-
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
3569+
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
35703570
@tau_api.link_set_bpm_at_clock_time!(bpm.to_f, __get_spider_time)
35713571
end
35723572
doc name: :set_link_bpm!,
@@ -3576,7 +3576,7 @@ def set_link_bpm!(bpm)
35763576
35773577
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.
35783578
3579-
For a full list of link-compatable apps and devices see: https://www.ableton.com/en/link/products/
3579+
For a full list of link-compatible apps and devices see: https://www.ableton.com/en/link/products/
35803580
35813581
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.
35823582

0 commit comments

Comments
 (0)