Csound Csound-dev Csound-tekno Search About

[Cs-dev] getNchnls()

Date2015-02-26 10:11
FromRory Walsh
Subject[Cs-dev] getNchnls()
It seems that whenever an error is found in a file, getNchnls returns
1 regardless of what is set using nchnls. Is this the intended
behavior? it's causing some issues with my patching interface as
connections between nodes are being destroyed if a user has an error
in one of their instruments. When they fix the error, the number of
channels returns to two, but they have to repatch the nodes.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-02-26 10:18
FromVictor Lazzarini
SubjectRe: [Cs-dev] getNchnls()
I think that if there is a syntax error, the file is not compiled, and nchnls is kept at its default value. 
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 26 Feb 2015, at 10:11, Rory Walsh  wrote:
> 
> It seems that whenever an error is found in a file, getNchnls returns
> 1 regardless of what is set using nchnls. Is this the intended
> behavior? it's causing some issues with my patching interface as
> connections between nodes are being destroyed if a user has an error
> in one of their instruments. When they fix the error, the number of
> channels returns to two, but they have to repatch the nodes.
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-02-26 10:40
FromRory Walsh
SubjectRe: [Cs-dev] getNchnls()
Ok. I'll just take the number of channels from the csd file.

On 26 February 2015 at 10:18, Victor Lazzarini  wrote:
> I think that if there is a syntax error, the file is not compiled, and nchnls is kept at its default value.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 26 Feb 2015, at 10:11, Rory Walsh  wrote:
>>
>> It seems that whenever an error is found in a file, getNchnls returns
>> 1 regardless of what is set using nchnls. Is this the intended
>> behavior? it's causing some issues with my patching interface as
>> connections between nodes are being destroyed if a user has an error
>> in one of their instruments. When they fix the error, the number of
>> channels returns to two, but they have to repatch the nodes.
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net