Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yusuf987 opened this issue Feb 16, 2020 · 0 comments

Comments

@yusuf987
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant