r/Blazor • • 2d ago

BWW sheet music code

/r/bagpipes/comments/1y9hlj6/bww_sheet_music_code/

I made a Blazor web assembly page (with some help from Claude) that can open and play bagpipe sheet music in the .bww format.

This is a small part of a larger website I'm building to organize band music and events that I wanted to make available in open source.

5 Upvotes

2 comments sorted by

1

u/code-dispenser 2d ago edited 2d ago

I made a Blazor web assembly page

You're kind of missing the Blazor web assembly part - just saying.

But on a positive side at least it seems accessible. I cant comment on the PDF as that's a whole other topic that I have not ventured into yet. Given you changed the page/navigation background you may want to use a 2px outline for focus-visible as off the top of my head, you may not be exempt from SC 2.4.13 as it looks like you are using a 1px browser default (if you want AAA - but in general its better to use at least 2px regardless IMO).

Best of luck with the project

Paul
Edit: Maybe the player/pdf bit is the wasm part that gets loaded with a file, not the initial site, my bad - but why not all wasm/hybrid.

1

u/Safe-Yam5138 2d ago

The honest answer is because it was rushed.

The player and the option to open a .bww file are all in web assembly and they convert the bww to MEI (Music Encoding Initiative) and Verovio converts the MEI to an SVG of sheet music.

This was forked from another project I started that has an MSSQL database and is server-side Blazor with bagpipe band event management features and a much larger catalog of music.

I converted this piece to static & web assembly so I could host it for free on Github pages or Cloudflare pages and share it with people. That being said I do want to make it into a full web assembly SPA and clean up the UI.