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

nw.js and audio-play

Open RichardFoss opened this issue 5 years ago • 1 comments

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, but still no luck. My code is simple:

const playBeep = require('audio-play'); // npm module to play beep for configuration const loadBeep = require('audio-loader'); . . loadBeep('./solemn.mp3').then(playBeep); // play the beep

But I would like to play multichannel wav files as well. Has it been tested under nw.js, and is there something I should be modifying/adding?

RichardFoss avatar Apr 10 '19 15:04 RichardFoss