| Here's another example that stresses tables. It creates a table with
sizes from 2 to 513 then tries to read every point in each table it
creates.
-d -n
sr = 44100
ksmps = 64
nchnls = 1
0dbfs = 1
instr 1
isize = 2
imax = 513
until (isize == imax) do
icount = 0
itab ftgen 0, 0, -isize, 10, 1
until (icount == isize) do
ival table3 icount, itab
icount = icount + 1
od
print icount
isize = isize + 1
ftfree itab, 0
od
turnoff
endin
i1 0 1
On Mon, Jan 23, 2012 at 1:39 PM, Tito Latini wrote:
> table-stress
>
>
>
> -d -n
>
>
> sr = 44100
> ksmps = 64
> nchnls = 1
> 0dbfs = 1
>
> #define TABLE #table3#
>
> instr 1
> at9 init 0.123456789
> at1 $TABLE at9, 2, 1, .23, 1
> at2 $TABLE at1, 1, 0, .57, 0
> at3 $TABLE at2, 2, 1, .74, 1
> at4 $TABLE at3, 1, 0, .33, 0
> at5 $TABLE at4, 2, 1, .61, 1
> at6 $TABLE at5, 1, 0, .95, 0
> at7 $TABLE at6, 2, 1, .11, 1
> at8 $TABLE at7, 1, 0, .48, 0
> at9 $TABLE at8, 2, 1, .99, 1
>
> out at9
> endin
>
>
>
> f1 0 65537 -7 -12345.0 65536 12345.0
> f2 0 129 21 1 0.7
> i1 0 1000
>
>
>
> On Mon, Jan 23, 2012 at 05:38:21PM +0000, john ffitch wrote:
>> (sorry if this is a repeat ..)
>>
>> I *think* I have modified these opcodes to utilise non-power-of-2
>> tables. It runs the simple examples in the manual for table and
>> tablei (does not seem to be a table3.csd) but this is barely
>> sufficient. I would appreciate some test programs that stress the
>> edge cases, especially the wrap cases.
>>
>> ==John ffitch
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |