mono output and gpio buttons to control speaker #340
Replies: 4 comments
-
I should also mention that in order for the gpio script to work python3-rpi-gpio needs to be installed from AUR |
Beta Was this translation helpful? Give feedback.
-
I see that this will be a lot harder to implement than i first thought, Ive tried editing the relevant line in mpd-conf.sh , mpd-devices.sh and /etc/asound.conf to allow for mono output. Sometimes it works and I can get mono output but then volume control breaks and I cant load the player tab it seems changing /etc/asound.conf breaks the settings.php for the player tab as it claims an unknown variable. I hope that eventually mono output can be added to Raudio-1 so I can use it , as I really really like the project , I will tinker around and see if I can get it working but my experience is very limited . However 🤞 |
Beta Was this translation helpful? Give feedback.
-
I managed to get the gpio script working, however to install python3-rpi-gpio I had to change to the alarm user and install , as makepkg doesnt allow root to install from AUR |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if its possible to use sox resampling in Raudio-1 , I've discovered that the moode audio project use sox resampling to create mono output not entirely sure how , but did see an article that might help here |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ,
@rern I've only just found your project and seriously its amazing , to give you a quick background I've tried several software options , Moode audio , Volumio, HifiberryOS, etc etc . Ive even made my own arch linux arm build using just plain mpd using an mpd client to control , but everything seemed lacking in the UI department .
I stumbled upon your project after discovering rune audio was still being actively developed, albeit with forks such as yours and I'm seriously impressed, also its all built off Arch Linux 😍
now to the matter in hand firstly I have my Hifiberry amp2 wired to be a mono speaker I convert the output into mono using the asound.conf file , however when I edit this file it defaults back to the previous file upon reboot , do you have an alternative way that I can convert the output to mono ? or maybe allow config of the asound.conf file ?
this is my config if it helps someone or they are interested .
now to the second matter , I currently control the speaker using gpio attached buttons that utilise a python script run as a service that wait for the rising edge of a button press and sort of filter out ghost presses that tend to happen with mechanical buttons.
its a very simple script that works with out issue, would you be interested in adding it as an option in your build ? possibly with an option in the UI to enable it ?
here is the script
and here is the simple service file I use to start the script at boot
utilise these as you see fit, I hope this possibly improves the project further .
kind regards
Beta Was this translation helpful? Give feedback.
All reactions