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

bloatfree approach 3SM/Screamtracker/IT/OctaMED/Any module support plans #70

Open
coderofsalvation opened this issue Jun 4, 2021 · 0 comments

Comments

@coderofsalvation
Copy link

coderofsalvation commented Jun 4, 2021

Hi,

I really like the performance and footprint of the current bassoonplayer.
The planned features are awesome, but is it an idea to somehow implemented all this in a modular way?
The thing is that the current MOD/XM player works 100% CRACKLE-FREE on lowcpu browsers, which ALL (emscripten) mod/xm players fail to do.
I'm probably preaching to the converted already, but how about being able to 'build' the player-directory with only the desired formats?

  • xm/mod: core
  • s3m, it, octamed, etc: opt in using cli flag

The pattern i noticed across mobile webbrowsers is: as soon as emscripten, polyphony or synthesis is introduced, all bets are off concerning cracklefree playback. Even highly optimized engines like https://ide.csound.com can't seem to escape this.

Anyways, my suggestion is that eventually we could basically prebuild:

  • player/bassoonplayer.core.min.js <-- xm/mod in case you want to run graphics on the same thread, small filesize e.g.
  • player/bassoonplayer.full.min.js <-- dont care, give me everything

That way developers can scale up/down depending on their usecase.
Thanks for all the great work so far!

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