NodeJS on a Raspberry Pi with a soundcard

190
April 15, 2018, at 10:26 PM

I'm currently working on an art project where I need to play audio,wav files (can be converted if needed) on 6 seperate audio channels. The project will run on a Raspberry Pi with a GigaPort HD+ Sounddevice. I've got it working with PureData Extended ( Max7 -ish program that can run on Linux).

But I prefer to have a NodeJS server doing everything, but the problem is that I just can't find a package for NodeJS to do this? / The ones i found like speaker (https://www.npmjs.com/package/speaker) gives me a errors while trying to install it.

I really need it to play audio files simultaneous on different channels.

Anyone have any idea which package to use or anything else that can help me.

READ ALSO
Rendering handlebars Page Node.js

Rendering handlebars Page Node.js

I am attempting to render a handlebars page and I am getting my 404 error and I am not sure whyIt's almost as if it does not recognize the handlebars file

127
Why does POST work on local Firebase server, but not on the deployed server?

Why does POST work on local Firebase server, but not on the deployed server?

I thought I had trouble with uploading files with to Google Cloud Storage (GCS), but it looks like there might be something completely different that is wrong(I am not going to post any code here at the moment because I do not know if it is relevant

106
javascript: async / await – propagation required the entire call chain up?

javascript: async / await – propagation required the entire call chain up?

I am wrapping a function returning a promises into an async function on a small helper function

168