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

Player dependent upon online connection? #43

Open
matty90278 opened this issue Oct 27, 2020 · 2 comments
Open

Player dependent upon online connection? #43

matty90278 opened this issue Oct 27, 2020 · 2 comments

Comments

@matty90278
Copy link

Hi,
I'm using your player in my app, which loads all files and html/js locally. I notice that if the device is offline for a period of time, the audio player eventually stops working (the buttons don't respond even though OSMD rendering continues to work fine). I'm not sure if this is a WKWebkit issue or something to do with the player. But does the player rely on being online for its functionality? If so, is there a way to bypass that requirement and make it consistently work offline? Thanks!

@jimutt
Copy link
Owner

jimutt commented Nov 4, 2020

@matty90278 There is a requirement for a network connection in order to load the soundfonts used for the actual playback. But when the instruments for the score is loaded loss of network connection should not affect functionality.

I've not done any dedicated offline-testing yet though.

The reasoning to not bundle all the instrument soundfonts is that doing so for all 128 MIDI instruments would bump the total package size way to much. In that case, an offline build with preloaded instruments would need to be offered separately.

@matty90278
Copy link
Author

matty90278 commented Nov 4, 2020 via email

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