[Csnd] Multichannel Audio on MacOS
Date | 2013-12-21 22:56 |
From | Jim Aikin |
Subject | [Csnd] Multichannel Audio on MacOS |
I'm attempting to use Csound 6 on my MacBook Pro (10.8.5) to send audio to the ADAT lightpipe outputs of a PreSonus 1818VSL. I've set nchnls=18, and I'm using outch: outch 11, asigL, 12, asigR This sometimes hangs Csound. (It can also hang when I use Run In Term.) It hangs pretty consistently with pa_bl, but pa_cb seems more stable. It's working at the moment, anyhow.... I'd like very much to hear what kind of performance (successes or problems) other people are having in MacOS when using an interface that has lots of I/O channels. My goal is to turn my MacBook into a euro-rack modular module running Csound, using the PreSonus's lightpipe ports to communicate with Expert Sleepers ES-3 and ES-6 modules. Success so far is mixed. -- View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-21 23:13 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Multichannel Audio on MacOS |
Very briefly, I've used multichannel audio routinely under windows for many years and also occasionally under MacOs. No specific roadblocks regarding performance. I think that there is a small extra computational cost when running multichannel output, might be noticeable for > 10 channels when compared to simple stereo. Nothing big really, but perhaps noticeable. When experiencing strange problems (like this one you have), I'd say it might be a good idea to run csound directly in the terminal, just to minimize the potential causes of confusion. Once you've sorted it out, it should be relatively straightforward to go back to using the frontend. best Oeyvind 2013/12/21 Jim Aikin |
Date | 2013-12-22 16:08 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Multichannel Audio on MacOS |
What about coreaudio/auhal? On 21 Dec 2013, at 22:56, Jim Aikin wrote: > I'm attempting to use Csound 6 on my MacBook Pro (10.8.5) to send audio to > the ADAT lightpipe outputs of a PreSonus 1818VSL. I've set nchnls=18, and > I'm using outch: > > outch 11, asigL, 12, asigR > > This sometimes hangs Csound. (It can also hang when I use Run In Term.) It > hangs pretty consistently with pa_bl, but pa_cb seems more stable. It's > working at the moment, anyhow.... > > I'd like very much to hear what kind of performance (successes or problems) > other people are having in MacOS when using an interface that has lots of > I/O channels. My goal is to turn my MacBook into a euro-rack modular module > running Csound, using the PreSonus's lightpipe ports to communicate with > Expert Sleepers ES-3 and ES-6 modules. Success so far is mixed. > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-22 18:36 |
From | Jim Aikin |
Subject | [Csnd] Re: Multichannel Audio on MacOS |
> What about coreaudio/auhal? auhal is unable to open the dac on the 1818VSL. It doesn't hang Csound, it just won't work at all. -- View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730916.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-22 19:08 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
That's interesting, what is the message? Does the device get listed at all? What happens if you set the 1818VSL as your main sound output in the system preferences, and then use -odac (with no dev number)? Victor On 22 Dec 2013, at 18:36, Jim Aikin wrote: >> What about coreaudio/auhal? > > auhal is unable to open the dac on the 1818VSL. It doesn't hang Csound, it > just won't work at all. > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730916.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-22 19:23 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
and what about Jack? On 22 Dec 2013, at 19:08, Victor Lazzarini wrote: > That's interesting, what is the message? Does the device get listed at all? > What happens if you set the 1818VSL as your main sound output in the > system preferences, and then use -odac (with no dev number)? > > > Victor > On 22 Dec 2013, at 18:36, Jim Aikin wrote: > >>> What about coreaudio/auhal? >> >> auhal is unable to open the dac on the 1818VSL. It doesn't hang Csound, it >> just won't work at all. >> >> >> >> -- >> View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730916.html >> Sent from the Csound - General mailing list archive at Nabble.com. >> >> >> Send bugs reports to the Sourceforge bug trackers >> csound6: >> https://sourceforge.net/p/csound/tickets/ >> csound5: >> https://sourceforge.net/p/csound/bugs/ >> 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 trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-22 21:22 |
From | Jim Aikin |
Subject | [Csnd] Re: Multichannel Audio on MacOS |
> That's interesting, what is the message? Does the device get listed at all? > What happens if you set the 1818VSL as your main sound output in the > system preferences, and then use -odac (with no dev number)? The PreSonus is listed in the Configuration pop-up, yes. When I try to run the .csd, the Console reports: isfinit: cannot open dac3 I'll test the other option later. -- View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730920.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-22 22:12 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
That message is to do with input, so it seems to be a problem opening input rather than output. On 22 Dec 2013, at 21:22, Jim Aikin wrote: >> That's interesting, what is the message? Does the device get listed at all? >> What happens if you set the 1818VSL as your main sound output in the >> system preferences, and then use -odac (with no dev number)? > > The PreSonus is listed in the Configuration pop-up, yes. When I try to run > the .csd, the Console reports: > > isfinit: cannot open dac3 > > I'll test the other option later. > > > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730920.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-22 22:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
Actually this looks like a bug in CsoundQT. Try unselecting "use CsoundQT options" in realtime audio configurations, and adding -odac3 -iadc3 -+rtaudio=auhal in the CsOptions of the CSD file. When I tried it here to use dac3 in the csoundqt configuration, I got the same error as you did, but in CsOptions, it worked. Victor On 22 Dec 2013, at 22:12, Victor Lazzarini wrote: > That message is to do with input, so it seems to be a problem opening input rather than output. > On 22 Dec 2013, at 21:22, Jim Aikin wrote: > >>> That's interesting, what is the message? Does the device get listed at all? >>> What happens if you set the 1818VSL as your main sound output in the >>> system preferences, and then use -odac (with no dev number)? >> >> The PreSonus is listed in the Configuration pop-up, yes. When I try to run >> the .csd, the Console reports: >> >> isfinit: cannot open dac3 >> >> I'll test the other option later. >> >> >> >> >> >> -- >> View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730920.html >> Sent from the Csound - General mailing list archive at Nabble.com. >> >> >> Send bugs reports to the Sourceforge bug trackers >> csound6: >> https://sourceforge.net/p/csound/tickets/ >> csound5: >> https://sourceforge.net/p/csound/bugs/ >> 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 trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-22 23:34 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
The bug seems to affect input only, so if you leave the input device blank or just "dac", you should be able to select any output. On 22 Dec 2013, at 22:27, Victor Lazzarini wrote: > Actually this looks like a bug in CsoundQT. Try unselecting "use CsoundQT options" in realtime audio configurations, and > adding -odac3 -iadc3 -+rtaudio=auhal in the CsOptions of the CSD file. > > When I tried it here to use dac3 in the csoundqt configuration, I got the same error as you did, but in CsOptions, it worked. > > Victor > > On 22 Dec 2013, at 22:12, Victor Lazzarini wrote: > >> That message is to do with input, so it seems to be a problem opening input rather than output. >> On 22 Dec 2013, at 21:22, Jim Aikin wrote: >> >>>> That's interesting, what is the message? Does the device get listed at all? >>>> What happens if you set the 1818VSL as your main sound output in the >>>> system preferences, and then use -odac (with no dev number)? >>> >>> The PreSonus is listed in the Configuration pop-up, yes. When I try to run >>> the .csd, the Console reports: >>> >>> isfinit: cannot open dac3 >>> >>> I'll test the other option later. >>> >>> >>> >>> >>> >>> -- >>> View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730920.html >>> Sent from the Csound - General mailing list archive at Nabble.com. >>> >>> >>> Send bugs reports to the Sourceforge bug trackers >>> csound6: >>> https://sourceforge.net/p/csound/tickets/ >>> csound5: >>> https://sourceforge.net/p/csound/bugs/ >>> 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 trackers >> csound6: >> https://sourceforge.net/p/csound/tickets/ >> csound5: >> https://sourceforge.net/p/csound/bugs/ >> 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 trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-23 01:44 |
From | Jim Aikin |
Subject | [Csnd] Re: Multichannel Audio on MacOS |
> Actually this looks like a bug in CsoundQT. Try unselecting "use CsoundQT > options" in realtime audio configurations, and > adding -odac3 -iadc3 -+rtaudio=auhal in the CsOptions of the CSD file. > When I tried it here to use dac3 in the csoundqt configuration, I got the > same > error as you did, but in CsOptions, it worked. I get the same error as before. (And yes, I did uncheck "use CsoundQt options".) Also, possibly relevant or not, the input ADC is 3, but the output is 2. If I use pa_cb, they're 2 and 1 respectively. -- View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730924.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-23 09:31 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
It still looks like CsoundQT is using its options ("dac3" being selected instead of "adc3", which you have asked for in CsOptions). I know there is a build with a bug where CsoundQT options are never switched off and CsOptions cannot be used properly. The bug in CsoundQT is that it is setting "dac3" as an input device, when it should be "adc3" instead. So you could type these into the configuration window: "adc3" (for input) and "dac2" (for output). That will work. The device list may be different between devices. That is not an issue. Victor On 23 Dec 2013, at 01:44, Jim Aikin wrote: >> Actually this looks like a bug in CsoundQT. Try unselecting "use CsoundQT >> options" in realtime audio configurations, and >> adding -odac3 -iadc3 -+rtaudio=auhal in the CsOptions of the CSD file. > >> When I tried it here to use dac3 in the csoundqt configuration, I got the >> same >> error as you did, but in CsOptions, it worked. > > I get the same error as before. (And yes, I did uncheck "use CsoundQt > options".) Also, possibly relevant or not, the input ADC is 3, but the > output is 2. If I use pa_cb, they're 2 and 1 respectively. > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730924.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > 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 |
Date | 2013-12-23 22:05 |
From | Andres Cabrera |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
Hi, The error is actually in Csound, rtauhal.c line 509, as CsoundQt is now using all this information as provided by Csound.- sprintf(tmp, "dac%d", devinfo[i].outdevnum); + sprintf(tmp, "adc%d", devinfo[i].outdevnum); Now fixed in git. Andrés
On Mon, Dec 23, 2013 at 1:31 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: It still looks like CsoundQT is using its options ("dac3" being selected instead of "adc3", which you |
Date | 2013-12-23 23:04 |
From | Victor.Lazzarini@nuim.ie |
Subject | Re: [Csnd] flanger opcode |
Attachments | None None |
Date | 2013-12-24 01:47 |
From | Adam Puckett |
Subject | Re: [Csnd] flanger opcode |
The problem with such a correction is not all a-rate args are x-rate args IIRC. Opcodes like oscil and crossfm have x-args only because there is a flag to tell the difference (at compile time of the orc AFAIK). ...Or am I missing something? On 12/23/13, Aurelius Prochazka |
Date | 2013-12-24 21:12 |
From | joachim heintz |
Subject | Re: [Csnd] Re: Multichannel Audio on MacOS |
did you try to set your default audio card in the system preferences ("sound": both input and output), and then only using -adc and -dac in csound or csoundqt? this is usually the preferable method, in my opinion. joachim Am 23.12.2013 02:44, schrieb Jim Aikin: >> Actually this looks like a bug in CsoundQT. Try unselecting "use CsoundQT >> options" in realtime audio configurations, and >> adding -odac3 -iadc3 -+rtaudio=auhal in the CsOptions of the CSD file. > >> When I tried it here to use dac3 in the csoundqt configuration, I got the >> same >> error as you did, but in CsOptions, it worked. > > I get the same error as before. (And yes, I did uncheck "use CsoundQt > options".) Also, possibly relevant or not, the input ADC is 3, but the > output is 2. If I use pa_cb, they're 2 and 1 respectively. > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Multichannel-Audio-on-MacOS-tp5730912p5730924.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > |