AudioNet / node-core-audio

Bindings for PortAudio giving JavaScript access to sound card samples (mostly unmaintained)
MIT License
330 stars 66 forks source link

brief update #10

Closed mrose17 closed 11 years ago

mrose17 commented 11 years ago

AudioEngine.cpp: there was a logic error in the switch statement for sample formats (decimal vs. hex)

basics.js: writes to a file rather than the network, but appears to be functioning (although i've only tested in 32-bit mode).

ps: the trick on the mac, at least, is to run soundflower - a program that defines an output device that you can read from - so you make soundflower your output device and then you can read from it with port audio.

without soundflower, it isn't possible on a mac to get the system output as an input feed.

i don't know what the equivalent program is on linux or windows, but there's probably something along those lines.