polyaftReal-time MIDI:Inputpolyaftpolyaft
Returns the polyphonic after-touch pressure of the selected note number.
Descriptionpolyaft returns the polyphonic pressure of the selected note number, optionally mapped to an user-specified range.
Syntaxires polyaft inote [, ilow] [, ihigh]kres polyaft inote [, ilow] [, ihigh]Initializationinote -- note number. Normally set to the value returned by notnumilow (optional, default: 0) -- lowest output value
ihigh (optional, default: 127) -- highest output value
Performancekres -- polyphonic pressure (aftertouch).
Examples
Here is an example of the polyaft opcode. It uses the file polyaft.csd.
Do not forget that you must include the -F flag when using an external MIDI file like polyaft.mid.
Example of the polyaft opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoMIDI input and InitializationCreditsAdded thanks to an email from &nameistvan;New in version 4.12