Skip to content

Commit c1487cf

Browse files
authored
Correct osc examples (missing commas)
1 parent 4416b42 commit c1487cf

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def osc(path, *args)
738738
" # Send an OSC messages with arguments to another program on the same machine
739739
740740
use_osc \"localhost\", 7000 # Specify port 7000 on this machine
741-
osc \"/foo/bar\" 1, 3.89, \"baz\" # Send an OSC message with path \"/foo/bar\"
741+
osc \"/foo/bar\", 1, 3.89, \"baz\" # Send an OSC message with path \"/foo/bar\"
742742
# and three arguments:
743743
# 1) The whole number (integer) 1
744744
# 2) The fractional number (float) 3,89
@@ -748,7 +748,7 @@ def osc(path, *args)
748748
" # Send an OSC messages with arguments to another program on a different machine
749749
750750
use_osc \"10.0.1.5\", 7000 # Specify port 7000 on the machine with address 10.0.1.5
751-
osc \"/foo/bar\" 1, 3.89, \"baz\" # Send an OSC message with path \"/foo/bar\"
751+
osc \"/foo/bar\", 1, 3.89, \"baz\" # Send an OSC message with path \"/foo/bar\"
752752
# and three arguments:
753753
# 1) The whole number (integer) 1
754754
# 2) The fractional number (float) 3,89

0 commit comments

Comments
 (0)