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

Just go the web way #39

Open
PolyMeilex opened this issue May 24, 2023 · 4 comments
Open

Just go the web way #39

PolyMeilex opened this issue May 24, 2023 · 4 comments

Comments

@PolyMeilex
Copy link
Owner

To really make Neothesia accessible to everyone, I think it should just live in the browser, we could forget about weird cross platform issues, GPU specific bugs, and just harness the power of plain old HTML + WebGL.

Imagine if you could share a midi file with just a special Neothesia player link.

  • Now that fluidsynth got replaced with rust oxisynth compiling the audio part of the project to wasm should just be single click operation.
  • WGPU should be able to run on the web via WebGL backend, if not it should be easy to rewrite it to WebGL.
  • Iced UI could be dropped in favor of rich HTML ecosystem
  • This should be easy to prototype without affecting the native builds, by using just notes rendering pipelines, like neothesia recorder cli already does.
  • This gives us Android and IOS version for free as well.
@PolyMeilex PolyMeilex pinned this issue May 24, 2023
@PolyMeilex
Copy link
Owner Author

Bare bones POC running with webgl in the browser 🚀
image

@GunGunGun
Copy link

Bare bones POC running with webgl in the browser 🚀 image

Beautiful!

@JamesOsborn-SE
Copy link

I agree web seems like the way to go.

I'm not sure if it changes anything but there is no web midi for iOS. My understanding is on iOS all browsers are Safari wrappers.

https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API

@JamesOsborn-SE
Copy link

Have you tried a black midi as a performance benchmark?

@PolyMeilex PolyMeilex unpinned this issue Dec 26, 2023
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