Skip to content
janjacobhofmann edited this page Apr 7, 2022 · 9 revisions

How to make them work...

  1. The set of Jacko-opcodes have to be downloaded, built and installed first according to the description at github (see also manual) inside the plugins-folder at https://github.com/csound/plugins. Make sure to choose the "master"-branch unless you do not want the develop-branch explicitly.

  2. Make sure that for the rt-audio module "null" is chosen, not jack. This can be done either in the rt-configuration window of a GUI or by setting the command line flag -+rtaudio=null. If Jack is chosen instead like for the Jack-connection kit, this will result in an error for the use with Jacko-opcodes.

  3. Do set "adc:system:capture_" as an Input device(-i) and "dac:system:playback_" as an Output device (-o).

  4. Choosse b- as a multiple of 2. -b has to be smaller than -B. For example -b = 256 and -B = 1024 do work well.

  5. Choose ksmps equal to the frames/period size of Jack. So e.g frames of Jack are 512, ksmps of the .csd should be also 512. Jack can be conveniently configured by using a GUI like Qjackctl or Cadence.

  6. Note that the connections have to be set in the header section first. The syntax for that is "NameOfDevice:NameOfPort". On the side of Csound, it is not necessary to state the device, as csound6 is the default. So in practice this translates to something like this:

    JackoAudioInConnect "source:out.1", "input1"

    and

    JackoAudioOutConnect "output1", "target:in.1"

  7. One note on the naming of the ports: The output-channels of Csound may be named by desire. So output1 and output2 is as possible as outL or outR.

  8. There must be no active patch in Qjackctl/Cadence. Csound is setting up all audio connections by itself.