Audio Sample Rate

Back to Main

Your Audio Sample Rate

The sample rate reveals information about your audio hardware configuration and operating system settings.

Detecting...

1. Technical Classification

Web Audio API JavaScript Client-Side Hardware Attribute

Audio sample rate detection uses the Web Audio API to query your system's default audio sampling frequency. This value:

2. Background & Purpose

Sample rate represents how many times per second audio is sampled for digital processing. Understanding sample rates is fundamental to digital audio.

What Is Sample Rate?

Sample rate (measured in Hertz/Hz) is the number of audio samples captured or played per second:

How Browsers Access Sample Rate

const audioContext = new AudioContext(); const sampleRate = audioContext.sampleRate; // Returns: 44100, 48000, 96000, etc.

The browser reports the default sample rate of your system's audio output device.

Historical Context

3. Common Sample Rate Values

Sample Rate Common Usage What It Suggests
44100 Hz CD Audio, Consumer Hardware Standard consumer audio setup, most common
48000 Hz Professional Video/Audio, Modern Devices Professional equipment or newer consumer devices
96000 Hz High-Resolution Audio Audiophile equipment, professional audio interface
192000 Hz Studio Recording High-end professional audio production equipment
22050 Hz Low-Quality Audio Old hardware or budget devices (rare)
8000 Hz Telephony VoIP or telephony equipment (very rare in browsers)
Most Common: Over 90% of users will report either 44100 Hz or 48000 Hz. Unusual sample rates are relatively rare and more identifying.

4. Legitimate Uses

Web Audio Applications

Quality Adaptation

Fingerprinting Component

While legitimate uses exist, sample rate is also collected as part of device fingerprinting:

5. Platform & Hardware Differences

Default Sample Rates by Platform

Windows

Typical: 48000 Hz (Windows 10/11 default)

Alternative: 44100 Hz on some systems or with older hardware

Configurable: Users can change in Sound Control Panel

macOS

Typical: 48000 Hz (macOS default for most Macs)

Alternative: 44100 Hz on some models or configurations

Configurable: Changed via Audio MIDI Setup utility

Linux

Typical: 44100 Hz or 48000 Hz depending on distribution

Highly Variable: Depends on audio server (ALSA, PulseAudio, PipeWire)

User-Configurable: Often customized by users

Mobile Devices

iOS: Typically 48000 Hz

Android: Usually 48000 Hz, sometimes 44100 Hz

Limited Configuration: Users rarely change mobile audio settings

Professional Audio Equipment

Users with external audio interfaces or professional equipment may report higher sample rates:

6. Privacy Implications & Tracking Risks

Privacy Risk: MEDIUM

While sample rate alone is not highly unique (most users have 44100 or 48000 Hz), it contributes to device fingerprinting when combined with other attributes.

Limited Uniqueness

Sample rate has relatively few possible values:

Alone, this doesn't uniquely identify you, but it narrows the pool.

When Sample Rate Becomes More Identifying

Unusual Sample Rates

If you have 96000 Hz or higher, you're in a much smaller group. This immediately identifies you as someone with professional audio equipment, which is valuable demographic information for advertisers.

Combined Fingerprinting

Sample rate is combined with canvas fingerprints, fonts, screen resolution, etc. The combination of all these attributes creates a unique identifier.

What Sample Rate Reveals

Tracking Persistence

7. Protection & Control

Limited Control Options

Sample rate is a fundamental audio property that's difficult to spoof or hide without breaking web audio functionality.

Browser Privacy Features

Tor Browser

Method: May standardize or block sample rate detection

Effectiveness: High - but may affect audio functionality

Firefox privacy.resistFingerprinting

Method: May standardize reported sample rate

Enable: about:configprivacy.resistFingerprinting = true

Effectiveness: Moderate

Brave Browser

Method: Fingerprinting protection may affect sample rate reporting

Effectiveness: Moderate with strict shields

System-Level Changes

Practical Advice: Changing sample rate is impractical for most users and may affect audio quality. Instead, focus on comprehensive fingerprinting protection through privacy-focused browsers like Brave or Firefox with enhanced protections.

What Doesn't Work

8. Learn More