| Simple anser is that tne ophase is incremented by
p->kinc = (int32) (csound->kicvt / *p->idur);
which in this case is zero. So phase never moves
csound->kicvt is defines as (MYFLT) FMAXLEN / p->l_ekr
FMAXLEN is 0x1000000 ans p->l_ekr is same as kr
Will loo further, but this is original code I think
==John ff
> Can anyone explain why ksmps has to be greater than 1 for this to
> behave as expected? As it stands it will only print the first value
> from the table?
>
>
>
> -odevaudio
>
>
> sr = 44100
> ksmps = 1
>
> instr 1
> k1 oscil1 0, 10000, ftlen(1), 1
> printk2 k1
> endin
>
>
> f1 0 512 10 1
> i1 0 100
>
>
>
>
> 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"
|