Csound Csound-dev Csound-tekno Search About

[Csnd] Is this the same ftgenonce bug?

Date2010-07-04 03:40
FromJacob Joaquin
Subject[Csnd] Is this the same ftgenonce bug?
I just discovered a bug with ftgenonce. Before I report it to the
tracker, I'm curious if it related to this issue regarding GEN11:
http://sourceforge.net/tracker/?func=detail&atid=564599&aid=2988885&group_id=81968

My problem seems that the last element of the table equals 0 when it
should be 5, in this CSD:



sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
0dbfs = 1

instr 1
    ifn ftgenonce 1, 0, -6, -2, 0, 1, 2, 3, 4, 5

    ie0 tab_i 0, ifn
    ie1 tab_i 1, ifn
    ie2 tab_i 2, ifn
    ie3 tab_i 3, ifn
    ie4 tab_i 4, ifn
    ie5 tab_i 5, ifn

    prints "%d %d %d %d %d %d", ie0, ie1, ie2, ie3, ie4, ie5
    turnoff
endin



i 1 0 1




That produces "0 1 2 3 4 0"  when it should produce "0 1 2 3 4 5".
I've tested it with ftgen and the score f statement, and those produce
the correct results.

Best,
Jake

Date2010-07-04 07:14
Frommenno
Subject[Csnd] Re: Is this the same ftgenonce bug?
Hi Jacob

when i run your example my output is correct - but i do not know why:

ftable 1:
ftgenonce: created new func: 1
0 1 2 3 4 5 WARNING: Buffer underrun in real-time audio output
B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.00000

i run Ubuntu, Csound version 5.12 beta (double samples) Jun 18 2010

Menno

Date2010-07-04 07:30
FromJacob Joaquin
Subject[Csnd] Re: Re: Is this the same ftgenonce bug?
On Sat, Jul 3, 2010 at 11:14 PM, menno  wrote:
> when i run your example my output is correct - but i do not know why:

Interesting. I ran it on OS X using build "Csound version 5.12 (float
samples) Jun  4 2010" and Csound version 5.12 (double samples) Jun  9
2010."  I'll test it on 5.11 in the morning.

Best,
Jake

Date2010-07-04 07:59
Fromalgodon
Subject[Csnd] Re: Re: Is this the same ftgenonce bug?
I get : 0 1 2 3 4 0
Debian sid, Csound version 5.12 (échantillons en format double) Jun 18 2010


Jacob Joaquin wrote:
> 
> On Sat, Jul 3, 2010 at 11:14 PM, menno  wrote:ge
>> when i run your example my output is correct - but i do not know why:
> 
> Interesting. I ran it on OS X using build "Csound version 5.12 (float
> samples) Jun  4 2010" and Csound version 5.12 (double samples) Jun  9
> 2010."  I'll test it on 5.11 in the morning.
> 
> Best,
> Jake
> -- 
> The Csound Blog - http://csound.noisepages.com/
> Slipmat - http://slipmat.noisepages.com/
> 
> 
> 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"
> 
> 
> 


-----
http://www.myspace.com/algodonciego
-- 
View this message in context: http://old.nabble.com/Is-this-the-same-ftgenonce-bug--tp29067112p29067613.html
Sent from the Csound - General mailing list archive at Nabble.com.



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"


Date2010-07-04 08:04
Fromalgodon
Subject[Csnd] Re: Re: Is this the same ftgenonce bug?
I get : 0 1 2 3 4 0
Debian sid, Csound version 5.12 (échantillons en format double) Jun 18 2010


Jacob Joaquin wrote:
> 
> On Sat, Jul 3, 2010 at 11:14 PM, menno  wrote:ge
>> when i run your example my output is correct - but i do not know why:
> 
> Interesting. I ran it on OS X using build "Csound version 5.12 (float
> samples) Jun  4 2010" and Csound version 5.12 (double samples) Jun  9
> 2010."  I'll test it on 5.11 in the morning.
> 
> Best,
> Jake
> -- 
> The Csound Blog - http://csound.noisepages.com/
> Slipmat - http://slipmat.noisepages.com/
> 
> 
> 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"
> 
> 
> 


-----
http://www.myspace.com/algodonciego
-- 
View this message in context: http://old.nabble.com/Is-this-the-same-ftgenonce-bug--tp29067112p29067627.html
Sent from the Csound - General mailing list archive at Nabble.com.



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"


Date2010-07-04 08:13
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Is this the same ftgenonce bug?
Work OK for me
ftable 1:
ftgenonce: created new func: 1
f 0 1 0 -6 -2 0 1 2 3 4
0 1 2 3 4 5B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.00000
Score finished in csoundPerform().

Thsi si Linux, 64bit, doubles,  with latest CVS

I eleive that there was modification in thi sarea at som stage but not
sure whst/when

==John ff


> I just discovered a bug with ftgenonce. Before I report it to the
> tracker, I'm curious if it related to this issue regarding GEN11:
> http://sourceforge.net/tracker/?func=detail&atid=564599&aid=2988885&group_id=81968
>




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"

Date2010-07-04 08:18
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Is this the same ftgenonce bug?
Just noticed an oddity.  ftgenonce prints the EVTBLK but in this example
it does not pront the last value, which suggest sa fencepost problem
somewhere.

> Work OK for me
> ftable 1:
> ftgenonce: created new func: 1
> f 0 1 0 -6 -2 0 1 2 3 4
                          ^_________________NO FIVE ECHOED***************
*************************************************************************
> 0 1 2 3 4 5B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.00000
> Score finished in csoundPerform().
>




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"