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

Callbacks / Custom events on audio ready? #3

Closed
hay opened this issue Sep 12, 2011 · 2 comments
Closed

Callbacks / Custom events on audio ready? #3

hay opened this issue Sep 12, 2011 · 2 comments

Comments

@hay
Copy link
Contributor

hay commented Sep 12, 2011

I'm wondering, when generating a lot of sounds (25 or so) it can take up a few seconds before everything is loaded. Not quite sure why. However, would it be possible somehow to get pass a callback parameter on creation that is called when the sound is ready so you can display a loading animation? I've looked in the source code but can't quite figure out how to do that...

@egonelbre
Copy link
Member

I'm not quite sure what part is slow... but currently it's not
async so it should be ready after the generation function call.

Maybe you can do a simple example to show the problem.

@egonelbre
Copy link
Member

Closing due to no response.

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

2 participants