|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Waveform
Interface to define the signature of the function to play.
Nested Class Summary | |
---|---|
static class |
Waveform.ChirpWave
Implements a waveform (chirp). |
static class |
Waveform.SawtoothWave
Implements a waveform (sawtooth). |
static class |
Waveform.SineWave
Implements a waveform (sine). |
static class |
Waveform.SquareWave
Implements a waveform (square). |
static class |
Waveform.TriangleWave
Implements a waveform (triangle). |
static class |
Waveform.WavePlot
Class to display a simple graphics window with 5 periods of the given waveform. |
Method Summary | |
---|---|
double |
f(double t,
double freq)
Signature of the function to play |
Method Detail |
---|
double f(double t, double freq)
t
- the time in secondsfreq
- the frequency in Hertz
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |