Skip to content

nw.js and audio-play #20

@RichardFoss

Description

@RichardFoss

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions