-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shine encoder for RPI #2
Comments
Is this really an issue with raspberry pi? I read that the raspberry pi has FPU and raspbian supports it. |
Looks like you're on to something. Seems that the node library is compiled with the See Do you have experience with node-gyp? Could we add another target specifically for the rpi in node-lame? Also see configure options: |
No I didn't work with gyp yet. It should be possible to check for different arm versions there, like armv6 in the raspberry pi's case. The problem might be that some armv6 CPUs might miss an FPU unit. I could not find information on if that's possible. Maybe there is an architecture identifier like "armv6-vfp" to match against, which would make defining a target easier? |
Have you considered NOT encoding the audio to MP3 at all? From what I understand the AirPlay codec is ALAC. The Sonos system can play ALAC 16/44.1 so perhaps this would be better for RPi to just pipe it straight out? I understand the bandwidth would be slightly more but it could create a stable platform for those not worried about the bandwidth. Perhaps I've missed something along the way so would be interested in your thoughts. |
Closing for now. Currently looking into direct ALAC support (stephen/nodetunes#1). Another workaround here is to overclock the rpi (stephen/airsonos#42). |
Reported by Brad G. via email:
On systems without an FPU (e.g. raspberry pi), nicercast using lame bindings can't cope with encoding audio on the fly. Could potentially switch to using shine enc, which performs much better on systems without an FPU (https://github.com/savonet/shine).
The text was updated successfully, but these errors were encountered: