Jacko Opcodes
These opcodes enable the use of Jack ports from within Csound
orchestras and instruments. Ports can receive or send audio
or MIDI data, and send note data.
The Jacko opcodes do not replace the Jack driver and Jack
command-line options for Csound, nor do the Jacko opcodes work
with them (hence the name "Jacko" instead of "Jack").
The Jacko opcodes are an independent facility that offers
greater flexibility in signal routing.
It is Jack that calls csoundPerformKsmps.The k-rate speed is
not dictated by Csound, it is dictated by the Jack DAEMON
configuration: --period. Csound has to agree to that.
In addition, the Jacko opcodes can work with the Jack system
in "freewheeling" mode, which enables the use of Jack-enabled
external synthesizers, such as Aeolus or Pianoteq, to render
Csound pieces either faster or, even more importantly, slower
than real time. This is extremely useful for rendering complex
pieces without dropouts using instruments, such as Aeolus,
that may not be available except through Jack (see example below).
A second example shows midi connections to external synthesizers
and a midi connection from an external keyboard.
The Jacko opcodes include:
JackoInit,
for initializing the current instance of Csound as a Jack client.
JackoInfo,
for printing information about the Jack daemon, its clients, their ports,
and their connections.
JackoFreewheel,
for turning Jack's freewheeling mode on or off.
JackoAudioInConnect,
for creating a connection from an external Jack audio output port to a Jack port in Csound.
JackoAudioOutConnect,
for creating a connection from a Jack port in Csound to an external Jack audio input port.
JackoMidiInConnect,
for creating a connection from an external Jack MIDI port. MIDI events from Jack
are received by Csound's regular MIDI opcodes and MIDI interop system.
JackoMidiOutConnect,
for creating a connection from a Jack port in Csound to an external Jack MIDI input port.
JackoOn,
for turning Jack ports in Csound on or off.
JackoAudioIn,
for receiving audio from a Jack input port in Csound, which in turn has received the audio
from its connected external port.
JackoAudioOut,
for sending audio to a Jack output port in Csound, which in turn will send the audio
on to its connected external port.
JackoMidiOut,
for sending MIDI channel messages to a Jack output port in Csound, which in turn
will send the MIDI on to its connected external port.
JackoNoteOut,
for sending a note (with duration) to a Jack output port in Csound,
which in turn will send the note on to its connected external port.
JackoTransport,
for controlling the Jack transport.
A typical scenario for the use of the Jacko opcodes would be something like this.
Example
Here is an example of the Jacko opcodes. It uses the file jacko.csd.
Example of the Jacko opcodes.
Here is a second example of the Jacko opcodes. It uses the file jacko_extSynths.csd.
Another example of the Jacko opcodes.CreditsBy: &namemichael; 2010