JackoMidiInConnect
Prev | Orchestra Opcodes and Operators | Next

## JackoMidiInConnect

JackoMidiInConnect — Creates a MIDI connection from a Jack port to Csound.

| Note
plugin: Requires jacko plugin

## Description

In the orchestra header, creates a MIDI connection from an external Jack MIDI output port to this instance of Csound.

## Syntax

    JackoMidiInConnect SexternalPortName, ScsoundPortName

## Initialization

SexternalPortName -- The full name ("clientname:portname") of an external Jack MIDI output port.

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

Must be used in conjunction with the -M0 -+rtmidi=null Csound command-line options. Can be used in with the MIDI inter-operability command-line options and/or opcodes to enable the use of ordinary Csound instrument definitions to render external scores or MIDI sequences.

Note that Csound can connect to ALSA ports through Jack, but in that case you will have to identify the port by its alias in the JackInfo printout.

## Performance

The actual MIDI events will be received in the regular Csound way, i.e. through a MIDI driver and the sensevents mechanism, rather than through a Jack input port opcode.

The granularity of timing is Csound's kperiod.

## Examples

Here is an example of the JackoMidiInConnect opcode. It uses the file jacko.csd.

## See Also

JackoInfo, JackoInfo, JackoFreewheel, JackoAudioOutConnect, JackoAudioOutConnect, JackoMidiOutConnect, JackoOn, JackoAudioIn, JackoAudioOut, JackoMidiOut, JackoNoteOut, JackoTransport.

## Credits

By: Michael Gogins 2010

Prev | Up | Next
JackoInit | Home | JackoMidiOutConnect