Csound Csound-dev Csound-tekno Search About

[Csnd] Maximum number of instruments

Date2011-11-12 09:07
FromAnton Kholomiov
Subject[Csnd] Maximum number of instruments
Is there a limit on number of instruments in the orchestra?

Date2011-11-12 09:31
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Maximum number of instruments
> Is there a limit on number of instruments in the orchestra?
>

Limited by memory and the maximum size of a file containing the text

..or not explicit limit

==John ff



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"

Date2011-11-12 10:40
FromAnton Kholomiov
SubjectRe: [Csnd] Maximum number of instruments
That's a good news, but imagine I'm an insane coder, instead of writing
orchestra and score, i'm writing single instance of instrument for every note,
so all my instruments take in only p1, p2 and p3 parameters. Is there 
a big performance penalty for me? Instead of typing an instrument for 
every single note.

2011/11/12 <jpff@cs.bath.ac.uk>
> Is there a limit on number of instruments in the orchestra?
>

Limited by memory and the maximum size of a file containing the text

..or not explicit limit

==John ff



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"



Date2011-11-12 12:09
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Maximum number of instruments
> That's a good news, but imagine I'm an insane coder, instead of writing
> orchestra and score, i'm writing single instance of instrument for every
> note,
> so all my instruments take in only p1, p2 and p3 parameters. Is there
> a big performance penalty for me? Instead of typing an instrument for
> every single note.
>

The hit would be in memory use and less efficient cache behaviour; that is
all i think




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"

Date2011-11-14 19:45
FromDavid Akbari
SubjectRe: [Csnd] Maximum number of instruments
Is there still an explicit limit on the number of p-fields or has that
been dealt with in the new parser somehow?


David

On Sat, Nov 12, 2011 at 6:09 AM,   wrote:
>> That's a good news, but imagine I'm an insane coder, instead of writing
>> orchestra and score, i'm writing single instance of instrument for every
>> note,
>> so all my instruments take in only p1, p2 and p3 parameters. Is there
>> a big performance penalty for me? Instead of typing an instrument for
>> every single note.
>>
>
> The hit would be in memory use and less efficient cache behaviour; that is
> all i think
>
>
>
>
> 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"
>
>


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"


Date2011-11-14 19:57
FromAdam Puckett
SubjectRe: [Csnd] Maximum number of instruments
There's a "soft limit" of 1998 p-fields, which means if you go past it
the extra p-fields are stored in an "extra" list. And there is only
one score parser.

On 11/14/11, David Akbari  wrote:
> Is there still an explicit limit on the number of p-fields or has that
> been dealt with in the new parser somehow?
>
>
> David
>
> On Sat, Nov 12, 2011 at 6:09 AM,   wrote:
>>> That's a good news, but imagine I'm an insane coder, instead of writing
>>> orchestra and score, i'm writing single instance of instrument for every
>>> note,
>>> so all my instruments take in only p1, p2 and p3 parameters. Is there
>>> a big performance penalty for me? Instead of typing an instrument for
>>> every single note.
>>>
>>
>> The hit would be in memory use and less efficient cache behaviour; that is
>> all i think
>>
>>
>>
>>
>> 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"
>>
>>
>
>
> 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"
>
>


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"


Date2011-11-14 21:02
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Maximum number of instruments
> Is there still an explicit limit on the number of p-fields or has that
> been dealt with in the new parser somehow?
>
>
> David

There is code to exrens p fields indefinitely.  Onlytested in simple cases
==John ff




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"