View RSS Feed

ronalde

alsa-capabilities: reveal formats and sample rates your USB DAC supports

Rate this Entry
Hi,

For your convenience (and mine) I've created the `alsa-capabilities` script, which shows the available alsa interfaces for audio playback in (or connected to) your linux computer, including USB DAC's, and the digital audio formats and sample rates each sound card or external USB DAC supports.

You can run it straight from the web, by copying and pasting the following command in a terminal screen:
Code:
bash <(wget -q -O - "http://lacocina.nl/alsa-capabilities")
Or, you can first download it and run it from your local file system:
Code:
wget "http://lacocina.nl/alsa-capabilities"
bash alsa-capabilities
To display the sample rates each interface supports, add the -s (or --samplerates) option. CAUTION: be sure to mute the audio outputs because sample rate detection plays (pseudo) random noise on each interface, except USB Audio Class (UAC) devices.

Code:
bash <(wget -q -O - "http://lacocina.nl/alsa-capabilities") -s
## or
bash alsa-capabilities -s
More information can be found on:


I hope you enjoy it!

Regards,
Ronald

Comments