Neothesia icon indicating copy to clipboard operation
Neothesia copied to clipboard

Just go the web way

Open PolyMeilex opened this issue 2 years ago • 4 comments

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 avatar May 24 '23 15:05 PolyMeilex

Bare bones POC running with webgl in the browser :rocket: image

PolyMeilex avatar Jun 01 '23 00:06 PolyMeilex

Bare bones POC running with webgl in the browser 🚀 image

Beautiful!

GunGunGun avatar Jul 12 '23 08:07 GunGunGun

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 avatar Aug 16 '23 23:08 JamesOsborn-SE

Have you tried a black midi as a performance benchmark?

JamesOsborn-SE avatar Aug 16 '23 23:08 JamesOsborn-SE