Just a quick update:
I just dont have the right tools to get the headphone remote work, but i was able to install everything the way you described, and by shortening the pins 18 and 20 (GPIO24 and GND on Pi3B) i was able to pause and play.
But it didnt put sound out to the headphone.
After removing the command (there is a small typo in your description: sbpd-script.sh instead of sbpd=script.sh) from tweaks its working again.
Well thanks a lot, at least i know how it is working for now, but ill have to wait for the right tools.
But why did the audio out stop working?
Voice control and IR remote are out of question, the described gpio button would be perfect:-)
Results 11 to 14 of 14
Thread: Play Pause picoreplayer gpio usb
-
2021-03-04, 07:25 #11
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
The Earth Has Music For Those Who Listen
-
2021-03-04, 07:38 #12
The audio problem could be the mode that pigpio is using. I can’t recall the details. I’ll check when I get back to my laptop and let you know.
-
2021-03-04, 07:46 #13
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
The Earth Has Music For Those Who Listen
-
2021-03-04, 08:43 #14
Try using '-t 1' instead of '-t 0' in the pigpiod line at the beginning of the script. From the pigpiod web page:
Code:Default PCM. pigpio uses one or both of PCM and PWM. If PCM is used then PWM is available for audio. If PWM is used then PCM is available for audio.
I use '-t 0' (PWM) on my system, where the audio device is a USB DAC. But I guess the RPi wants to use PWM for the headphone output, so try using PCM for pigpiod ('-t 1').