SoundBoardBuilder

Creates a standard SoundBoard format to replicate across all platforms

See also

Inheritors

Properties

Link copied to clipboard
abstract val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

Link copied to clipboard

a list of SoundByte values loaded by the user

Functions

Link copied to clipboard
open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

open fun load(soundByte: Pair<String, String>)

Used to load a Pair for name and URI String values onto a SoundBoard

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

open fun load(soundByte: Map<String, String>)

Used to load a Map of names and URI String values onto a SoundBoard

open fun load(soundName: String, localPath: String)

Used to load a SoundByte onto a SoundBoard

Link copied to clipboard
abstract fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

Link copied to clipboard
abstract fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel