JackoMidiOut

JackoMidiOut — Sends a MIDI channel message to a Jack port.

Description

Sends a MIDI channel message to a Jack MIDI output port inside this instance of Csound, and in turn to its connected external Jack MIDI input port.

Syntax

JackoMidiOut  ScsoundPortName, kstatus, kchannel, kdata1[, kdata2]

Initialization

ScsoundPortName -- The short name ("portname") of the internal Jack MIDI output port.

Performance

kstatus -- MIDI status byte; must indicate a MIDI channel message.

kchannel -- MIDI channel (from 0 through 15).

kdata1 -- First data byte of a MIDI channel message.

kdata2 -- Optional second data byte of a MIDI channel message.

This opcode can be called any number of times in the same kperiod. Messages from multiple instances of the opcode sending to the same port are collected before sending.

Running status, system exclusive messages, and real-time messages are not supported.

The granularity of timing is Csound's kperiod.

See Also

JackoInfo, JackoInfo, JackoFreewheel, JackoAudioOutConnect, JackoMidiInConnect, JackoMidiOutConnect, JackoOn, JackoAudioIn, JackoNoteOut, JackoTransport.

Credits

By: Michael Gogins 2010