alsa-capabilities: reveal formats and sample rates your USB DAC supports
by, 01-13-2016 at 11:22 AM (411 Views)
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:
Or, you can first download it and run it from your local file system:Code:bash <(wget -q -O - "https://lacocina.nl/alsa-capabilities") ## or bash <(curl -s "https://lacocina.nl/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:wget "https://lacocina.nl/alsa-capabilities" && bash alsa-capabilities
More information can be found on:Code:bash <(wget -q -O - "https://lacocina.nl/alsa-capabilities") -s ## or bash alsa-capabilities -s
I hope you enjoy it!