| I tried it here and got the same error reported. Could you file an
issue on the Csound tracker for this on Github? Seems like a bug to
me.
On Fri, Nov 6, 2015 at 7:39 PM, ebmtranceboy wrote:
> Hi,
> the second note of my program is a PERF ERROR in instr
> 1: Array index 325 out of range (0,318) for dimension 1.
> Does it comes from a bug or did I miss something ?
>
>
>
> -odac
>
>
>
> sr = 44100
> ksmps = 10
> nchnls = 1
> 0dbfs = 1
>
>
> instr 1
>
> icps = cpspch(p4)
> ain poscil 1,icps
>
> ilen = int(sr/icps)+1
> print ilen
>
> kbuf[] init ilen
> kidx init 0
> kval init 0
>
> aout = 0
> ksmp = 0
>
> while ksmp < ksmps do
> kin vaget ksmp, ain
> kbuf[kidx % ilen] = kval + kin
>
> kval = kbuf[(kidx + 6) % ilen]
> vaset kval, ksmp, aout
>
> kidx += 1
> kidx = kidx % ilen
> ksmp += 1
> od
>
> out aout/30
>
> endin
>
>
>
>
> i1 0 2 7.00
> i1 2 2 7.01
> e
>
>
>
>
> Thanks
>
>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> 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
Csound@listserv.heanet.ie
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 |