uk.org.toot.synth.modules.oscillator
Class MultiWaves

java.lang.Object
  extended by uk.org.toot.synth.modules.oscillator.MultiWaves

public class MultiWaves
extends java.lang.Object

Wavetable implementations of classic waves. These waves are band-limited so they do NOT alias.

Author:
st

Constructor Summary
MultiWaves()
           
 
Method Summary
static MultiWave createSawtoothWave(int nsamples)
           
static MultiWave createSquareWave(int nsamples)
           
static MultiWave get(java.lang.String name)
           
static java.util.List<java.lang.String> getNames()
           
static void setSize(int aSize)
          The actual size is likely to be slightly larger than the requested size to allow for efficient linear interpolation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiWaves

public MultiWaves()
Method Detail

getNames

public static java.util.List<java.lang.String> getNames()

get

public static MultiWave get(java.lang.String name)

setSize

public static void setSize(int aSize)
The actual size is likely to be slightly larger than the requested size to allow for efficient linear interpolation. The requested size is actually the size of the loopable data.

Parameters:
aSize -

createSquareWave

public static MultiWave createSquareWave(int nsamples)

createSawtoothWave

public static MultiWave createSawtoothWave(int nsamples)


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.