Skip to main content
v2026.11,986 entries · CC-BY 4.0

Audio Signal: Sampling, Bit Depth and File Formats

What an audio signal is, how sample rate, bit depth and WAV/BWF define a digital recording, and which parameters to document in a lab protocol.

Written and maintained by CASRAI Editorial Board

Published

On this page

An audio signal is a representation of sound, usually as a varying electrical voltage in an analog system or as a sequence of numbers in a digital one. In a digital system the sound wave is measured at regular intervals (the sample rate) and each measurement is stored at a fixed precision (the bit depth). Those two numbers, plus channel count and file container, define what a recording can and cannot represent.

Definition and scope

Sound in air is a continuous pressure wave. The Hugging Face audio course puts it directly: a sound wave is a continuous signal, containing an infinite number of signal values in a given time, which is why a digital device has to convert it into a finite list of discrete values before it can store or process it. The same course describes amplitude as the sound pressure level at any given instant, measured in decibels, with louder sounds having higher amplitude.

In practice, the phrase “audio signal” covers two related things. The first is the analog signal, a continuously varying voltage that follows the pressure wave and travels from a microphone to a recorder or amplifier. The second is the digital signal that results when an analog-to-digital converter samples that voltage. This guide is about the second, because that is the object a research group stores, shares and analyses: a file whose numbers are fixed by a handful of settings.

Two views of the same signal appear throughout acoustics and speech work. A waveform plots the sample values over time, so it shows how amplitude changes. A spectrum describes the individual frequencies that make up the signal and how strong each one is. Moving between the two is the core job of signal processing, and a dedicated instrument for the frequency view is covered in what a spectrum analyzer is.

How a digital audio signal is formed

Sample rate

The Audacity manual defines the sample rate as the number of samples captured per second, measured in hertz. It lists common values from 8,000 Hz to 192,000 Hz: 8,000 Hz is described as “speech quality”, and 44,100 Hz is the rate used by audio CDs. The Hugging Face course adds that speech models often work at 16 kHz and that the sampling rate primarily determines the highest frequency that can be captured from the signal.

That highest representable frequency is the Nyquist frequency, which the Audacity manual gives as half the sample rate. The manual states that frequencies at or above it cannot be represented correctly and cause aliasing distortion, so a steep anti-aliasing filter is needed at that point, and oversampling is often used to make the filtering adequate. The manual also says a sample rate of 40,000 Hz is the absolute minimum needed to reproduce the full range of audible sounds, which follows from human hearing reaching about 20,000 Hz.

Worked example. A recording made at 8,000 Hz has a Nyquist frequency of 4,000 Hz, so anything in the source above 4,000 Hz is not captured faithfully. The Hugging Face course notes that speech frequencies are below 8 kHz, which is why the 16 kHz rate is a common choice for speech models: its Nyquist frequency of 8,000 Hz sits at that boundary. Resampling, the process the course describes as making sampling rates match, is a routine preprocessing step when audio from different sources must be combined.

Bit depth and dynamic range

Each sample is rounded to one of a fixed number of levels. The Hugging Face course explains that bit depth determines how precisely the amplitude can be described: 16-bit audio has 65,536 possible values and 24-bit has 16,777,216. Rounding to the nearest level adds quantization noise, which falls as bit depth rises.

The Audacity manual translates bit depth into dynamic range, the span between the quietest and loudest levels the format can hold:

Sample format Dynamic range given by the Audacity manual
8-bit integer 48 dB
16-bit integer 96 dB
24-bit integer 145 dB
32-bit floating point Near-infinite

The same manual cautions that hardware limits make the practical figure for 16-bit more like 90 dB, and that the human ear can perceive a dynamic range of at least 90 dB. It also says Audacity works internally with 32-bit floating-point samples and converts to the chosen bit depth only on export. The data table below this guide sets the sample rates named in these sources next to their Nyquist frequencies and uncompressed data rates.

Clipping

Per the Audacity manual, a signal above plus or minus 1.0 on the linear scale (0 dB) is clipped: samples outside the range are cut to the maximum value. A 32-bit floating-point file can store values beyond that range, but the manual notes they will likely still distort on conventional playback equipment, so peaks have to be brought back under 0 dB before the audio reaches such equipment.

Data rate: the arithmetic that sizes a recording

Uncompressed linear PCM has a data rate you can compute from the settings alone: sample rate times bit depth times number of channels. For the audio CD parameters named above, 44,100 samples per second times 16 bits times 2 channels is 1,411,200 bits per second, or 176,400 bytes per second. One minute is therefore 10,584,000 bytes, a little over 10 MB. This is arithmetic on the stated parameters, not a measured file size, and it applies to uncompressed PCM only; compressed formats trade accuracy or size by other rules.

The same arithmetic explains why file-size limits matter. The Library of Congress format description notes that the RF64 extension of Broadcast WAVE exists to allow files larger than 4 GB. At the CD-style rate above, which is 176,400 bytes per second, a 4 GB file holds roughly six hours of stereo audio, so long field recordings and multi-channel sessions can reach the limit well within a single day of collection.

