NodeJS on a Raspberry Pi with a soundcard - node.js

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 ( 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.


Distribute Node.js application as single cross-platform executable

I have a web app where the front and back ends are both written in Node. The backend needs to run on (recent) Windows, OSX, and Linux. The front end, obviously, will run in a (modern) web browser, with pages served out from the backend.
For ease of deployment/installation, I would like to provide an executable file that installs "the right way" for each of those platforms. In browsing StackOverflow, I found a couple candidates:
1) I see that Electron helps make native apps that run cross platform, but I haven't seen anything that describes how Electron could listen on (say) port 80 and serve out the desired set of pages.
Is using Electron a rational strategy? Can anyone give me pointers to projects that work like this?
2) I also see that pkg ( claims to produce cross-platform binaries. Can anyone give their experience with it?
3) Any other alternatives?
Free/Open-source somewat preferred, but commercial packages are a possibility. Many thanks!
#saille seems to have nailed it. Searches for "electron and express" on yield multiple articles for the combination.
pkg will also support an Express backend server.
So I do not plan to search for alternatives, but will investigate whether Electron or pkg work best for me.

wamp like environment for node.js

I'm looking to do some learning with node.js, but I'm having difficulty getting the basic environment setup correctly. I was hoping someone could point me toward a prebuilt stack like WAMP or at least some thorough instructions on building one.
I'll looking for node.js with mysql (or similar sql implementation), I don't need anything more than a learning environment, so things like security are not currently a concern. If I get php on the same stack, that's an optional bonus.
I have some experience with servers and the command line, but I'm not an expert.
you can use this software its for windows only it has nodejs and mongoDB
For learning Node Js ,
As i see you in windows , i would recommend you to go through these steps
Step 1 ,
Download and Install the latest version of Sublime Text 3.Please use the latest version only#Build 3065
Step 2 ,
Set Sublime text to use it in command line #"subl / subl.exe"
Step 3 ,
Download Cygwin So that you can use Linux Commands on windows
Step 4 ,
Watch this video( it will help you to install cygwin , download important packages , and set it to the path of environment variables
Step 5 ,
Download Node.js
Step 6 ,
Watch an Introduction by Ryan Dahl , the nodejs creator
Step 7 ,
Watch this Video Tutorial Playlist for learning Node . Please note that in this tutorial he is helping on how to install node.js on linux , windows and mac each respectively but gonna use mac for teaching and
will use emacs editor (emacs) or Vim editor (vim) but as you on windows
you would be using Sublime Text 3 (subl) on the command line !
I Hope thats help , lil tough to see from outside but actually not #personal experience
Else , If you like my guidance , please vote me , thanks !
The solutions like WAMP, XAMPP, ... have been created to simplify the configuration activity of a full stack Web Server (install and Configure Apache from Scratch is not an easy task).
Setting up a nodejs web server is so easy that nobody felt the need of creating full-stack solutions.
So my advice is to start from the easiest tutorial you find online: I found very useful this one which illustrates the steps to build a web server with nodejs+Express+mongodb.
And yes, I suggest you to work with mongodb unless you need a db for a strong relational model.

Phonegap makes me confused

I've new to app development and I thought of trying Phonegap. I've already downloaded Node.js and git.client. I have 4 questions:
1) So, I'm installing the PhoneGap and as soon as I type the first line of code from : into Terminal on my Mac, I keep getting asked a password. What password are they asking for and how do I type it in? Or do I just move on without a password?
2)Once I'm done with that, I move on to and head to the Command Line Interface guide. I'm running the code on terminal and can't seem to run the platforms for android, blackberry10 and amazon fireos as said in:
Does this mean I need to install other things in order to get the different platforms running?
3) Moving on and working on the ios platform, I'm suppose to test the app on a emulator or a device, just like this:
All I did was change the "android" to "ios" in the code, but when I do that, it seems I need to download something from GitHub or Nodejs. What do I install?
4) When I'm at GitHub, a lot of the downloads are clones. Does this mean it is illegal?
As you can see, so stuck! Would really appreciate your help :)
You will need to sign up for their developer program and then enter that password
1.) It asking your PC login password, because you are installing a new SW.
2.) Yes, you must install many other SW for diferrent platforms. Cordova is only FW, not IDE...
Android need istall Eclipse, into it ADT plugin and android developer tools, and so on with the other platforms. Things you are need to know are in in docs for every platform.
How you can ask question No. 3 before you don't have answer on the first and the second question?

using meteor with the Web Matrix 2's new node support?

After watching the awesome Steve(n?) Sanderson's recent 3-part series about using the Web Matrix 2 RC for creating node.js apps (with Express in his case), I began to wonder how much work it would be to be able to add-on or modify the work they've done there (which includes installing and running node and iisnode) to use meteor apps?
From the very tiny bit I've used meteor, it seems like the only major disconnect would be that a project in Web Matrix would likely need to know about at least the meteor files and the node modules it installs since meteor's the entry point into a meteor app instead of the server.js (or whatever file) the user would normally create themselves.
Is there already a Web Matrix (or other IDE) template for such a project in progress? Has anyone used Web Matrix for a meteor project?
It would certainly work (at least, I would think) as a 'normal' editor for the relevant files, but having it work in the same way as what's in the video (starting the app by running it, installing dependencies as needed, etc) would be great to have, too. :)
This could certainly be done - WebMatrix has an extensibility model that would let you make most of the changes needed:
The big problem here is that meteor doesn't seem to run on Windows yet. As soon as there is a supported build of meteor for windows, we'll be all over getting it into the product :)

ZeroMQ / ØMQ / 0MQ how to get started?

I am trying to use ZeroMQ / ØMQ / 0MQ (which ever you prefer) on Windows using C# Binding. Is there any beginner materials out there? Do I need to register ZeroMQ DLL on Windows or something in order to run the C# Binding samples (local_lat / remote_lat)?
After a few hours I've got zeromq / ruby working on Ubuntu 10.04. I've left a comment on this blog post indicating how to get zeromq / ruby installed on Ubuntu 10.04. But I am still trying to figure out how to run a simple sample on Windows / C# .NET.
install rvm on ubuntu 10.04
install zeromq
if you get error after zeromq is installed, try this one to update the library
I just started to play with 0MQ on my machine. I uploaded the simple server/client with pre-compiled libraries (clrzmq and zmq-2.0.9 from github) to bitbucket. I hope this helps you also to get started with 0MQ on Windows.
EDIT: A lot has happend since this question and answer. Now it is way easier to install and use ZeroMQ.
A new version of the ZeroMQ CLR binding is available at clrzmq2
The reason for the new binding is that it is not backwards compatible with the first, but it is more idiomatic C#, and it supports the full feature set of 2.0.9.
It is also cross platform and should run on both Windows and Linux, x86/-64.
A lot of the examples from the 0MQ guide are now ported to C#, should be up to chapter 3 within the next day or so.
If something isn't working raise an issue on github or contact the ZeroMQ dev mailing list.
If you're familiar with Docker check this out. It will run the hello world C++ example from the zguide. The Docker containers take care of setting up and configuring the libraries needed by ZMQ and CMake and are completely portable.
I also created an example for C here
Both of these use ZeroMQ version 4.2.1 and CMake 3.6, but I mention in the readme how to change these values. They will get you up and running and then you can dig into the Docker files to see what steps are required to get things running with Ubuntu 14.04.
Alternatively take a look at the repository and examine the Dockerfile and CMakeLists.txt files in either zmq-hello-world-client-node or zmq-hello-world-server-node. The Dockerfile lists the steps needed to setup the required libraries on Ubuntu 14.04, the CMakeLists.txt file finds the necessary includes and creates a make file that will link them in when you build the project