uk.org.toot.synth.modules.oscillator
Class MultiWaves
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiWaves
public MultiWaves()
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.