Skip to content

Commit b7b070b

Browse files
committed
adds port example to midi_pc docs
1 parent a3be7aa commit b7b070b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def midi_pc(*args)
756756
"midi_pc 100 #=> Sends MIDI pc message to all ports and channels",
757757
"midi_pc :e7 #=> Sends MIDI pc message to all ports and channels",
758758
"midi_pc 100, channel: 5 #=> Sends MIDI pc message on channel 5 to all ports",
759-
"midi_pc 100, channel: 5 #=> Sends MIDI pc message on channel 5 to all ports",
759+
"midi_pc 100, port: [\"foo\", \"bar\"], channel: 5 #=> Sends MIDI pc message on channel 5 to ports named \"foo\" and \"bar\"",
760760
"midi_pc 100, channel: [1, 5] #=> Sends MIDI pc message on channel 1 and 5 to all ports"
761761
]
762762

0 commit comments

Comments
 (0)