public class SineWave extends java.lang.Object implements MonoWaveform
| Constructor and Description |
|---|
SineWave() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFrequency() |
float |
getSample(int sample,
float p) |
int |
getSamples() |
public static final SineWave INSTANCE
public int getSamples()
getSamples in interface MonoWaveformpublic int getFrequency()
getFrequency in interface MonoWaveformpublic float getSample(int sample,
float p)
getSample in interface MonoWaveform