A continuous simple on-thread immutable sine wave synthesizer.
More...
|
| static void | waitForKey (final String message) |
| |
| static int | findBestWaveCount (final float freq, final int sampleRate, final int minWaves, final int maxWaves) |
| |
| static float | atof (final String str, final float def) |
| |
| static void | main (final String[] args) |
| |
|
| static final float | PI = 3.14159265358979323846f |
| | The value PI, i.e. More...
|
| |
| static final float | TWO_PI = 2f * PI |
| | The value 2PI, i.e. More...
|
| |
A continuous simple on-thread immutable sine wave synthesizer.
Implementation simply finds the best loop'able sample-count for a fixed frequency and plays it indefinitely.
Definition at line 50 of file Synth01AL.java.
◆ atof()
| static float com.jogamp.openal.test.manual.Synth01AL.atof |
( |
final String |
str, |
|
|
final float |
def |
|
) |
| |
|
static |
◆ exit()
| void com.jogamp.openal.test.manual.Synth01AL.exit |
( |
| ) |
|
◆ findBestWaveCount()
| static int com.jogamp.openal.test.manual.Synth01AL.findBestWaveCount |
( |
final float |
freq, |
|
|
final int |
sampleRate, |
|
|
final int |
minWaves, |
|
|
final int |
maxWaves |
|
) |
| |
|
static |
◆ init()
| void com.jogamp.openal.test.manual.Synth01AL.init |
( |
| ) |
|
◆ loop()
| void com.jogamp.openal.test.manual.Synth01AL.loop |
( |
final float |
freq | ) |
|
◆ main()
| static void com.jogamp.openal.test.manual.Synth01AL.main |
( |
final String[] |
args | ) |
|
|
static |
◆ waitForKey()
| static void com.jogamp.openal.test.manual.Synth01AL.waitForKey |
( |
final String |
message | ) |
|
|
static |
◆ PI
| final float com.jogamp.openal.test.manual.Synth01AL.PI = 3.14159265358979323846f |
|
static |
The value PI, i.e.
180 degrees in radians.
Definition at line 52 of file Synth01AL.java.
◆ TWO_PI
| final float com.jogamp.openal.test.manual.Synth01AL.TWO_PI = 2f * PI |
|
static |
The value 2PI, i.e.
360 degrees in radians.
Definition at line 55 of file Synth01AL.java.
The documentation for this class was generated from the following file: