Comments (7)
@loretoparisi It may depend on what type of pi you have, but this should give you the info you need - https://www.howtogeek.com/269202/how-and-why-to-overclock-your-raspberry-pi-microcomputer/
from airsonos.
Something I didn't mention above. I'm running AirSonos on a raspberrypi while encountering these issues.
I've done a little more testing and found the following:
- If I run AirSonos on my macbook, everything works fine (I can stream w/o disconnections to all my Sonos speakers)
- On the pi, I see that CPU is maxed out at 100% while attempting to airplay (and continues through the disconnects)
- I don't see any processes dying on the pi while the CPU is maxed, but I'm thinking that CPU could be the culprit
Going to continue digging, but any help or suggestions are much appreciated!
from airsonos.
hi dgrizzanti,
I have also tried running airsonos on a raspi, with similar results. Apparently the hardware is not potent enough to encode the audio on the fly (at least not with the present software settings) and that's why the audio gets choppy. There was some discussion on using special hardware in the pi here: stephen/nicercast#2
Somebody got it to work here:
http://www.schrankmonster.de/2014/06/25/raspberrypi-sonos-speakers-support-apple-airplay/
So it seems possible...
from airsonos.
@knusprig55 That is the article I found that made me go down the raspberry pi path. I originally was using another method with shaiport and VLC to achieve the AirPlay support through the pi. This seemed like a cleaner option and the previous method would crash all the time.
I eventually got this working by over clocking the pi. Not sure if anyone else has any experience with that. There are few "supported" modes that are available in raspi-config. Turbo being the one that seems to work for me.
from airsonos.
Hmm, this is a known issue, as I've repro'd the same problem - it seems the lame mp3 audio encoding is too much for the pi to handle at times. One other possibility could be to try using this method for pure PCM streaming, which would bypass the mp3 encoding process: #26
The downside there, would be increased bandwidth costs, since a PCM stream is much bigger, which might also cause parts of the audio to cut out.
from airsonos.
I was able to get this working as stated above by over clocking the pi, so I'm going to close the issue
from airsonos.
@dgrizzanti Hey David, how did you manage to overclock the pi? thanks!
from airsonos.
Related Issues (20)
- Multi-speaker sound sync HOT 1
- airsonos crashes after selecting a device in sound preferences HOT 5
- AirSonos + High Sierra HOT 40
- AirSonos not showing on High Sierra HOT 2
- Install issues running Sierra 10.12.6 HOT 1
- Error when running El Capitan 10.11.6 sonos v8.0 HOT 4
- Installation failed with newest node version HOT 6
- Stuck on setting up sonos (windows 10 lastest release) HOT 3
- After running 'airsonos' I can find my sonos but it isn't showing up in the Mac Os High Sierra audio output list HOT 4
- Sonos speakers not showing on iPhone with Airsonos on windows HOT 8
- Can I get the buffering duration of Sonos via Sonos API functions?
- Every restart duplicate speakers appear
- How to uninstall AirSonos? HOT 1
- Hanging on discovery HOT 1
- Feature request: AirPlay 2 compatibility for older Sonos products Play 1 HOT 5
- AirSonos on Ubuntu 16.04.2 LTS Xenial
- Installed but failing on startup - RPi 3 HOT 30
- Error HOT 2
- is this project dead? HOT 2
- Sonos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonos.