mohayonao / timbre.js

JavaScript library for objective sound programming
http://mohayonao.github.io/timbre.js/
MIT License
963 stars 74 forks source link

error with npm install #50

Closed maruilian11 closed 8 years ago

maruilian11 commented 8 years ago

when i use npm install timbre it appear following error message

CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
../deps/mpg123/src/output/alsa.c:19:28: fatal error: alsa/asoundlib.h: No such file or directory
 #include <alsa/asoundlib.h>
                            ^
compilation terminated.

(i have tried to install other lib, and it run successfully.) is there anything i miss?

mohayonao commented 8 years ago

timbre.js uses ALSA (node-speaker) for Node.js support.

Please see the document of node-speaker:

mingfang commented 8 years ago

if you're on ubuntu then you can try apt-get install libasound2-dev

maruilian11 commented 8 years ago

thank you guys, i install them successfully!