JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java™ (public API).
com.jogamp.openal.test.manual.Synth02AL Class Reference

A continuous simple off-thread mutable sine wave synthesizer. More...

Collaboration diagram for com.jogamp.openal.test.manual.Synth02AL:

Static Public Member Functions

static float atof (final String str, final float def)
 
static String enterValue (final String message)
 
static void main (final String[] args)
 

Detailed Description

A continuous simple off-thread mutable sine wave synthesizer.

Implementation utilizes an off-thread worker thread, allowing to change frequency and amplitude without disturbance.

Latency is hardcoded as 1 - 3 times frameDuration, having a frameDuration of 12 ms. Averages around 24 ms.

Latency needs improvement to have a highly responsive life-music synthesizer.

Definition at line 54 of file Synth02AL.java.

Member Function Documentation

◆ atof()

static float com.jogamp.openal.test.manual.Synth02AL.atof ( final String  str,
final float  def 
)
static

Definition at line 55 of file Synth02AL.java.

Here is the caller graph for this function:

◆ enterValue()

static String com.jogamp.openal.test.manual.Synth02AL.enterValue ( final String  message)
static

Definition at line 64 of file Synth02AL.java.

Here is the caller graph for this function:

◆ main()

static void com.jogamp.openal.test.manual.Synth02AL.main ( final String[]  args)
static

Definition at line 75 of file Synth02AL.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: