Printing Music with CSS Grid
cruncher.ch
Printing Music with CSS Grid
1–10 of 89 posts
Re: Printing Music with CSS Grid
#2Re: Printing Music with CSS Grid
#3I'm very excited to see the custom element too! I had an intern work on wrapping VexFlow with web components a few years back, but the summer ended before everything was finished, and it hasn't been maintained: https://github.com/PolymerLabs/vexflow-elements/blob/web-com...
A maintained and easy-to-use library could do a lot of good for music notation on the web.
Re: Printing Music with CSS Grid
#4Re: Printing Music with CSS Grid
#5I am concerned that there are lots of edge cases, essentially ligatures for engraving, that might not compose so well. A triad, or the author's called-out relative head spacing of 8th and 16th notes, or letting the program align different parts across different grids - would this also work well? Lilypond has proven to be exceptionally flexible for these kinds of complexities.
Re: Printing Music with CSS Grid
#6Re: Printing Music with CSS Grid
#7Re: Printing Music with CSS Grid
#8For those Asciidoc freaks among you, Lilypond is fairly easy to get running in your Asciidoc toolchain of choice. I use the DocBook PDF pipeline, and the lilypond output is quite nice looking. It's awfully TeX-like.
Re: Printing Music with CSS Grid
#9Nice to have an alternative to Lilypond (lilypond.org), but given the extreme complexity of notation, I would bet that any brevity gains are short lived. For those Asciidoc freaks among you, Lilypond is fairly easy to get running in your Asciidoc toolchain of choice. I use the DocBook PDF pipeline, and the lilypond output is quite nice looking. It's awfully TeX-like.
That to me was the coolest part of this (apart from what others have said, the power of modern CSS)
Re: Printing Music with CSS Grid
#10Some 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/