[Csnd] Realtime audio issue

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Realtime audio issue

leofltt
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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

jpff
How many channels are you asking for and what sound card?

Sent from TypeApp
On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

leofltt
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 <[hidden email]> ha scritto:
How many channels are you asking for and what sound card?

Sent from TypeApp
On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

jpff
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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

leofltt
I'm setting nchnls = 2 manually. 

Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

Victor Lazzarini-2
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 <[hidden email]> wrote:

I'm setting nchnls = 2 manually. 

Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

leofltt
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 <[hidden email]> 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 <[hidden email]> wrote:

I'm setting nchnls = 2 manually. 

Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

Victor Lazzarini-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:

I'm setting nchnls = 2 manually. 

Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

leofltt
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:

I'm setting nchnls = 2 manually. 

Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
>       How many channels are you asking for and what sound card?
>
> Sent from TypeApp
> On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> [hidden email]
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

Tarmo Johannes-3
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 <[hidden email]>
>
> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
> >>
> >> I'm setting nchnls = 2 manually.
> >>
> >> Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
> >>> >       How many channels are you asking for and what sound card?
> >>> >
> >>> > Sent from TypeApp
> >>> > On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> >>> > [hidden email]
> >>> > 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 [hidden email]
> >>> > 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 [hidden email]
> >>> > 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
> >>> [hidden email]
> >>> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Realtime audio issue

leofltt
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 <[hidden email]> 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 <[hidden email]>
>
> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
> >>
> >> I'm setting nchnls = 2 manually.
> >>
> >> Il mar 11 set 2018, 2:20 PM jpff <[hidden email]> 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 <[hidden email]> ha scritto:
> >>> >       How many channels are you asking for and what sound card?
> >>> >
> >>> > Sent from TypeApp
> >>> > On 11 Sep 2018, at 18:17, leofltt <[hidden email]> 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
> >>> > [hidden email]
> >>> > 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 [hidden email]
> >>> > 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 [hidden email]
> >>> > 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
> >>> [hidden email]
> >>> 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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
> [hidden email]
> 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
[hidden email]
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 [hidden email] 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