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

main
Luka Prinčič 8 months ago
parent dafbcc78ad
commit cdc6262e0d
  1. 4
      algoforte01.scd

@ -41,7 +41,7 @@ m = MIDIOut(0)
m.connect
// 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
// 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([
Pn(1/2, 50),
Pseq([1, 1/2, Pn(1/4,4), 2], 20), // 7*20

Loading…
Cancel
Save