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

Custom Sample Not Playing #18

Open
taydotis opened this issue Mar 27, 2018 · 2 comments
Open

Custom Sample Not Playing #18

taydotis opened this issue Mar 27, 2018 · 2 comments

Comments

@taydotis
Copy link

I am trying to add a custom sample to /sounds and calling the .wav in the place of one of the default samples, however it remains silent when dropped in. Is there something I am missing in trying to add to the library locally?

@siggy
Copy link
Owner

siggy commented Mar 27, 2018

Good question @taydotis. The JS code relies on window.AudioContext, window.webkitAudioContext, or new Audio() to playback wavs in the browser. My best guess would be to verify that wav file you are adding has the same format / headers / sample rate / bitrate / file size as the existing wav files.

@Kedarnath-Rothe
Copy link

Please assign this issue to me

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

3 participants