Csound Csound-dev Csound-tekno Search About

Re: [Csnd] GEN16 strangeness

Date2012-01-16 20:54
From"Art Hunkins"
SubjectRe: [Csnd] GEN16 strangeness
Thanks again, Tito.

I gather this means you see no table size limitations on GEN16 at all on 
linux (either float or doubles).

Art Hunkins

----- Original Message ----- 
From: "Tito Latini" 
To: 
Sent: Monday, January 16, 2012 3:34 PM
Subject: Re: [Csnd] GEN16 strangeness


> Csound v5.15 (no git, float or double samples)
> gnu/linux 64
>
> ...
> f3 0 16777217 16 0 16777217 .7 1
> ; or f3 0 16777217 16 0 16777216 .7 1
> ; or f3 0 16777216 16 0 16777216 .7 1
> ...
>
>
> ftable 3: 16777217 points, scalemax 1.000
> 
> _..-'
>                                                                    __..-''
>                                                              _..--'
>                                                       __.--''
>                                               __..--''
>                                       __..--''
>                               __..--''
>                      __..---''
>            __...--'''
> ___...---'''____________________________________________________________________
>
>
> If you are using v5.06 I cannot help you
>
> tito
>
> On Mon, Jan 16, 2012 at 02:13:22PM -0500, Art Hunkins wrote:
>> With respect to GEN16, I've discovered that it only likes extended guard
>> point tables of 4097 and lower. It gives segmentation (or invalid 
>> pointer)
>> errors with tables of 8193 or higher.
>>
>> Interestingly enough, specify a negative table length, and it's fine. 
>> (This
>> allows for tables of arbitrary length.) For example: 8193 won't 
>> work, -8193
>> will.
>>
>> This is true for both float and double precision versions (in Windows).
>>
>> Below is a simple test. Could others confirm on various platforms?
>>
>> Art Hunkins
>>
>>
>> 
>> 
>>
>> -odac --displays -b128 -B2048
>>
>> 
>> 
>>
>> sr = 44100
>> ksmps = 100
>> nchnls  =       2
>>
>>        instr 1
>>
>> k1      linseg   0, 4, 1, 2, 1, 4, 0
>> k2      table    k1, 3, 1
>> aout    poscil   10000 * k2, 400, 2
>>        outs     aout, aout
>>
>>        endin
>>
>> 
>> 
>>
>> f2 0 16384 10 1
>> f3 0 4097 16 0 4097 .7 1; works
>> ;f3 0 8193 16 0 8193 .7 1; doesn't work (segfault or invalid pointer)
>> ;f3 0 -8193 16 0 8193 .7 1; works
>> f4 0 8193 9 .25 1 0
>> i1 0 10
>>
>> 
>> 
>>
>>
>> ----- Original Message ----- 
>> From: 
>> To: 
>> Sent: Monday, January 16, 2012 3:06 AM
>> Subject: Re: [Csnd] GEN16 strangeness
>>
>>
>> >I do not get a crash but i do see
>> >PERF ERROR in instr 1: tab off end
>> >
>> >Using doubles and code adjusted that way
>> >
>> >==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"
>> >
>>
>>
>>
>> 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"