I'm currently writing bindings for the libspotify C library for node.js and I wanted to use node-portaudio to actually play the music.
It seems that, whatever I'm writing to the portaudio "stream", it only plays a beeping sound.
I'm writing raw PCM data (signed 16 bits, 2 channels, 44100Hz) if that helps.
The beeping changes slightly if I'm writing some other piece of audio data. So my first guess is that portaudio is playing the same buffer over and over but I'm not familiar enough with the code to check about this myself