[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Re: midi from daw



If you look at the documentation of MIDIFunc

http://doc.sccode.org/Classes/MIDIFunc.html#*noteOn

You can see that the first argument is the function that responds to the
midi note on message, you got that right, but the argument chan in that
function means the channel the note came from, changing that has no effect ,
so you need to use the chan argument from noteOn

something like 

on1 = MIDIFunc.noteOn({|veloc, num, chan, src| 
        notes1[num] = Synth(\fm_synth_1, [\freq, num.midicps]); 
}, chan:1 ); 



--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/midi-from-daw-tp7615371p7615374.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: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/