wavesurfer.js
    Preparing search index...

    Type Alias RecordPluginOptions

    type RecordPluginOptions = {
        audioBitsPerSecond?: MediaRecorderOptions["audioBitsPerSecond"];
        continuousWaveform?: boolean;
        continuousWaveformDuration?: number;
        mediaRecorderTimeslice?: number;
        mimeType?: MediaRecorderOptions["mimeType"];
        renderRecordedAudio?: boolean;
        scrollingWaveform?: boolean;
        scrollingWaveformWindow?: number;
    }
    Index
    audioBitsPerSecond?: MediaRecorderOptions["audioBitsPerSecond"]

    The audio bitrate to use when recording audio, defaults to 128000 to avoid a VBR encoding.

    continuousWaveform?: boolean

    Accumulate and render the waveform data as the audio is being recorded, false by default

    continuousWaveformDuration?: number

    The duration of the continuous waveform, in seconds

    mediaRecorderTimeslice?: number

    The timeslice to use for the media recorder, defaults to 200ms

    mimeType?: MediaRecorderOptions["mimeType"]

    The MIME type to use when recording audio

    renderRecordedAudio?: boolean

    Whether to render the recorded audio at the end, true by default

    scrollingWaveform?: boolean

    Whether to render the scrolling waveform, false by default

    scrollingWaveformWindow?: number

    The duration of the scrolling waveform window, defaults to 5 seconds