I'm using node.js on a Raspberry Pi to steer some instruments. I would like to have a mic listening for a specific signal, say a tone at 500 Hz, and trigger an event when it is heard.
Having looked at multiple node.js libraries, node-core-audio (https://www.npmjs.com/package/node-core-audio) is the one that comes closest, but it fails on compilation.
Can anybody recommend a good way to do this?