HtmlSimpleSound

Types

Link copied to clipboard
class SimpleSoundChannel(val buffer: AudioBufferOrHTMLMediaElement, val ctx: BaseAudioContext, val params: PlaybackParameters, val coroutineContext: CoroutineContext)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val unlock: Deferred<Unit>
Link copied to clipboard

Functions

Link copied to clipboard
fun callOnUnlocked(callback: (Unit) -> Unit): Cancellable
Link copied to clipboard
Link copied to clipboard
fun AudioNode.gain(callback: GainNode.() -> Unit = {}): GainNode?
Link copied to clipboard
suspend fun loadSound(data: ByteArray): AudioBuffer?
suspend fun loadSound(url: String): AudioBuffer?
suspend fun loadSound(data: ArrayBuffer, url: String): AudioBuffer?
Link copied to clipboard
Link copied to clipboard
fun AudioNode.panner(callback: PannerNode.() -> Unit = {}): PannerNode?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard