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

[sc-users] map midi data



Hi list, 

i want to map midi data [0, 127] to [0.0, 4.0] or any other value's, do i do that with asSpec of something else?
I would like it if it would be in the same line as my controller data:

CCResponder( { |src,chan,num,val| x.set(\pitch, val); }, nil, 0, 1, nil); 

so somewhere in that line of code, is this possible and how would i do that?
Or is there any ohter way to do this?

Thanks in advance,
Jroen