Sound - Multiple sound playback

Sound
Multiple sound playback.

  • It does not play back large files (better for short effects).
  • SoundPool is used for low latency (ideal for games).
  • Allows up to 15 sounds to play simultaneously.
  • Each sound has its own ID and stream.
  • You can pause or stop each sound individually.

Load

Load a sound from assets or from a URL.


Play

Plays the sound at normal volume and pitch, without looping.


Stop

Stops a specific sound.


Pause

Pause a specific sound.


Resume

Resumes a specific sound.


Unload

Free the memory of a specific sound.


Volume

Control volume for a specific sound or all sounds. If id is -1, applies to all sounds.


Rate

Control rate (pitch) for a specific sound or all sounds. If id is -1, applies to all sounds. Value range: 0.5 - 2.0.


LoopMode

Set loop mode for a specific sound or all sounds. If id is -1, applies to all sounds. Mode: 0 = no loop, -1 = infinite loop, >0 = number of repetitions.


Priority

Set priority for a specific sound or all sounds. If id is -1, applies to all sounds. Higher value = higher priority.


SoundLoaded

It triggers when all sounds have been successfully loaded. It returns a list of all the loaded IDs.

  • It only triggers once all pending sounds have loaded.

v1.1 September 09, 2026.

Sound.aia (170.0 KB)

joejsanz.joedevsound.aix (16.0 KB)


JDK: 17
Minimum API Level: 14
Updated On: 2026-09-09T07:00:00Z

Built using: FAST-CLI v7.0.0-premium


Support free development

  • This extension is and will remain free. If you have found it useful and wish to support my work so I can continue creating and updating components like this one, any voluntary contribution is greatly appreciated:

Donar con PayPal


Thanks.

6 Likes

Updatev1.1

1 Like