Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] pfields > 2000

Eduardo Moguillansky <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAHFFssJrFbNZ1sbqqatgzD2KjQFR3GJGnfqBbZ=0jH9NGjTvYQ@mail.gmail.com>
I think this might be it:

https://github.com/csound/csound/pull/1764

On Thu, May 8, 2025 at 12:59 PM Victor Lazzarini <
[email protected]> wrote:

> Do you have the PR number?
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> On 8 May 2025, at 11:33, Eduardo Moguillansky <
> [email protected]> wrote:
>
> 
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System.
> Do not reply, click links or open attachments unless you recognise the
> sender and know the content is safe.
> I had submitted a PR long ago which fixed this problem, but it seems to
> not have been applied to csound 7. Whenever the number of pfields exceeds
> 2000 csound crashes.
>
> I don't have the code anymore
>
> Test code:
>
> <CsoundSynthesizer>
>
> <CsOptions>
>
> -odac
>
> </CsOptions>
>
> <CsInstruments>
>
>
> sr = 44100
>
> ksmps = 64
>
> nchnls = 2
>
> 0dbfs = 1
>
>
> instr 10
>
> ipfields[] passign 4
>
> printarray ipfields
>
> turnoff
>
> endin
>
>
> instr 20
>
> ipfields[] genarray 0, 2000
>
> ipfields[0] = 10
>
> ipfields[1] = 0
>
> ipfields[2] = 1
>
> schedule ipfields
>
> turnoff
>
> endin
>
>
> </CsInstruments>
>
> <CsScore>
>
>
> i 20 0 1
>
>
> </CsScore>
>
> </CsoundSynthesizer>
>
>
>
>
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.