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

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

public class SawtoothOscillator
extends java.lang.Object

A bandlimited sawtooth oscillator without PWM, sync

Author:
st

Constructor Summary
SawtoothOscillator(SynthChannel channel, float frequency)
           
 
Method Summary
 float getSample(float mod)
           
 void setSampleRate(int sampleRate)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SawtoothOscillator

public SawtoothOscillator(SynthChannel channel,
                          float frequency)
Method Detail

setSampleRate

public void setSampleRate(int sampleRate)

update

public void update()

getSample

public float getSample(float mod)


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