Csound Csound-dev Csound-tekno Search About

[Csnd] csound and jack

Date2014-08-16 12:33
From"e.stankevich"
Subject[Csnd] csound and jack
I tried to use Csound  for mixing signals from other applications
(Audacity, other instances of Csound) via Jack.
For these purposes, I need larger number of input channels than support my sound card,
but Csound is trying to connect all "software" channel to all "hardware" channels.
Csound crashes with this message: "source port in attempted connection [system:capture_3]" (my sound card has only 2 channels and  nchnls=4).
Is there a way to connect automatically only existing channels, as is done in SuperCollider:

JackDriver: connected  SuperCollider:out_1 to system:playback_1
JackDriver: connected  SuperCollider:out_2 to system:playback_2

JackDriver: connected  system:capture_1 to SuperCollider:in_1
JackDriver: connected  system:capture_2 to SuperCollider:in_2

jack_lsp:

system:capture_1
system:capture_2
system:playback_1
system:playback_2
SuperCollider:in_1
SuperCollider:in_2
SuperCollider:in_3
SuperCollider:in_4
SuperCollider:in_5
SuperCollider:in_6
SuperCollider:in_7
SuperCollider:in_8
SuperCollider:out_1
SuperCollider:out_2
SuperCollider:out_3
SuperCollider:out_4
SuperCollider:out_5
SuperCollider:out_6
SuperCollider:out_7
SuperCollider:out_8