ampmidi
Get the velocity of the current MIDI event.
Syntax
Initialization
iscal -- i-time scaling factor
ifn (optional, default=0) -- function table number of a normalized translation table, by which the incoming value is first interpreted. The default value is 0, denoting no translation.
Performance
Get the velocity of the current MIDI event, optionally pass it through a normalized translation table, and return an amplitude value in the range 0 - iscal.
Examples
Here is an example of the ampmidi opcode. It uses the file ampmidi-modern.csd.
Here is an example of the ampmidi opcode. It uses the file ampmidi.csd.
See also
Credits
Author: Barry L. Vercoe - Mike Berry
MIT - Mills
May 1997