zita-alsa-pcmi(1)
Okay bestie, let's talk about zita-alsa-pcmi(1) from the General Commands Manual π It's giving tool energy, and the main character is alsa_delay π§
β¨ NAME β¨
alsa_delay β measure round-trip latency of a soundcard π
π SYNOPSIS π
alsa_delay playdev captdev fsamp frsize nfrags
π¦ DESCRIPTION π¦
Okay so this tool is literally built to measure the round-trip latency of a soundcard π To set it up, start the program and connect everything like this:
alsa_delay -> playdev -> cable from soundcard output to input -> captdev -> alsa_delay
alsa_delay should be able to measure the round-trip latency with an accuracy of around 1/1000 of a sample π€ The assumption is that the latency is more or less independent of frequency, and that the cable between soundcard output and input has virtually zero latency π«Ά
πΈ ARGUMENTS πΈ
playdevβ the ALSA playback device, likehw:0πcaptdevβ the ALSA capture device, likehw:0π€fsampβ the sample rate, like48000β¨frsizeβ the period size, like256πnfragsβ the number of fragments, like2π
π EXAMPLES π
This will measure and display the round-trip latency of soundcard hw:0 using 48kHz samplerate, and 10 fragments each 2048 samples. Literally iconic π
alsa_delay hw:0 hw:0 48000 2048 10
π§ NOTES π§
alsa_delay is a port of jack_delay (by the same author) to ALSA π¦ Same author, same energy, new platform, periodt π
π AUTHOR π
zita-alsa-pcmi was written by Fons Adriaensen <fons@linuxaudio.org> π
This manual page was written by IOhannes m zmoelnig <zmoelnig@iem.at> for the Debian project (but may be used by others) π«Ά
And that's the tea β The source is zita-alsa-pcmi, dated July 2013, and it's still giving ππ
π¦ where this page comes from
- debian bookworm: zita-alsa-pcmi-utils 0.6.1-1 Β· GPL-3.0-or-later
- debian trixie: zita-alsa-pcmi-utils 0.6.1-1.1+b1 Β· GPL-3.0-or-later
- ubuntu jammy: zita-alsa-pcmi-utils 0.4.0-1 Β· GPL-3.0-or-later
- ubuntu noble: zita-alsa-pcmi-utils 0.6.1-1.1build2 Β· GPL-3.0-or-later
- ubuntu questing: zita-alsa-pcmi-utils 0.6.1-1.1build2
- ubuntu resolute: zita-alsa-pcmi-utils 0.6.1-1.1build3 Β· GPL-3.0-or-later
- ubuntu stonking: zita-alsa-pcmi-utils 0.6.1-1.1build3 Β· GPL-3.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms