uk.org.toot.synth.modules.oscillator
Interface Wave

All Known Implementing Classes:
SingleWave

public interface Wave


Method Summary
 float get(float index)
           
 float[] getData()
           
 float getPeriod()
           
 

Method Detail

getData

float[] getData()
Returns:
the data

getPeriod

float getPeriod()
Returns:
the period of the wave signal in samples, which may be less than the wave length for some waves.

get

float get(float index)
Parameters:
index - the floating point index
Returns:
a linearly interpolated sample of the wave


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