alsa-project / alsa-utils

The Advanced Linux Sound Architecture (ALSA) - utilities
GNU General Public License v2.0
197 stars 136 forks source link

speaker-test: Add band-limited pink noise, per SMPTE ST-2095:1-2015 #251

Closed whorfin closed 8 months ago

whorfin commented 9 months ago

Happy holidays and thank you for this very handy tool. I very much appreciated the addition of pure tones, which have been helpful in tuning pipewire configurations. In return, I'd like to add back a "standard" -18.5dB FS AES bandlimited pink noise per SMPTE spec, useful for setting audio levels in cinema B-chain and home theater settings. Cheers

whorfin commented 8 months ago

In the interim, as I was attempting to track down a slight distortion in an audio interface I changed the sine tone, to use a simple harmonic oscillator. Behaves the same (pure sine tone) but no worries about accumulating floating point phase error, it's simple and robust (and fast)