Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Popping sound during playback
#40
(02-12-2020, 01:08 PM)Tim Curtis Wrote: I'm not able to repro "I cannot see displayed the infos about the file type and bitrate: e.g. DSD 64 1bit." My test DSF file is DSD64 format that's decoded to DoP and played on a Katana DAC.



Post the output from the command below while your file is playing and I'll have a look.

Code:
cat /proc/asound/card1/pcm0p/sub0/hw_params

I used to maintain a table of USB Audio device names but it became too time consuming to update because there are just too many of them and new ones are frequently being released so I reverted to just "USB Audio device". I suppose I could try to parse the name from the output of aplay -l command but IIRC the name is often not a well formed product name and in a fixed location in the output. See examples below for a couple of I2S DAC's.

Code:
card 0: Katana [Allo Katana], device 0: bcm2835-i2s-allo-katana-codec allo-katana-codec.1-0030-0 [bcm2835-i2s-allo-katana-codec allo-katana-codec.1-0030-0]

card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc], device 0: HiFiBerry DAC+ADC HiFi multicodec-0 [HiFiBerry DAC+ADC HiFi multicodec-0]

Code:
Audio Information
INPUT / OUTPUT
Source:     USB/saitama/DSD/Jacintha - Autumn Leaves The Songs of Johnny Mercer/10 - Jacintha - Moon River.dsf
Encoded at:     DSD64, 1 bit, 5.644 Mbps Stereo
Decoded to:     DoP 24 bit 176.4 kHz, Stereo, 8.467 Mbps
Destination:     Local
Output rate:     32 bit, 176.4 kHz, Stereo, 11.290 Mbps
DSP OPERATIONS
Volume ctl:     Software (MPD 32-bit float with dither)
Resampling:     off
Polarity inv:     off
Crossfade:     off
Crossfeed:     off
Parametric EQ:     off
Graphic EQ:     off
Replaygain:     off
Normalize vol:     off
Chip options:     None
AUDIO DEVICE
Device:     USB audio device
Chip:     
Interface:     USB
Formats:     Unable to determine formats
Platform:     Pi-3B+ 1GB v1.3
Hi Tim. 
This is what I've got.

1) playing a DSD

pi@moode:~ $ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 176400 (176400/1)
period_size: 22050
buffer_size: 88200

   

   


2) Playing a flac

pi@moode:~ $ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22050

   
   


As you can see there'n no bitrate/freq shown

below the aplay -l

pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: D50 [D50], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Last question:
Do you know how to show on the display the filetype aswell?

Thanks
Reply


Messages In This Thread
Popping sound during playback - by placebo-fi - 05-24-2018, 02:37 AM
RE: Popping sound during playback - by Tim Curtis - 05-24-2018, 02:57 AM
RE: Popping sound during playback - by placebo-fi - 05-24-2018, 03:15 AM
RE: Popping sound during playback - by Tim Curtis - 05-24-2018, 03:54 AM
RE: Popping sound during playback - by placebo-fi - 05-24-2018, 05:14 PM
RE: Popping sound during playback - by Tim Curtis - 05-24-2018, 09:26 PM
RE: Popping sound during playback - by placebo-fi - 05-25-2018, 02:17 AM
RE: Popping sound during playback - by Tim Curtis - 05-25-2018, 02:48 AM
RE: Popping sound during playback - by placebo-fi - 05-25-2018, 03:10 AM
RE: Popping sound during playback - by Mullet - 11-18-2019, 04:40 AM
RE: Popping sound during playback - by Tim Curtis - 11-18-2019, 01:12 PM
RE: Popping sound during playback - by DRONE7 - 11-18-2019, 05:47 AM
RE: Popping sound during playback - by Mullet - 11-18-2019, 09:44 PM
RE: Popping sound during playback - by Tim Curtis - 11-18-2019, 05:18 PM
RE: Popping sound during playback - by leicray - 02-01-2020, 02:04 PM
RE: Popping sound during playback - by DRONE7 - 02-03-2020, 11:47 PM
RE: Popping sound during playback - by Tim Curtis - 02-04-2020, 12:29 AM
RE: Popping sound during playback - by leicray - 02-06-2020, 08:52 PM
RE: Popping sound during playback - by Tim Curtis - 02-06-2020, 09:07 PM
RE: Popping sound during playback - by Tim Curtis - 02-11-2020, 10:03 PM
RE: Popping sound during playback - by Tim Curtis - 02-12-2020, 01:05 AM
RE: Popping sound during playback - by Tim Curtis - 02-12-2020, 01:08 PM
RE: Popping sound during playback - by manolomalele - 02-14-2020, 09:09 AM
RE: Popping sound during playback - by Tim Curtis - 02-14-2020, 01:54 PM
RE: Popping sound during playback - by DRONE7 - 02-12-2020, 05:48 PM
RE: Popping sound during playback - by Tim Curtis - 02-12-2020, 07:18 PM
RE: Popping sound during playback - by DRONE7 - 02-12-2020, 07:35 PM
RE: Popping sound during playback - by Tim Curtis - 02-12-2020, 08:28 PM
RE: Popping sound during playback - by DRONE7 - 02-12-2020, 09:53 PM
RE: Popping sound during playback - by Tim Curtis - 02-14-2020, 10:54 PM
RE: Popping sound during playback - by Tim Curtis - 02-14-2020, 11:36 PM
RE: Popping sound during playback - by codiac - 02-18-2020, 05:51 PM
RE: Popping sound during playback - by codiac - 02-18-2020, 06:03 PM
RE: Popping sound during playback - by codiac - 02-18-2020, 06:19 PM
RE: Popping sound during playback - by Tim Curtis - 02-18-2020, 07:00 PM
RE: Popping sound during playback - by codiac - 02-19-2020, 06:16 AM
RE: Popping sound during playback - by codiac - 02-19-2020, 06:17 AM
RE: Popping sound during playback - by codiac - 02-19-2020, 06:22 PM
RE: Popping sound during playback - by DRONE7 - 02-19-2020, 07:29 PM
RE: Popping sound during playback - by codiac - 02-19-2020, 06:03 PM
RE: Popping sound during playback - by codiac - 02-21-2020, 06:46 PM
RE: Popping sound during playback - by codiac - 02-22-2020, 01:34 PM
RE: Popping sound during playback - by codiac - 02-22-2020, 02:22 PM
RE: Popping sound during playback - by Tim Curtis - 02-22-2020, 02:47 PM
RE: Popping sound during playback - by codiac - 02-22-2020, 06:56 PM
RE: Popping sound during playback - by leicray - 02-23-2020, 01:52 PM
RE: Popping sound during playback - by codiac - 02-23-2020, 06:32 PM
RE: Popping sound during playback - by leicray - 02-24-2020, 11:08 AM
RE: Popping sound during playback - by leicray - 02-26-2020, 08:42 AM
RE: Popping sound during playback - by CallMeMike - 03-22-2020, 05:01 AM
Loud peak between two songs - by e11bits - 05-24-2018, 09:38 PM
RE: Loud peak between two songs - by rikardo1979 - 05-25-2018, 09:21 AM
RE: Loud peak between two songs - by Tim Curtis - 05-24-2018, 09:55 PM

Forum Jump: