Use Non-Frames Version Previous Page Next Page
MIDI Support: Generic I/O

midiout

          midiout    kstatus, kchan, kdata1, kdata2

Description

Sends a generic MIDI message to the MIDI OUT port

Performance

kstatus – the type of MIDI message. Can be:

kchan – MIDI channel (1-16)

kdata1, kdata2 – message-dependent data values

midiout has no output arguments, because it sends a message to the MIDI OUT port implicitly. It works at k-rate. It sends a MIDI message only when kstatus is non-zero.

Warning: Normally kstatus should be set to 0. Only when the user intends to send a MIDI message, can it be set to the corresponding message type number.

Author

Gabriel Maldonado
Italy
1998 (New in Csound version 3.492)


Use Non-Frames Version Previous Page Next Page
MIDI Support: Generic I/O