table, tablei and table3 opcodes

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

table, tablei and table3 opcodes

john ffitch
(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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

Tito Latini
table-stress

<CsoundSynthesizer>
<CsOptions>
-d -n
</CsOptions>
<CsInstruments>
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
</CsInstruments>

<CsScore>
f1 0 65537 -7 -12345.0 65536 12345.0
f2 0 129 21 1 0.7
i1 0 1000
</CsScore>
</CsoundSynthesizer>

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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

Steven Yi
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.

<CsoundSynthesizer>
<CsOptions>
-d -n
</CsOptions>
<CsInstruments>
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
</CsInstruments>

<CsScore>
i1 0 1
</CsScore>
</CsoundSynthesizer>


On Mon, Jan 23, 2012 at 1:39 PM, Tito Latini <[hidden email]> wrote:

> table-stress
>
> <CsoundSynthesizer>
> <CsOptions>
> -d -n
> </CsOptions>
> <CsInstruments>
> 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
> </CsInstruments>
>
> <CsScore>
> f1 0 65537 -7 -12345.0 65536 12345.0
> f2 0 129 21 1 0.7
> i1 0 1000
> </CsScore>
> </CsoundSynthesizer>
>
> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

jpff
thanks' Steven's example seems OK but Titos crashes with tablei and
table3, or with table.  Investigating further
==John



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

Victor Lazzarini
While you are at it, it would be worth converting tablew too.



On 23 Jan 2012, at 19:25, [hidden email] wrote:

> thanks' Steven's example seems OK but Titos crashes with tablei and
> table3, or with table.  Investigating further
> ==John
>
>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

jpff
My plan wasto work through them, starting with the easiest.  Until I
understand why tablei fails so spectacularly nothing will happen.....


> While you are at it, it would be worth converting tablew too.
>
>
>



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: table, tablei and table3 opcodes

Victor Lazzarini
Ok, let me know if you need help.



On 23 Jan 2012, at 21:01, [hidden email] wrote:

> My plan wasto work through them, starting with the easiest.  Until I
> understand why tablei fails so spectacularly nothing will happen.....
>
>
>> While you are at it, it would be worth converting tablew too.
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...