Skip to content

Audio toolbox: allow non-default sample rates #153

Open
@kpreid

Description

audio-spectrum-main.js constructs an AudioContext with the default sample rate, but this may not be the best sample rate available for a given input device. Detect what that sample rate is and re-create the context to suit. This will require consulting MediaStreamTrack.getCapabilities(), and refactoring to allow replacing the AudioContext after startup.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions