Check soundcard settings: bitrate: Difference between revisions

From www.ReeltoReel.nl Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
To check settings
To check settings
=Which sound cards are installed, and what number are they?=
=Which sound cards are installed, and what number are they?=
  cat /proc/asound/cards
  > cat /proc/asound/cards
0 [NVidia        ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfc080000 irq 69
1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc500000 irq 72
2 [USB            ]: USB-Audio - Scarlett 2i2 USB
                      Focusrite Scarlett 2i2 USB at usb-0000:30:00.4-2.3, high speed
3 [Pro            ]: USB-Audio - FiiO K5 Pro
                      GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-0000:30:00.4-1, high spee


=UCA202:=
=UCA202:=

Revision as of 13:39, 18 January 2023

To check settings

Which sound cards are installed, and what number are they?

> cat /proc/asound/cards
0 [NVidia         ]: HDA-Intel - HDA NVidia
                     HDA NVidia at 0xfc080000 irq 69
1 [Generic        ]: HDA-Intel - HD-Audio Generic
                     HD-Audio Generic at 0xfc500000 irq 72
2 [USB            ]: USB-Audio - Scarlett 2i2 USB
                     Focusrite Scarlett 2i2 USB at usb-0000:30:00.4-2.3, high speed
3 [Pro            ]: USB-Audio - FiiO K5 Pro
                     GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-0000:30:00.4-1, high spee

UCA202:

# cat /proc/asound/CODEC/pcm0p/sub0/hw_params
# cat /proc/asound/card0/codec#0 
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2 <-------- will be 4 for iO4
rate: 48000 (48000/1) <------ this changes with the input audio file
period_size: 44100
buffer_size: 88200

FiiO

48kHz and below: BLUE

48kHz and above: YELLOW

DSD: GREEN

# cat /proc/asound/card0/stream0 | grep Momentary

or

# cat /proc/asound/card1/stream0 | grep Momentary
   Momentary freq = 44095 Hz (0x5.8308)

- - - -

# cat /proc/asound/card0/stream0 
# cat /proc/asound/card0/pcm0p/sub0/hw_params
GuangZhou FiiO Electronics Co.,Ltd FiiO K5 Pro at usb-0000:00:12.2-3, high spee : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 2
    Packet Size = 36
    Momentary freq = 44095 Hz (0x5.8308)
    Feedback Format = 16.16
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us