Csound Csound-dev Csound-tekno Search About

[Csnd] "Mimapped" Table Lookups

Date2008-12-15 09:30
Fromdark141@gmail.com
Subject[Csnd] "Mimapped" Table Lookups
AttachmentsNone  

Date2008-12-15 20:29
FromMark Van Peteghem
Subject[Csnd] Re: "Mimapped" Table Lookups
There is oscilikt and tablekt, and some variations of these. The example 
csd of grain2 in the manual shows how you can make different bandlimited 
versions of a table, in the loop called loop1. There the tables all have 
the same size, but you could easily modify that.

dark141@gmail.com wrote:
> Are there any existing opcodes (like oscili) that can lookup a set of tables 
> in a mipmapped fashion?
>
> It seems it would be a very fast way to output (pre-computed) perfectly 
> bandlimited waveforms.
>
> I can of course do this with a UDO, but was looking for something faster.  If 
> there isn't,  would anyone like me to write an opcode?
>
> Cheers,
> Lilith
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>   

-- 
  Mark
  _________________________________________
  When you get lemons, you make lemonade.
  When you get hardware, you make software.


Date2008-12-15 23:46
FromAnthony Kozar
Subject[Csnd] Re: "Mimapped" Table Lookups
The vco2, vco2init, and vco2ft opcodes may do what you want.  They allow
easy creation and use of multiple bandlimited tables for simple waveforms
(square, saw, etc.) but also allow specifying a user-defined table.  With
the user-defined option though, you only specify a single table instead of
several -- so I am not sure how it calculates the others, maybe with a FFT.

If those are not quite right for you, then the tableikt, tablexkt, or
oscilikt opcodes may be useful in designing your own solution.

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/

dark141@gmail.com wrote on 12/15/08 4:30 AM:

> Are there any existing opcodes (like oscili) that can lookup a set of tables
> in a mipmapped fashion?
> 
> It seems it would be a very fast way to output (pre-computed) perfectly
> bandlimited waveforms.
> 
> I can of course do this with a UDO, but was looking for something faster.  If
> there isn't,  would anyone like me to write an opcode?
> 
> Cheers,
> Lilith