Csound Csound-dev Csound-tekno Search About

[Csnd] Realtime audio issue

Date2018-09-11 18:16
Fromleofltt
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

Date2018-09-11 18:52
FromJohn ff
SubjectRe: [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
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

Date2018-09-11 19:08
FromLeonardo Foletto
SubjectRe: [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:
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
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
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
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

Date2018-09-11 19:19
Fromjpff
SubjectRe: [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  ha scritto:
>       How many channels are you asking for and what sound card?
> 
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt  wrote:
> 
> 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
> 
> 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
> 
> 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
>

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

Date2018-09-11 19:51
FromLeonardo Foletto
SubjectRe: [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
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 <jpff@codemist.co.uk> ha scritto:
>       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
> 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
>
> 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
>
> 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
>

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
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

Date2018-09-11 20:09
FromVictor Lazzarini
SubjectRe: [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

On 11 Sep 2018, at 19:51, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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
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 <jpff@codemist.co.uk> ha scritto:
>       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
> 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
>
> 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
>
> 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
>

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
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

Date2018-09-11 20:19
FromLeonardo Foletto
SubjectRe: [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:
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

On 11 Sep 2018, at 19:51, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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
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 <jpff@codemist.co.uk> ha scritto:
>       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
> 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
>
> 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
>
> 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
>

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
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
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
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

Date2018-09-11 20:21
FromVictor Lazzarini
SubjectRe: [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

On 11 Sep 2018, at 20:19, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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:
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

On 11 Sep 2018, at 19:51, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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
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 <jpff@codemist.co.uk> ha scritto:
>       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
> 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
>
> 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
>
> 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
>

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
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
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
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

Date2018-09-18 20:22
FromLeonardo Foletto
SubjectRe: [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:
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

On 11 Sep 2018, at 20:19, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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:
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

On 11 Sep 2018, at 19:51, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:

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
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 <jpff@codemist.co.uk> ha scritto:
>       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
> 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
>
> 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
>
> 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
>

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
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
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
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
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

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

Date2018-09-18 20:51
FromTarmo Johannes
SubjectRe: [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 ( 
section, see Configuren->Run->Realtime audio (unchek Use CsoundQt options). If 
this is checked, you can still also combine some of the options in csd (like 
--port=1000 -d etc) from CsOptions part -  then leave "Ignore CsOptions" 
unchecked.

greetings,
tarmo

On teisipäev, 18. september 2018 22:22.41 EEST you wrote:
> 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 
> 
> wrote:
> > 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
> > 
> > On 11 Sep 2018, at 20:19, Leonardo Foletto  wrote:
> > 
> > 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  ha
> > 
> > scritto:
> >> 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
> >> 
> >> On 11 Sep 2018, at 19:51, Leonardo Foletto  wrote:
> >> 
> >> I'm setting nchnls = 2 manually.
> >> 
> >> Il mar 11 set 2018, 2:20 PM jpff  ha scritto:
> >>> 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  ha scritto:
> >>> >       How many channels are you asking for and what sound card?
> >>> > 
> >>> > Sent from TypeApp
> >>> > On 11 Sep 2018, at 18:17, leofltt  wrote:
> >>> > 
> >>> > 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
> >>> > 
> >>> > 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
> >>> > 
> >>> > 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
> >>> 
> >>> 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
> >> 
> >> 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
> >> 
> >> 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
> > 
> > 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
> > 
> > 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
> 
> 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

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

Date2018-09-18 21:08
FromLeonardo Foletto
SubjectRe: [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,

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 (<CsOptions>
section, see Configuren->Run->Realtime audio (unchek Use CsoundQt options). If
this is checked, you can still also combine some of the options in csd (like
--port=1000 -d etc) from CsOptions part -  then leave "Ignore CsOptions"
unchecked.

greetings,
tarmo

On teisipäev, 18. september 2018 22:22.41 EEST you wrote:
> 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:
> > 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
> >
> > On 11 Sep 2018, at 20:19, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:
> >
> > 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:
> >> 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
> >>
> >> On 11 Sep 2018, at 19:51, Leonardo Foletto <lfoletto@BERKLEE.EDU> wrote:
> >>
> >> 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
> >>> 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 <jpff@codemist.co.uk> ha scritto:
> >>> >       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
> >>>
> >>> > 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
> >>> >
> >>> > 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
> >>> >
> >>> > 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
> >>>
> >>> 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
> >>
> >> 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
> >>
> >> 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
> >
> > 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
> >
> > 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
>
> 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

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

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