MuPiBox icon indicating copy to clipboard operation
MuPiBox copied to clipboard

Feature request wsdd support and popping prevention for I2S Soundcards

Open MarkusLange opened this issue 3 years ago • 5 comments

Hello,

the MuPiBox is really fine and works nice, there are 2 pionts I would have to add. 1. Support for wsdd like this so I can see this device inside my Windows Network, since the SMB V1 support is dropped by Windows 10, works well on the Dietpi . 2. Adding this Workaround that prevents the popping from I2S Soundcards (aplay.service)

[Unit]
Description=Invoke aplay from /dev/zero at system start.
After=pm2-dietpi.service

[Service]
ExecStart=/usr/bin/aplay -D default -t raw -r 44100 -c 2 -f S16_LE /dev/zero

[Install]
WantedBy=multi-user.target

borrowed there, keeps the Audiocard online so there are no pop sound if the card is reactivated.

MarkusLange avatar Sep 18 '22 19:09 MarkusLange

Especially when using the Adafruit MAX98357 I2S (https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage), it unfortunately cracks loudly when starting a sound file. The mentioned workaround solves this problem. It would be great if this could be activated as an option in the settings, as this is not necessary for every i2s device (for example Hifiberry Mini Amp). In my opinion, using the Max98357 has the advantage over the Hifiberry Mini Amp that mono output works without problems.

trewbene avatar Oct 05 '22 13:10 trewbene

The Adafruit I2S 3W Stereo Speaker Bonnet with two MAX98357 has also the pop sound when start playing

MarkusLange avatar Oct 05 '22 13:10 MarkusLange

Since Bookworm wsdd is part of debian and it can installed via apt install wsdd

MarkusLange avatar Dec 24 '23 21:12 MarkusLange

Sorry for the long waiting time... wsdd will be implemented soon. I will add an option, to keep the soundcard active to provide this sound.

splitti avatar Jan 15 '24 12:01 splitti

wsdd added to v3.3.0

splitti avatar Jan 19 '24 21:01 splitti