[Csnd] 4 Channel Interface Problem with csound
Date | 2012-04-19 12:25 |
From | luis antunes pena |
Subject | [Csnd] 4 Channel Interface Problem with csound |
Hello, I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: PortAudio: selected output device 'Saffire 6USB' *** PortAudio: error: -9998: Invalid number of channels Failed to initialise real time audio output inactive allocs returned to freespace end of score. overall amps: 0.0 0.0 0.0 0.0 overall samples out of range: 0 0 0 0 1 errors in performance This seams to be an error from csound because when using Digital Performer it recognizes all four channels. Any ideas what could be the problem? I'm running Csound 5.17 (doubles) with OSX 10.6.8 Thanks, Luis -- http://luisantunespena.eu |
Date | 2012-04-19 12:35 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Sounds like a problem with portaudio. Have you tried Jack or the AuHal module? Victor On 19 Apr 2012, at 12:25, luis antunes pena wrote: > Hello, > I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: > > PortAudio: selected output device 'Saffire 6USB' > *** PortAudio: error: -9998: Invalid number of channels > Failed to initialise real time audio output > inactive allocs returned to freespace > end of score. overall amps: 0.0 0.0 0.0 0.0 > overall samples out of range: 0 0 0 0 > 1 errors in performance > > This seams to be an error from csound because when using Digital Performer it recognizes all four channels. > > Any ideas what could be the problem? > > I'm running Csound 5.17 (doubles) with OSX 10.6.8 > > Thanks, > > Luis > > -- > http://luisantunespena.eu > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > 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 | 2012-04-19 12:37 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Luis, also: maybe it's to do with different numbers of available ins and outs. You can set nchnls_i = X to set a number of input channels that is different to nchnls. On 19 Apr 2012, at 12:25, luis antunes pena wrote: > Hello, > I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: > > PortAudio: selected output device 'Saffire 6USB' > *** PortAudio: error: -9998: Invalid number of channels > Failed to initialise real time audio output > inactive allocs returned to freespace > end of score. overall amps: 0.0 0.0 0.0 0.0 > overall samples out of range: 0 0 0 0 > 1 errors in performance > > This seams to be an error from csound because when using Digital Performer it recognizes all four channels. > > Any ideas what could be the problem? > > I'm running Csound 5.17 (doubles) with OSX 10.6.8 > > Thanks, > > Luis > > -- > http://luisantunespena.eu > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > 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 | 2012-04-19 12:38 |
From | luis antunes pena |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Indeed. It works fine with Jack. Could it be that the problem is due to the interface having 4 outputs but only 2 inputs? Thanks, Luis Am 19.04.12 13:35, schrieb Victor Lazzarini: > Sounds like a problem with portaudio. Have you tried Jack or the AuHal module? > > Victor > On 19 Apr 2012, at 12:25, luis antunes pena wrote: > >> Hello, >> I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: >> >> PortAudio: selected output device 'Saffire 6USB' >> *** PortAudio: error: -9998: Invalid number of channels >> Failed to initialise real time audio output >> inactive allocs returned to freespace >> end of score. overall amps: 0.0 0.0 0.0 0.0 >> overall samples out of range: 0 0 0 0 >> 1 errors in performance >> >> This seams to be an error from csound because when using Digital Performer it recognizes all four channels. >> >> Any ideas what could be the problem? >> >> I'm running Csound 5.17 (doubles) with OSX 10.6.8 >> >> Thanks, >> >> Luis >> >> -- >> http://luisantunespena.eu >> >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> 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 tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > -- -- http://luisantunespena.eu |
Date | 2012-04-19 12:46 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Definitely. Try using nchnls_i Victor On 19 Apr 2012, at 12:38, luis antunes pena wrote: > Indeed. It works fine with Jack. Could it be that the problem is due to the interface having 4 outputs but only 2 inputs? > Thanks, > Luis > > Am 19.04.12 13:35, schrieb Victor Lazzarini: >> Sounds like a problem with portaudio. Have you tried Jack or the AuHal module? >> >> Victor >> On 19 Apr 2012, at 12:25, luis antunes pena wrote: >> >>> Hello, >>> I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: >>> >>> PortAudio: selected output device 'Saffire 6USB' >>> *** PortAudio: error: -9998: Invalid number of channels >>> Failed to initialise real time audio output >>> inactive allocs returned to freespace >>> end of score. overall amps: 0.0 0.0 0.0 0.0 >>> overall samples out of range: 0 0 0 0 >>> 1 errors in performance >>> >>> This seams to be an error from csound because when using Digital Performer it recognizes all four channels. >>> >>> Any ideas what could be the problem? >>> >>> I'm running Csound 5.17 (doubles) with OSX 10.6.8 >>> >>> Thanks, >>> >>> Luis >>> >>> -- >>> http://luisantunespena.eu >>> >>> >>> >>> Send bugs reports to the Sourceforge bug tracker >>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >>> 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 tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >> >> > > > -- > -- > http://luisantunespena.eu > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > 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 | 2012-04-19 14:28 |
From | luis antunes pena |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Thanks Victor. I didn't know about this variable. I tried like this
but it didn't work: sr = 44100 ksmps = 64 nchnls = 4 nchnls_i = 2
Am 19.04.12 13:46, schrieb Victor Lazzarini: Definitely. Try using nchnls_i Victor On 19 Apr 2012, at 12:38, luis antunes pena wrote:Indeed. It works fine with Jack. Could it be that the problem is due to the interface having 4 outputs but only 2 inputs? Thanks, Luis Am 19.04.12 13:35, schrieb Victor Lazzarini:Sounds like a problem with portaudio. Have you tried Jack or the AuHal module? Victor On 19 Apr 2012, at 12:25, luis antunes pena wrote:Hello, I was trying the Focusrite Saffire 6 USB with csound and it seams to have a problem with multichannels. Csound gives an error when using the Focusrite with more than 2 channels: PortAudio: selected output device 'Saffire 6USB' *** PortAudio: error: -9998: Invalid number of channels Failed to initialise real time audio output inactive allocs returned to freespace end of score. overall amps: 0.0 0.0 0.0 0.0 overall samples out of range: 0 0 0 0 1 errors in performance This seams to be an error from csound because when using Digital Performer it recognizes all four channels. Any ideas what could be the problem? I'm running Csound 5.17 (doubles) with OSX 10.6.8 Thanks, Luis -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 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 tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"-- -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 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 tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" -- -- http://luisantunespena.eu |
Date | 2012-04-19 14:55 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Not sure what the problem is, but that is supposed to select different numbers of out channels. Victor On 19 Apr 2012, at 14:28, luis antunes pena wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-19 17:11 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
yes, it's a bug in our portaudio module, and I fixed it in GIT. My impression is that rtauhal does it correctly. And of course you can use jack. On 19 Apr 2012, at 14:28, luis antunes pena wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-19 17:45 |
From | luis antunes pena |
Subject | Re: [Csnd] 4 Channel Interface Problem with csound |
Great Victor. Thank you very much. I'm using now Jack, but will try
rtauhal later. Best, Luis Am 19.04.12 18:11, schrieb Victor Lazzarini: yes, it's a bug in our portaudio module, and I fixed it in GIT. My impression is that rtauhal does it correctly. -- -- http://luisantunespena.eu |