Csound Csound-dev Csound-tekno Search About

[Csnd] csound6 jack command line options

Date2013-06-25 14:05
FromTarmo Johannes
Subject[Csnd] csound6 jack command line options
Hi,

I am experimenting with running cound6 using jack from command line. There is 
something strange with the input parameter.

tests and results (csound6 is link to the csound (6) binary):

1) csound6 -odac -d -+rtaudio=jack grain.csd 
works, need to connect to system output manually

2) csound6 -odac:system:playback_    -d -+rtaudio=jack grain.cs 
works

3) csound6 -odac:system:playback_  -iadc:system:capture_  -d -+rtaudio=jack 
grain.csd
Failure:
 The available JACK input devices are:
      "system:capture_"         (2 channels)
 *** rtjack: error connecting input ports

4) csound6 -odac:system:playback_  -isystem:capture_  -d -+rtaudio=jack 
grain.csd
Failure:
isfinit: cannot open system:capture_


5) csound6 -odac:system:playback_  -iadc  -d -+rtaudio=jack grain.csd
works, but   need to connect from  system input manually


Also, using alsa, with
csound6 -odac:hw:0,0 -d -+rtaudio=alsa grain.csd
I get
*** Unable to set number of channels on soundcard
csound6 -odac -d -+rtaudio=alsa grain.csd


Similar things crash CsoundQt, that is on the way to get ready for csound6.

Csound version 6.00rc3 (double samples) Jun 25 2013
Jack version 1.9.9.5
alsa-1.0.26


Best!
tarmo



Date2013-06-25 14:26
FromVictor Lazzarini
SubjectRe: [Csnd] csound6 jack command line options
There was a bug in the input selection of devices for jack. I fixed this and now it should work.

Regarding alsa, I don't know, it works here.

Victor

On 25 Jun 2013, at 14:05, Tarmo Johannes wrote:

> Hi,
> 
> I am experimenting with running cound6 using jack from command line. There is 
> something strange with the input parameter.
> 
> tests and results (csound6 is link to the csound (6) binary):
> 
> 1) csound6 -odac -d -+rtaudio=jack grain.csd 
> works, need to connect to system output manually
> 
> 2) csound6 -odac:system:playback_    -d -+rtaudio=jack grain.cs 
> works
> 
> 3) csound6 -odac:system:playback_  -iadc:system:capture_  -d -+rtaudio=jack 
> grain.csd
> Failure:
> The available JACK input devices are:
>      "system:capture_"         (2 channels)
> *** rtjack: error connecting input ports
> 
> 4) csound6 -odac:system:playback_  -isystem:capture_  -d -+rtaudio=jack 
> grain.csd
> Failure:
> isfinit: cannot open system:capture_
> 
> 
> 5) csound6 -odac:system:playback_  -iadc  -d -+rtaudio=jack grain.csd
> works, but   need to connect from  system input manually
> 
> 
> Also, using alsa, with
> csound6 -odac:hw:0,0 -d -+rtaudio=alsa grain.csd
> I get
> *** Unable to set number of channels on soundcard
> csound6 -odac -d -+rtaudio=alsa grain.csd
> 
> 
> Similar things crash CsoundQt, that is on the way to get ready for csound6.
> 
> Csound version 6.00rc3 (double samples) Jun 25 2013
> Jack version 1.9.9.5
> alsa-1.0.26
> 
> 
> Best!
> tarmo
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-25 16:36
FromTarmo Johannes
SubjectRe: [Csnd] csound6 jack command line options
Thanks a lot!

Yes, jack works now well. I don't know about alsa either, maybe pulseaudio is 
somehow in the way or some other local reason.

tarmo

On Tuesday 25 June 2013 14:26:47 Victor Lazzarini wrote:
> There was a bug in the input selection of devices for jack. I fixed this and
> now it should work.
> 
> Regarding alsa, I don't know, it works here.
> 
> Victor
> 
> On 25 Jun 2013, at 14:05, Tarmo Johannes wrote:
> > Hi,
> > 
> > I am experimenting with running cound6 using jack from command line. There
> > is something strange with the input parameter.
> > 
> > tests and results (csound6 is link to the csound (6) binary):
> > 
> > 1) csound6 -odac -d -+rtaudio=jack grain.csd
> > works, need to connect to system output manually
> > 
> > 2) csound6 -odac:system:playback_    -d -+rtaudio=jack grain.cs
> > works
> > 
> > 3) csound6 -odac:system:playback_  -iadc:system:capture_  -d
> > -+rtaudio=jack
> > grain.csd
> > Failure:
> > 
> > The available JACK input devices are:
> >      "system:capture_"         (2 channels)
> > 
> > *** rtjack: error connecting input ports
> > 
> > 4) csound6 -odac:system:playback_  -isystem:capture_  -d -+rtaudio=jack
> > grain.csd
> > Failure:
> > isfinit: cannot open system:capture_
> > 
> > 
> > 5) csound6 -odac:system:playback_  -iadc  -d -+rtaudio=jack grain.csd
> > works, but   need to connect from  system input manually
> > 
> > 
> > Also, using alsa, with
> > csound6 -odac:hw:0,0 -d -+rtaudio=alsa grain.csd
> > I get
> > *** Unable to set number of channels on soundcard
> > csound6 -odac -d -+rtaudio=alsa grain.csd
> > 
> > 
> > Similar things crash CsoundQt, that is on the way to get ready for
> > csound6.
> > 
> > Csound version 6.00rc3 (double samples) Jun 25 2013
> > Jack version 1.9.9.5
> > alsa-1.0.26
> > 
> > 
> > Best!
> > tarmo
> > 
> > 
> > 
> > 
> > Send bugs reports to the Sourceforge bug tracker
> > 
> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > 
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"