Skip to content

(node:36124) UnhandledPromiseRejectionWarning: Error: Argument should be an audio buffer #22

@yusuf987

Description

@yusuf987

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.<anonymous> (/Users/koenig/Documents/electron/TSP/main.js:29:18)
(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.<anonymous> (/Users/koenig/Documents/electron/TSP/main.js:29:18)
(node:36124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:36124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
^Ckoenigs-MacBook-Air-2:TSP koenig$ npm start

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