nrpn Real-time MIDI:Output nrpn nrpn Sends a Non-Registered Parameter Number to the MIDI OUT port. Description Sends a NPRN (Non-Registered Parameter Number) message to the MIDI OUT port each time one of the input arguments changes. Syntax nrpn kchan, kparmnum, kparmvalue Performance kchan -- MIDI channel (1-16) kparmnum -- number of NRPN parameter kparmvalue -- value of NRPN parameter This opcode sends new message when the MIDI translated value of one of the input arguments changes. It operates at k-rate. Useful with the MIDI instruments that recognize NRPNs (for example with the newest sound-cards with internal MIDI synthesizer such as SB AWE32, AWE64, GUS etc. in which each patch parameter can be changed during the performance via NRPN) Examples Here is an example of the nrpn opcode. It uses the file nrpn.csd. Example of the nrpn opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. This example generates notes for every note received on the MIDI input. It generates MIDI notes on csound's MIDI output, so be sure to connect something. See also MIDI Message Output Credits Author: &namegabriel; Italy 1998 New in Csound version 3.492 Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.