Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Audio player for nodejs

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 naudio.cc
Octocat-spinner-32 naudio.h
Octocat-spinner-32 test.js
Octocat-spinner-32 test.wav
Octocat-spinner-32 wscript
README.md

Naudio

Play sounds or streams with nodejs.


This is just an experiment to see how hard is it to make an audio player with nodejs. It uses the libvlc so it can read pretty much any kind of sound file/stream.

See test.js for usage example.

Compiling

For now (since I'm new to this wscript thing) you need to edit manually the wscript and add paths your to the libvlc.

On Mac OS X you will need to do this too :

install_name_tool -change @loader_path/lib/libvlc.5.dylib <PATH TO THE LIBVLC dylib>/libvlc.5.dy

ATTENTION

Anyone interested in helping me out is welcome, fork, push, pull and all that jazz.

Help with the wscript would be great.

Something went wrong with that request. Please try again.