fixed midi channel from 2(1) to 1(0)

main
Luka Prinčič 2022-02-01 10:44:33 +01:00
parent dafbcc78ad
commit cdc6262e0d
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ m = MIDIOut(0)
m.connect m.connect
// test // test
Pbindef(\testmidi, \type, \midi, \midicmd, \noteOn, \midiout, m, \chan, 1, \amp, 0.5).play Pbindef(\testmidi, \type, \midi, \midicmd, \noteOn, \midiout, m, \chan, 0, \amp, 0.5).play
Pbindef(\testmidi).stop Pbindef(\testmidi).stop
// processing input from piano // processing input from piano
@ -67,7 +67,7 @@ Ndef(\inDSPout).stop
( (
Pbindef(\p220105b, \type, \midi, \midicmd, \noteOn, \midiout, m, \chan, 1, Pbindef(\p220105b, \type, \midi, \midicmd, \noteOn, \midiout, m, \chan, 0,
\dur, Pseq([ \dur, Pseq([
Pn(1/2, 50), Pn(1/2, 50),
Pseq([1, 1/2, Pn(1/4,4), 2], 20), // 7*20 Pseq([1, 1/2, Pn(1/4,4), 2], 20), // 7*20