[Cs-dev] autoconnecting JACK ?
Date | 2005-02-22 15:19 |
From | Dave Phillips |
Subject | [Cs-dev] autoconnecting JACK ? |
Greetings: IIRC this should auto-connect Csound output to the correct JACK port: csound -+rtaudio=jack -odac2:alsa_pcm:in_ -d -m0 simple-jack.csd But it doesn't work now. Has this behavior been changed in the code or am I missing something ? Best, dp ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-22 15:29 |
From | Istvan Varga |
Subject | Re: [Cs-dev] autoconnecting JACK ? |
Dave Phillips wrote: > IIRC this should auto-connect Csound output to the correct JACK port: > > csound -+rtaudio=jack -odac2:alsa_pcm:in_ -d -m0 simple-jack.csd > > But it doesn't work now. Has this behavior been changed in the code or > am I missing something ? What error message did you get ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-22 17:33 |
From | Dave Phillips |
Subject | Re: [Cs-dev] autoconnecting JACK ? |
Hi Istvan: Sorry, apparently the presumably correct invocation should have been -odac2:alsa_pcm:playback_ but it didn't matter anyway. There's no error message at all, Cs5 just reports: writing 1024-byte blks of shorts to dac0:alsa_pcm:playback_ Csound appears in the the QJackCtl MIDI connections panel, I can connect it to alsa_pcm, and there's the sound. But it doesn't connect automatically. :( Best, dp Istvan Varga wrote: > Dave Phillips wrote: > >> IIRC this should auto-connect Csound output to the correct JACK port: >> >> csound -+rtaudio=jack -odac2:alsa_pcm:in_ -d -m0 simple-jack.csd >> >> But it doesn't work now. Has this behavior been changed in the code >> or am I missing something ? > > > What error message did you get ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-22 19:11 |
From | Istvan Varga |
Subject | Re: [Cs-dev] autoconnecting JACK ? |
Could you post a full log of the Csound messages ? Dave Phillips wrote: > Hi Istvan: > > Sorry, apparently the presumably correct invocation should have been > -odac2:alsa_pcm:playback_ but it didn't matter anyway. There's no error > message at all, Cs5 just reports: > > writing 1024-byte blks of shorts to dac0:alsa_pcm:playback_ > > Csound appears in the the QJackCtl MIDI connections panel, I can > connect it to alsa_pcm, and there's the sound. But it doesn't connect > automatically. :( ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-22 19:24 |
From | Istvan Varga |
Subject | Re: [Cs-dev] autoconnecting JACK ? |
>> writing 1024-byte blks of shorts to dac0:alsa_pcm:playback_ Now I found out what the problem is. You should write: -odac:alsa_pcm:playback_ and not -odac0:alsa_pcm:playback_ The latter instructs Csound to use a device number 0, and the JACK plugin does not recognize device numbers, only names. The valid uses of -odac are -odac:NAME for named devices (such as JACK ports) and -odacN (where N is the device number to be used by PortAudio for example). In fact, -odac0:alsa_pcm:playback_ is not valid syntax for either. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-22 19:55 |
From | Dave Phillips |
Subject | Re: [Cs-dev] autoconnecting JACK ? |
Istvan Varga wrote: >>> writing 1024-byte blks of shorts to dac0:alsa_pcm:playback_ >> > > Now I found out what the problem is. You should write: > -odac:alsa_pcm:playback_ > and not > -odac0:alsa_pcm:playback_ > The latter instructs Csound to use a device number 0, and the JACK > plugin does not recognize device numbers, only names. The valid uses > of -odac are -odac:NAME for named devices (such as JACK ports) and > -odacN (where N is the device number to be used by PortAudio for > example). In fact, -odac0:alsa_pcm:playback_ is not valid syntax for > either. You got it, thanks again. Works perfectly now. Best, dp ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |