Generates tones with options for
sine, sawtooth, triangle, square
and synthesized piano (organ-like) waves.

GenerateTone
Generates tones with options for sine, sawtooth, triangle, square, and synthesized piano (organ-like) waves.
- trackId: Identifier.
- waveType: (Sine, Sawtooth, Triangle, Square, Piano).
- frequency: Pitch in Hertz.
- duration: Pitch in seconds.
- silenceDuration: Duration of silence between tones in seconds.
- addSilence: Whether to add silence between tones.
- amplitude: Amplitude of the tone.
- fadeOut: Duration of the fade effect at the end of the tone in seconds.
StopAll
Stops all currently playing tones with a fade duration.

- fadeOutDuration: Duration of the fade effect in milliseconds.
StopById
Stops a specific tone by its id with a fade duration.
- trackId: Identifier.
- fadeOutDuration: Duration of the fade effect in milliseconds.
IsPlaying
Returns true if any tone is currently playing.

PlayingStatusChanged
Fired when the playing status changes.
ToneStarted
Fired when a tone starts playing.

ToneFinished
Fired when a tone finishes playing.

v1.2 Oct 12, 2025.
ToneGenerator.aia (41.3 KB)
joejsanz.joedevtonegenerator.aix (14.5 KB)
JDK: 11
Minimum API Level: 21
Updated On: 2025-10-12T07:00:00Z
Built using: FAST-CLI v5.2.0-premium
Thanks.



