[Csnd] Realtime audio issue
Date | 2018-09-11 18:16 |
From | leofltt |
Subject | [Csnd] Realtime audio issue |
Hi, I'm having troubles with realtime audio: using portaudio every time I try to run a .csd with a nchnls set it won't work, giving me "*** PortAudio: error: -9998: Invalid number of channels" (with portaudio blocking) and won't work at all with the callback version. Using coreaudio everything freezes and there's no audio output. Any idea about what could have happened? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2018-09-11 18:52 |
From | John ff |
Subject | Re: [Csnd] Realtime audio issue |
How many channels are you asking for and what sound card?
Sent from TypeApp
On 11 Sep 2018, at 18:17, leofltt <lfoletto@berklee.edu> wrote: Hi, I'm having troubles with realtime audio: using portaudio every time I try |
Date | 2018-09-11 19:08 |
From | Leonardo Foletto |
Subject | Re: [Csnd] Realtime audio issue |
Just 2 channels from the macbook speakers. But I just noticed I'm running a csound beta build from today which is weird. Maybe I just need to go back to the stable release Il mar 11 set 2018, 1:52 PM John ff <jpff@codemist.co.uk> ha scritto:
|
Date | 2018-09-11 19:19 |
From | jpff |
Subject | Re: [Csnd] Realtime audio issue |
Just checkig possibilitie; are you setting nchnls=2 or relying on a default? Todays's gitb has a couple of bugs fixed mainly related to arrays On Tue, 11 Sep 2018, Leonardo Foletto wrote: > Just 2 channels from the macbook speakers. But I just noticed I'm running a > csound beta build from today which is weird. Maybe I just need to go back to > the stable release > > Il mar 11 set 2018, 1:52 PM John ff |
Date | 2018-09-11 19:51 |
From | Leonardo Foletto |
Subject | Re: [Csnd] Realtime audio issue |
I'm setting nchnls = 2 manually. Il mar 11 set 2018, 2:20 PM jpff <jpff@codemist.co.uk> ha scritto: Just checkig possibilitie; are you setting nchnls=2 or relying on a |
Date | 2018-09-11 20:09 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Realtime audio issue |
check that you are not trying to open input as well as output and that in that case both devices allow for 2 channels to be opened.
Is this your own build of Csound?
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-09-11 20:19 |
From | Leonardo Foletto |
Subject | Re: [Csnd] Realtime audio issue |
I think the issue might have been that, probably csound was also looking for 2 inputs. Yes this is my own build and I don't have much experience at all so I could have easily done something wrong. Anyway now it seems to be working fine at least, thanks. Il mar 11 set 2018, 3:10 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
|
Date | 2018-09-11 20:21 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Realtime audio issue |
you can use nchnls_i to set a different number of inputs alongside nchnls. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-09-18 20:22 |
From | Leonardo Foletto |
Subject | Re: [Csnd] Realtime audio issue |
Hi guys, I have news about this issue. So basically the situation is as such: I tried usign csound through Qt, API (with C), csound~ and the issue is not csound. Csound is working fine in every situation except when I try to run a csd from Qt or I try to run the file in the terminal from Qt. Therefore I assume the issue is with the script that runs the csds from Qt. Now my question is, where should I post about this issue so that the appropriate people can look into it? On Tue, Sep 11, 2018 at 3:21 PM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-09-18 20:51 |
From | Tarmo Johannes |
Subject | Re: [Csnd] Realtime audio issue |
Hi, You mean CsoundQt probably? The mailing list is: https://sourceforge.net/projects/qutecsound/lists/qutecsound-users If you run csd-s in CsoundQt you can choose if you use the audio drivers and other options sent in CsoundQt configuration or the options in csd ( |
Date | 2018-09-18 21:08 |
From | Leonardo Foletto |
Subject | Re: [Csnd] Realtime audio issue |
If I don't use Qt options and just use -odac everything works fine so its definitely an issue with how CsoundQt deals with them. I'll let the CsoundQt mailing list know. Thanks! Best, Leo Foletto On Tue, Sep 18, 2018 at 3:51 PM, Tarmo Johannes <trmjhnns@gmail.com> wrote: Hi, |