Free How much of your firm runs on you? Take the 2-minute Key Man Score.
Lesson reading
0%

Lesson 3 / Unit 1: Audio Foundations

Telephone Channels

Separate sample-rate conversion from channel simulation, and avoid claiming effects the source audio cannot show.

The source recordings are already 8 kHz. They cannot demonstrate which high-frequency information was lost during an earlier conversion from wideband audio. Upsampling them produces more samples, not new acoustic evidence.

Controlled Changes

Use our narrowband examples to study added distortion, noise and level changes. Use a separate wideband recording if your question is the effect of downsampling. Keep each transform separate before combining them.

ExperimentKeep fixedQuestion
Added noiseOriginal clip and decoderWhich digits change at the chosen SNR?
Level changeNoise and transcriptDoes preprocessing handle quiet audio?
Codec round tripSample rate and framingWhat does this codec implementation alter?
DownsamplingA genuine wideband sourceWhat changes after anti-alias filtering?

An 8 kHz WAV is not automatically a telephone call. A real path can add endpoint processing, packet loss, transcoding and competing speech. The phone-channel walkthrough develops a controlled approximation and its limits.

Noise Probe

For a reproducible full-clip SNR probe:

rng = np.random.default_rng(17)
noise = rng.standard_normal(audio.shape).astype('float32')
noise /= np.sqrt(np.mean(noise**2))
signal_rms = np.sqrt(np.mean(audio**2))
noisy = audio + noise * signal_rms * 10**(-10/20)

This requests 10 dB using RMS across the entire clip, including its silence. It does not describe speech-active SNR. Do not silently clip or renormalise the mixture: those operations change the experiment.

Compare Outputs

Listen to the clean and transformed clip at a sensible playback volume. Decode both with the same checkpoint and retain both hypotheses. A worsening prediction is one observation, not a robustness curve.

Channel Robustness extends this into a paired evaluation. First, inspect the dataset so its conditions are explicit.

We do this work for teams shipping voice agents: Self-Hosted Voice Agent .

Edit this lesson on GitHub ↗

Discussion

Questions, corrections and war stories welcome. Sign in with GitHub to comment.

Free guide

Be The 10x Entrepreneur

Get the firm out of your head.

  • 8 chapters
  • 7 worksheets
  • 30 day plan