![]() |
|
![]() |
|
Maybe the segment on engraving of Tantacruls Musescore 4 video is a good explanation of some of the things involved: https://youtu.be/Qct6LKbneKQ?t=2005 the whole video is worth watching as well (and there are several videos on the channel focusing on the UI of notation apps, worth watching for anyone who does UI but isn't interested in music production as well) |
![]() |
|
This is extraordinary. While JavaScript is needed now, I’d encourage the author to see what needs to be added to CSS to allow a CSS-only solution, and promote it in the CSS community. For example, repeating the clef when wrapping is akin to a sticky table header, and would have more applications than only music. Some CSS notation is wholly new to me: > .stave > [data-pitch^="A"][data-pitch$="5"] { grid-row-start: A5; } I’ve never seen CSS selectors with square brackets before. Apparently it’s an attribute selector: https://css-tricks.com/attribute-selectors/ |
![]() |
|
It would be nigh-on impossible to align parts across different grids – but it's perfectly possible to generate one huge grid with multiple staves in it. I'm pretty confident that will work out.
|
![]() |
|
> align parts across different grids Maybe a CSS `subgrid` would help? Subgrid is newly available. (I know nothing about music notation, and basing this entirely off that statement). |
![]() |
|
This is very cool! Like the author, I'm pretty impressed that just CSS can get you this far. I'm very excited to see the A maintained and easy-to-use library could do a lot of good for music notation on the web. |
![]() |
|
But does Lilypond generate responsive sheets? That to me was the coolest part of this (apart from what others have said, the power of modern CSS) |
![]() |
|
"you can just have some UI that keeps re-rendering Lilypond source to your screen size and zoom level every time you zoom." And have you done that or seen it responsive? |
![]() |
|
Can't say I share that conviction? This is absolutely perfect for stuff like "I came up with something, let me score it and share it" without having to reach for notion/musescore/etc or lilypad.
|
![]() |
|
What is a music engraver? I could google it, but I would appreciate a music engraver actually telling me vs some random page on the internet.
|
![]() |
|
That's very much it. You could also make an analogy to the arts of typography and typesetting. It's of the same importance to a composer or musician that the notation is legible and beautiful, as it is to a graphic designer or reader that type and layout are legible and beautiful. If the GP is interested in the topic, there are great videos by Tantacrul on his experience redesigning the notation font for MuseScore [0] and his overview of MuseScore 4.0's engraving improvements [1] - in particular this second video, concerning mainly layout, shows just how far this CSS approach would have to go to have a truly legible, reflowable layout in the face of beams/slurs/ties. (I don't want to take away from anyone on the Sibelius team, they're likely even better experts on the subject than Tantacrul is, but as far as I know, they didn't make long-form Youtube videos about the topic! He also likely got the job of leading the MuseScore redesign thanks to his previous videos that critiqued and reimagined the interfaces of music composition software... including older versions of Sibelius [2] and MuseScore [3]) [0] https://www.youtube.com/watch?v=XGo4PJd1lng [1] https://www.youtube.com/watch?v=Qct6LKbneKQ&t=2004 |
![]() |
|
As a player (jazz bassist) I'm amazed by the subtlety of making notation work. Oddly enough, most of my band's material is still not in computer readable form. A lot of it was hand copied.
|
![]() |
|
> Other than the clever solution of using CSS, why would you do this? Seems lightweight enough for maybe a music theory blog post or interactive notebook. |
![]() |
|
The beauty of the system is that a flex box rule of flex: 1 1 25%; will give you 4 bars per line (each averaging 25% of the width). The system is flexible.
|
![]() |
|
imagine a bot drone that flies around a big city like NY,
and just tags walls + suitable spots with interesting gen art from various sources .. likely a lawsuit in the making but cool to see.
|
I've spent more than 10 years now building Soundslice, which does web-based sheet music rendering. I believe we were the first to do "responsive" web notation (that part of the site launched in 2014).
Here's a tech talk I gave with a lot of details: https://www.youtube.com/watch?v=XH5EtQge_Bg
Here's an example of responsive Soundslice notation: https://www.soundslice.com/slices/zzNlc/ (in the settings, set the stave width to maximum to get "Fit to screen" for the true responsive effect)
We've got a whole suite of tools built around this, including an excellent web-based editor, rich practice functionality and a relatively new scanning feature (extracting the musical data from a photo or PDF).
I agree with other commenters here that this CSS Grid approach could be handy for lightweight projects but it likely isn't up to snuff for the incredibly subtle and complex world of full scores. With that said, I just want to stress again that this is super cool and I'm glad it exists!