Go to advanced search

by ngoctnq
Mon Dec 07, 2015 5:05 am
Forum: Graphics, sound and multimedia
Topic: Beat detection for 3.5mm jack
Replies: 8
Views: 6887

Re: Beat detection for 3.5mm jack

I just finished this a while ago - works just okay on my RPi2 after removing a bunch of concurrency, so it may be too much for earlier models. Eventually I may improve my lighting algorithm, but I need to gain some more experience in analog data processing first :D It's on my GitHub: https://github....
by ngoctnq
Sun Dec 06, 2015 1:20 am
Forum: Graphics, sound and multimedia
Topic: Beat detection for 3.5mm jack
Replies: 8
Views: 6887

Re: Beat detection for 3.5mm jack

Hey, I know this is like 2 years old, but I'm doing the same thing you're doing, essentially. I managed to route the shairport-sync to Python using shairport-sync -v -o stdout | ./python_script.py but I'm lacking reliable beat detection too. There are a few on the internet, and I tried them all, but...
by ngoctnq
Mon Nov 09, 2015 12:44 am
Forum: Advanced users
Topic: Let audio output passthrough Python code?
Replies: 0
Views: 321

Let audio output passthrough Python code?

Dear all, I'm thinking of doing something like the lightshowPi - but my vision is slightly different: I would stream audio to the pi (through Mike Brady's shairport-sync, or some other uPNP/DLNA), then pass the feed through Python to do FFT and stuff and adjust the light, then output the audio. Woul...
by ngoctnq
Sun Oct 18, 2015 1:03 am
Forum: Troubleshooting
Topic: shairport-sync/systemd problem
Replies: 4
Views: 2159

Re: shairport-sync/systemd problem

Never mind, I figured out my problem after a tons of hair loss: using journalctl with shairport-sync's PID, I found out that in /usr/lib/systemd/system/shairport-sync.service, the directory of shairport-sync is wrong - it should be /usr/local/bin/shairport-sync (thanks, whereis) instead of /user/bin...
by ngoctnq
Sat Oct 17, 2015 10:39 pm
Forum: Troubleshooting
Topic: shairport-sync/systemd problem
Replies: 4
Views: 2159

shairport-sync/systemd problem

Hi everyone, I've only just got my rPi 2, so to kick things off I installed Raspbian through NOOBS, and then installed Mike Brady's shairport-sync. Everything somewhat worked fine, but only if I call shairport-sync manually, even though I added it to systemd via systemctl as he noted in the github p...

Go to advanced search