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

How to cache samples ? #51

Open
MarlBurroW opened this issue Jun 5, 2022 · 0 comments
Open

How to cache samples ? #51

MarlBurroW opened this issue Jun 5, 2022 · 0 comments

Comments

@MarlBurroW
Copy link

Hi !
I'm building a multiplayer game with your instrument (real time game with socket.IO). In my game, each player has it own instance of your piano to avoid note conflict.
So each time a user join a game, all clients loads all samples for this new player and it cause performance issues for other players (mainly delay on socket and UI).
How can I cache all samples to avoid unnecessarry redundant requests ?
Thanks

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