All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.web.audio.AudioBuffer.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.audio

import js.typedarrays.Float32Array

external class AudioBuffer(
    options: AudioBufferOptions,
) {
    val duration: Double
    val length: Int
    val numberOfChannels: Int
    val sampleRate: Int
    fun copyFromChannel(
        destination: Float32Array,
        channelNumber: Number,
        bufferOffset: Number = definedExternally,
    )

    fun copyToChannel(
        source: Float32Array,
        channelNumber: Number,
        bufferOffset: Number = definedExternally,
    )

    fun getChannelData(channel: Number): Float32Array
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy