Skip to content

Audio recording sample rate seems to be 48kHz instead of 44.1KHz on Windows 10 (Chrome) #187

@henon

Description

@henon

The docs say that on Windows only a sample rate of 44100 is supported. My experiments and measurements show that the recording sample rate seems to be 48000 samples per second instead.

I use MediaStreamRecorder to record PCM audio with this setup:

        streamRecorder.recorderType = StereoAudioRecorder;
        streamRecorder.mimeType = 'audio/pcm';
        streamRecorder.audioChannels = 1;

When I add up the recorded bytes over time (devided by 2 for 16 bits per sample) I get an average of 48000 samples per second +- some minor difference but it is definitely not 44100.

Could it be that the default recording sample rate has changed in newer OS or browser versions? Or are the docs simply wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions