albertoj
2014-10-06 18:52:01 UTC
Hi list
I'm controlling an external drummachine with sc with the following code,
being 36 one part in the drummachine and 38 another one
------------------------
o = MIDIOut.newByName("USB2.0-MIDI", "Port 1");
x = Pdefn(\bd,Pseq([36,\rest,\rest,\rest], inf).trace)
y = Pdefn(\sd,Pseq([\rest,\rest,\rest,\rest,38,\rest,\rest,\rest],
inf).trace)
a = Pbind(\type, \midi, \midiout , o, \midinote , Pdefn(\bd));
b = Pbind( \type, \midi, \midiout , o, \midinote , Pdefn(\sd));
Ppar([a, b],inf).play;
------------------------
When I was running the code without the trace only 36 would play, then I
added the .trace and I saw that the other event wit the 38 was being
launched as well. After changing the array in pseq I found out that both
parts played so my conclusion is that the code is not being able to send 2
notes at the same time.
Has anyone found a way around this?
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/MIDI-output-problem-with-simultaneous-notes-tp7613793.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
I'm controlling an external drummachine with sc with the following code,
being 36 one part in the drummachine and 38 another one
------------------------
o = MIDIOut.newByName("USB2.0-MIDI", "Port 1");
x = Pdefn(\bd,Pseq([36,\rest,\rest,\rest], inf).trace)
y = Pdefn(\sd,Pseq([\rest,\rest,\rest,\rest,38,\rest,\rest,\rest],
inf).trace)
a = Pbind(\type, \midi, \midiout , o, \midinote , Pdefn(\bd));
b = Pbind( \type, \midi, \midiout , o, \midinote , Pdefn(\sd));
Ppar([a, b],inf).play;
------------------------
When I was running the code without the trace only 36 would play, then I
added the .trace and I saw that the other event wit the 38 was being
launched as well. After changing the array in pseq I found out that both
parts played so my conclusion is that the code is not being able to send 2
notes at the same time.
Has anyone found a way around this?
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/MIDI-output-problem-with-simultaneous-notes-tp7613793.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/