Thank you for your donation!


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


DSD play noise, dtoverlay, GPIO setting commands
#6
(06-01-2025, 09:42 AM)George_L Wrote: Hi,

I have recently started to use Moode, it is an amazing software, thanks to all contributors.
I have faced a few problems and I would appreciate I you help me to solve them.

·         When I play DSD audio, together with music I hear a strong hissing, white noise. This happens to any file whatever the DSD format, or its origin. I get the same noise either to the output of the USB connected DAC or to the HDMI port. I have seen the member jcucurull has mentioned the same problem on an older post, but I haven’t found any solution.

·         I want to add a circuit to Start/Shutdown my device with a button, so I added to the config.txt file the following commands
dtoverlay=gpio-poweroff,gpiopin=22
dtoverlay=gpio-shutdown
Although the circuit has been effectively works with other Raspberry Pi projects, it does nothing with Moode. So, I am wondering if Overlays can be loaded via /boot/config.txt and considered as part of the base device tree or not.

·         I have not found anywhere a list of the commands for the “GPIO control” settings on the configuration menu, although the same question was asked by Ale2.0 on an older post. Could you please give a list.

All the best
George_L
I was hoping someone more knowledgeable than me would answer.

If you don't want to use moode's internal GPIO mapping (or it doesn't work somehow)

it's still possible to add overlays in config.txt (in newer versions under boot/firmware/ ).
As I understand it, you can't start it with any GPIO pin, it has to be GPIO3, (if you have other I2C components this can be problematic). For all other GPIOs it has to be a momentary (Push Button) and you have to define the parameters (like in moode)

Try this:
(except GPIO2, GPIO3) only shutdown

[gpio]
#Power Button moode shutdown
dtoverlay=gpio-shutdown,gpio_pin=xx(put your Pin number in),active_low=1,gpio_pull=up

for a Locking Button (GPIO3/Ground)
dtoverlay=gpio-shutdown

should do the job

I can't help you with all the possible commands
Like I said, my experience is not as great as yours, so take it with a grain of salt.
Reply


Messages In This Thread
RE: DSD play noise, dtoverlay, GPIO setting commands - by Klangraum - 06-07-2025, 09:48 AM

Forum Jump: