[Csnd] Re: midi
Date | 2008-06-07 01:03 |
From | "Michael Gogins" |
Subject | [Csnd] Re: midi |
You can use p5 for frequency with the --midi-key-cps=5
command-line option, then the MIDI key number from the input port will be
translated to cycles per second and appear in the p5 field.
If there is a warning just ignore it.
For envelope, you would need to handle the appropriate
controller number and interpolate between one sense of the controller and the
next, then multiply the signal by the interpolated controller
value.
Or do you just mean MIDI velocity?
--midi-velocity=pwhatever.
Hope this helps,
Mike
|