File formats and archival practice

The Library of Congress Sustainability of Digital Formats entry describes WAVE as a wrapper format that can hold an audio bitstream together with other data chunks. It is a subtype of RIFF, developed by Microsoft and IBM for Windows 3.1, and linear PCM is a common encoding inside it. The entry lists the format as fully documented, with freely available documentation and no licensing required.

For preservation, the entry says reformatting projects usually use one of two EBU-standard variants of Broadcast WAVE (BWF), and that the Library of Congress uses WAVE_BWF_1 as the archival master format for reformatted mono and stereo analog recordings. Its Recommended Formats Statement lists WAVE as a preferred format for digital audio, without specifying a version. The same entry names NARA, Library and Archives Canada and CINES as archives that prefer or recommend WAVE with linear PCM for sound.

The container also carries metadata. According to the entry, the INFO chunk can hold metadata in any RIFF file, the bext chunk adds broadcast metadata in BWF, and iXML, aXML and the AES46-2002 CART/Audio Delivery Extension are further metadata chunks. That matters for research data: a recording whose own header says when, with what and by whom it was made is easier to interpret later than a bare file, and it pairs naturally with the descriptive metadata kept in a project’s data management records.

Measuring level

“How loud is this recording?” has more than one answer, so a protocol that reports level should name the method. The International Telecommunication Union maintains Recommendation ITU-R BS.1770, titled “Algorithms to measure audio programme loudness and true-peak audio level”. The ITU page lists BS.1770-5, approved in November 2023, as the version in force, with earlier versions superseded. It is a broadcast-programme standard, so it defines how programme loudness and true-peak level are measured; it does not by itself define the sound pressure level of an experiment, which is a physical measurement made with calibrated instruments.

Distinguishing three things avoids many reporting errors. Digital peak level is how close the samples come to full scale, the 0 dB clipping point above. Programme loudness is a measured quantity under a named algorithm such as the one in BS.1770. Sound pressure level in decibels is a property of the acoustic field, which the Hugging Face course uses when it contrasts normal speech, under 60 dB, with a rock concert near 125 dB.

What to record about an audio signal in a protocol

The sources above converge on a short list of parameters that fix what a digital audio file contains. Recording them next to the data is an editorial recommendation drawn from those sources, not a requirement stated by any of them.

  • Sample rate in Hz, because it sets the Nyquist frequency and what content can be represented (Audacity manual).
  • Bit depth or sample format, integer or floating point, because it sets quantization precision and dynamic range (Audacity manual; Hugging Face course).
  • Number of channels, because the data rate scales with it.
  • Container and encoding, for example WAVE with linear PCM, and the BWF variant where used (Library of Congress).
  • Any resampling or format conversion applied afterwards, since the Hugging Face course treats resampling as a distinct preprocessing step.
  • The level measurement method, naming the standard and version, such as BS.1770-5, where loudness or true-peak figures are reported.

For analysis software that reads these files, the librosa guide shows a Python library built for audio and music analysis, and LibriSpeech is an example of a public speech corpus whose sample rate and format matter to anyone training or evaluating a model on it.

Common misunderstandings

Higher sample rate does not mean unlimited detail

The sample rate sets the upper frequency limit, the Nyquist frequency, not the precision of each sample. Precision is the bit depth. A file can be high on one and low on the other.

Bit depth is not loudness

A 16-bit file is not louder than an 8-bit file. Bit depth sets the span of levels the format can hold, which the Audacity manual puts at 96 dB for 16-bit integer samples against 48 dB for 8-bit.

A WAV file is not automatically uncompressed

The Library of Congress entry describes WAVE as a wrapper, and notes that its transparency depends on the codec used, naming linear PCM, µ-Law, A-Law, DPCM and ADPCM as different encodings. The container name alone does not tell you the encoding.

Stored values above full scale are not safe

Floating-point storage can hold out-of-range values, but the Audacity manual warns they will likely still distort on conventional playback equipment, so a file that “does not clip” on disk can still clip on playback.

Sources

Data: Sample rates named in audio sources, with Nyquist frequency and uncompressed 16-bit stereo data rate

Compares sample rates that the Audacity manual and the Hugging Face audio course name, with the Nyquist frequency (half the sample rate, as defined in the Audacity manual) and the uncompressed linear PCM data rate for 16-bit, 2-channel audio (sample rate x 16 x 2, computed by CASRAI).

Sample rates named in audio sources, with Nyquist frequency and uncompressed 16-bit stereo data rate
Sample rate (Hz)Nyquist frequency (Hz)Data rate, 16-bit stereo (bit/s)How the sources describe it
80004000256000Called speech quality (Audacity manual)
160008000512000Often used by speech models (Hugging Face course)
44100220501411200Audio CD rate (Audacity manual)
48000240001536000Listed common rate (Audacity manual)
96000480003072000Listed common rate (Audacity manual)
192000960006144000Highest listed common rate (Audacity manual)

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Audio Signal: Sampling, Bit Depth and File Formats

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →