audio-play icon indicating copy to clipboard operation
audio-play copied to clipboard

Play audio buffer in browser/node

Results 14 audio-play issues
Sort by recently updated
recently updated
newest added

When using NPM local mp3 audio gets pitched down and is mixed weirdly.

I'm on Mac OS (10.13.6) using nodejs (10.13). When I'm trying to play an mp3 file the playback speed is slowed down and it starts in the middle of the...

It happened on Mac Big Sur and Windows 10.

Apparently installation fails due to "invalid syntax" somewhere in Python code. The need to have Python installed is not documented, nor is which version of Python is expected.

Google Cloud Text to Speech returns a `response.audioContent` which logs to console as: ``` ``` Running this: ``` let playback = play(response.audioContent); playback.play(); ``` Errors out with: ``` Error: Argument...

i am paasing array buffer and below error is happening please guide ``` (node:36124) UnhandledPromiseRejectionWarning: Error: Argument should be an audio buffer at Play (/Users/koenig/Documents/electron/TSP/node_modules/audio-play/index.js:12:36) at IpcMainImpl. (/Users/koenig/Documents/electron/TSP/main.js:29:18) (node:36124) UnhandledPromiseRejectionWarning:...

After playing a buffer, I get the following error. play('testfile.mp3'); [../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow) This error repeats in a loop.

bug

I have been trying to play an mp3 under nw.js (26.2) in Windows, and haven't had any success. I rebuilt (node-gyp) the speaker module, giving it the correct nw.js version,...

When I try to install this library with npm i audio-play Then node-gyp rebuild gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.