ampmidiReal-time MIDI:Convertersampmidiampmidi
Get the velocity of the current MIDI event.
Description
Get the velocity of the current MIDI event.
Syntaxiamp ampmidi iscal [, ifn]Initializationiscal -- 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.csd.
Example of the ampmidi opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoMidi ConvertersCreditsAuthor: &namebarry; - &namemike;MIT - MillsMay 1997