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

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

public class SawtoothMultiWave
extends MultiWave

Somewhat paradoxically a sawtooth wave is used to derive a rectangular wave variable between pulse and square, depending on the variable width parameter. Also paradoxically, a variable width sawtooth/triangle is not derived from a sawtooth.

Author:
st

Constructor Summary
SawtoothMultiWave(int size, float fNyquist)
           
 
Method Summary
 float getWidthOffset(float width)
           
 
Methods inherited from class uk.org.toot.synth.modules.oscillator.MultiWave
getIndex, getWave, getWidthScalar, getWidthStartFactor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SawtoothMultiWave

public SawtoothMultiWave(int size,
                         float fNyquist)
Method Detail

getWidthOffset

public float getWidthOffset(float width)
Overrides:
getWidthOffset in class MultiWave


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