Jump to content
  • entries
    4
  • comments
    10
  • views
    5533

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


ronalde

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:

bash <(wget -q -O - "https://lacocina.nl/alsa-capabilities")
## or 
bash <(curl -s "https://lacocina.nl/alsa-capabilities")

 

Or, you can first download it and run it from your local file system:

wget "https://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.

 

bash <(wget -q -O - "https://lacocina.nl/alsa-capabilities") -s
## or
bash alsa-capabilities -s

 

More information can be found on:

 

I hope you enjoy it!

 

Regards,

Ronald

0 Comments


Recommended Comments

There are no comments to display.




×
×
  • Create New...