Thank you for your donation!


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


Solved: Noise in the beginning of tracks when Crossfade option enabled.
#1
Hi
There has been a hissing noise during track change,
For 10 seconds when Crossfade option is enabled and set time 10 seconds.



If Crossfade option disabled no noise  in the beginning of tracks.

Has any one experienced this kind of issue, 
I am using latest version of moode with fiio USB dac. Tried different generic usb dac but results are same.

redownload 7.3 and flashed, ... results same
When I flashed v 6.3.0.. no such hissing noise during track change when Crossfade option enabled.
Reply
#2
Code:
pi@moode:~ $ moodeutl -l
20210825 065716 worker: -- Start
20210825 065716 worker: Successfully daemonized
20210825 065716 worker: Integrity check (passed)
20210825 065717 worker: File check (OK)
20210825 065717 worker: Session vacuumed
20210825 065717 worker: Session loaded
20210825 065717 worker: Debug logging (OFF)
20210825 065717 worker: -- Audio debug
20210825 065717 worker: ALSA cards: (0:b1 | 1:Headphones | 2:Q3 | 3:empty
20210825 065717 worker: MPD config: (2:FiiO Q3 | mixer:(PCM) | card:2)
20210825 065717 worker: ALSA mixer actual (PCM)
20210825 065718 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0)
20210825 065718 worker: -- System
20210825 065719 worker: Host     (moode)
20210825 065719 worker: moOde    (7.3.0 2021-06-25)
20210825 065719 worker: RaspiOS  (10.6)
20210825 065719 worker: Kernel   (5.4.77-v7l+ #1371)
20210825 065719 worker: Platform (Pi-4B 1.2 4GB)
20210825 065719 worker: ARM arch (armv7l, 32-bit kernel)
20210825 065719 worker: MPD ver  (0.22.8_p0x3)
20210825 065719 worker: CPU gov  (ondemand)
20210825 065719 worker: USB boot not available
20210825 065719 worker: File system expanded
20210825 065719 worker: HDMI port on
20210825 065719 worker: -- Network
20210825 065719 worker: eth0 exists
20210825 065719 worker: IP addr (192.168.1.4)
20210825 065719 worker: Netmask (255.255.255.0)
20210825 065719 worker: Gateway (192.168.1.1)
20210825 065719 worker: Pri DNS (192.168.1.1)
20210825 065719 worker: Domain  (HomeGateway)
20210825 065719 worker: wlan0 exists
20210825 065719 worker: wifi country (US)
20210825 065719 worker: wlan0 SSID is blank
20210825 065719 worker: eth0 addr exists, AP mode not started
20210825 065719 worker: wlan0 address not assigned
20210825 065719 worker: Pi integrated wlan0 power save disabled
20210825 065719 worker: -- Audio config
20210825 065719 worker: ALSA card number (2)
20210825 065719 worker: MPD audio output (FiiO Q3)
20210825 065720 worker: Audio formats (S16_LE, S32_LE, SPECIAL)
20210825 065720 worker: ALSA mixer name (PCM)
20210825 065720 worker: MPD volume control (software)
20210825 065720 worker: Hdwr volume controller not detected
20210825 065720 worker: ALSA output mode (Default: plughw)
20210825 065720 worker: ALSA loopback (Off)
20210825 065720 worker: Reset renderer active flags
20210825 065720 worker: CamillaDSP (off)
20210825 065720 worker: -- MPD startup
20210825 065720 worker: MPD started
20210825 065720 worker: MPD accepting connections
20210825 065720 worker: MPD output 1 ALSA Default (on)
20210825 065720 worker: MPD output 2 ALSA Bluetooth (off)
20210825 065720 worker: MPD output 3 HTTP Server (off)
20210825 065720 worker: MPD crossfade (10 secs)
20210825 065720 worker: MPD ignore CUE files (yes)
20210825 065720 worker: -- Feature availability
20210825 065720 worker: Source select (available)
20210825 065720 worker: Source select (source: MPD)
20210825 065720 worker: Source select (output: FiiO Q3)
20210825 065721 worker: Bluetooth (available)
20210825 065721 worker: Airplay renderer (available)
20210825 065721 worker: Spotify renderer (available)
20210825 065721 worker: Squeezelite (available)
20210825 065721 worker: RoonBridge renderer (not installed)
20210825 065721 worker: UPnP renderer (available)
20210825 065721 worker: DLNA server (available)
20210825 065721 worker: UPnP browser (available)
20210825 065721 worker: GPIO button handler (available)
20210825 065721 worker: Stream recorder (n/a)
20210825 065721 worker: -- Music sources
20210825 065721 worker: USB sources (none attached)
20210825 065721 worker: NAS and UPnP sources (none configured)
20210825 065721 worker: -- Other
20210825 065721 worker: USB volume knob (Off)
20210825 065721 worker: USB auto-mounter (udisks-glue)
20210825 065721 worker: LED0 (On)
20210825 065721 worker: LED1 (On)
20210825 065721 worker: Saved MPD vol level (0)
20210825 065721 worker: Preamp volume level (0)
20210825 065721 worker: MPD volume level (100) restored
20210825 065721 worker: ALSA volume level (None)
20210825 065721 worker: Auto-play (Off)
20210825 065721 worker: Maintenance interval (3 hours)
20210825 065721 worker: Screen saver activation (Never)
20210825 065721 worker: Session permissions (OK)
20210825 065721 worker: Watchdog started
20210825 065721 worker: Ready
pi@moode:~ $
Reply
#3
The symptom suggests some sort of issue with MPD, possibly related to Software volume.

If you have a DAC with Hardware volume control try that and select "Hardware" for Mixer type in MPD Config.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
(08-25-2021, 12:44 PM)Tim Curtis Wrote: The symptom suggests some sort of issue with MPD, possibly related to Software volume.

If you have a DAC with Hardware volume control try that and select "Hardware"  for Mixer type in MPD Config.

It solves the problem for now, 
I set volume mixture>mixer type>fixed(0db output)

So if I want software volume have to disable Crossfade (or 
Set set  mixer type fixed.)
Thanks @Tim
Reply
#5
Crossfade isn't a feature I've ever used, but I can repro the issue here with my RPi4B, USB-BT adapter, and BT headphones. Software volume control is the only option with this adapter.

The duration of the "noise" (because of its coloration I'll forgo calling it a hiss) depends on the crossfade interval whether 1s or 10s or whatever.

What appears to be the same issue was posted to the MPD repo back in February. It specifically names FLAC files. That's all I have on my system ATM but I can download some MP3 tracks to see if the issue is decoder-related. It also says "no problem with MP3 files." The original poster didn't respond to Max's requirement for detailed logs so the issue remains open with a "wating" tag.

If I can manage to gather sufficient data I'll comment on the issue (keeping in mind we're already a smidge behind the current MPD 0.22.11, always a sticking point for Max).

Regards,
Kent
Reply
#6
(08-25-2021, 05:16 PM)TheOldPresbyope Wrote: Crossfade isn't a feature I've ever used, but I can repro the issue here with my RPi4B, USB-BT adapter, and BT headphones. Software volume control is the only option with this adapter.

The duration of the "noise" (because of its coloration I'll forgo calling it a hiss) depends on the crossfade interval whether 1s or 10s or whatever.

What appears to be the same issue was posted to the MPD repo back in February. It specifically names FLAC files. That's all I have on my system ATM but I can download some MP3 tracks to see if the issue is decoder-related. It also says "no problem with MP3 files." The original poster didn't respond to Max's requirement for detailed logs so the issue remains open with a "wating" tag.

If I can manage to gather sufficient data I'll comment on the issue (keeping in mind we're already a smidge behind the current MPD 0.22.11, always a sticking point for Max).

Regards,
Kent

thank you  Kent
Reply
#7
@Tim Curtis
@TheOldPresbyope 

because the usb dac i use has volume control, i tried i2s dac, but noise or hiss still there when crosssfade option enabled
no mater type of tracks flac or mp3....


Code:
pi@moode:~ $ moodeutl -l
20210827 001339 worker: -- Start
20210827 001339 worker: Successfully daemonized
20210827 001339 worker: Integrity check (passed)
20210827 001340 worker: File check (OK)
20210827 001341 worker: Session vacuumed
20210827 001341 worker: Session loaded
20210827 001341 worker: Debug logging (OFF)
20210827 001341 worker: -- Audio debug
20210827 001341 worker: ALSA cards: (0:PianoDACPlus | 1:empty | 2:empty | 3:empt                                             y
20210827 001341 worker: MPD config: (0:Allo Piano 2.1 Hi-Fi DAC | mixer:(HDMI) |                                              card:0)
20210827 001341 worker: ALSA mixer actual (Master)
20210827 001341 worker: ALSA Master volume set to (0%)
20210827 001341 worker: -- System
20210827 001342 worker: Host     (moode)
20210827 001342 worker: moOde    (7.3.0 2021-06-25)
20210827 001342 worker: RaspiOS  (10.6)
20210827 001342 worker: Kernel   (5.4.77-v7l+ #1371)
20210827 001342 worker: Platform (Pi-4B 1.2 4GB)
20210827 001342 worker: ARM arch (armv7l, 32-bit kernel)
20210827 001342 worker: MPD ver  (0.22.8_p0x3)
20210827 001342 worker: CPU gov  (ondemand)
20210827 001342 worker: USB boot not available
20210827 001342 worker: File system not expanded yet
20210827 001342 worker: HDMI port on
20210827 001342 worker: -- Network
20210827 001342 worker: eth0 exists
20210827 001342 worker: IP addr (192.168.1.2)
20210827 001342 worker: Netmask (255.255.255.0)
20210827 001342 worker: Gateway (192.168.1.1)
20210827 001342 worker: Pri DNS (192.168.1.1)
20210827 001342 worker: Domain  (HomeGateway)
20210827 001342 worker: wlan0 exists
20210827 001343 worker: wifi country (US)
20210827 001343 worker: wlan0 SSID is blank
20210827 001343 worker: eth0 addr exists, AP mode not started
20210827 001343 worker: wlan0 address not assigned
20210827 001343 worker: Pi integrated wlan0 power save disabled
20210827 001343 worker: -- Audio config
20210827 001343 worker: MPD conf updated
20210827 001343 worker: ALSA card number (0)
20210827 001343 worker: MPD audio output (Allo Piano 2.1 Hi-Fi DAC)
20210827 001343 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210827 001343 worker: ALSA mixer name (Master)
20210827 001343 worker: MPD volume control (software)
20210827 001343 worker: Hdwr volume controller exists
20210827 001343 worker: Max ALSA volume (100%)
20210827 001343 worker: ALSA output mode (Default: plughw)
20210827 001343 worker: ALSA loopback (Off)
20210827 001343 worker: Piano 2.1 output mode (Dual-Stereo)
20210827 001348 worker: Piano 2.1 initialized
20210827 001348 worker: Reset renderer active flags
20210827 001348 worker: CamillaDSP (off)
20210827 001348 worker: -- MPD startup
20210827 001348 worker: MPD started
20210827 001349 worker: MPD accepting connections
20210827 001349 worker: MPD output 1 ALSA Default (on)
20210827 001349 worker: MPD output 2 ALSA Bluetooth (off)
20210827 001349 worker: MPD output 3 HTTP Server (off)
20210827 001349 worker: MPD crossfade (off)
20210827 001349 worker: MPD ignore CUE files (yes)
20210827 001349 worker: -- Feature availability
20210827 001349 worker: Source select (available)
20210827 001349 worker: Source select (source: MPD)
20210827 001349 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20210827 001349 worker: Bluetooth (available)
20210827 001349 worker: Airplay renderer (available)
20210827 001349 worker: Spotify renderer (available)
20210827 001349 worker: Squeezelite (available)
20210827 001349 worker: RoonBridge renderer (not installed)
20210827 001349 worker: UPnP renderer (available)
20210827 001349 worker: DLNA server (available)
20210827 001349 worker: UPnP browser (available)
20210827 001349 worker: GPIO button handler (available)
20210827 001349 worker: Stream recorder (n/a)
20210827 001349 worker: -- Music sources
20210827 001349 worker: USB source (MANASA)
20210827 001349 worker: NAS and UPnP sources (none configured)
20210827 001349 worker: -- Other
20210827 001349 worker: USB volume knob (Off)
20210827 001349 worker: USB auto-mounter (udisks-glue)
20210827 001349 worker: LED0 (On)
20210827 001349 worker: LED1 (On)
20210827 001349 worker: Saved MPD vol level (0)
20210827 001349 worker: Preamp volume level (0)
20210827 001349 worker: MPD volume level (0) restored
20210827 001349 worker: ALSA Master volume (100%)
20210827 001349 worker: Auto-play (Off)
20210827 001349 worker: Maintenance interval (3 hours)
20210827 001349 worker: Screen saver activation (Never)
20210827 001350 worker: Session permissions (OK)
20210827 001350 worker: Watchdog started
20210827 001350 worker: Ready
20210827 001518 worker: Job mpdcrossfade
20210827 001600 worker: Job mpdcfg
20210827 001601 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (100%), playsta                                             te (playing)
20210827 001622 worker: Job mpdcfg
20210827 001624 worker: Job mpdcfg: devchg|mixchg (0|0), alsavol (100%), playsta                                             te (playing)
Reply


Forum Jump: