Difference between revisions of "Score testing"
From Jon's Wiki
(Created page with "Range of the contrabass trombone: <score lang="lilypond"> { \new Staff \with { \remove "Time_signature_engraver" } \clef bass \key c \major \cadenzaOn \ottava #-...") |
|||
| Line 1: | Line 1: | ||
| − | Range of the contrabass trombone: | + | [[File:Score_PNG_output_in_dark_theme.png|thumb|Unreadable Score extension output in dark mode]] |
| + | Hopefully I can get the Score extension working to [https://phabricator.wikimedia.org/T49578 produce SVG output], instead of the transparent PNG image that needs a white background styling for dark mode otherwise it's unreadable. | ||
| + | |||
| + | == Examples == | ||
| + | Range of the contrabass trombone, as used on Wikipedia: | ||
<score lang="lilypond"> | <score lang="lilypond"> | ||
{ | { | ||
| Line 10: | Line 14: | ||
</score> | </score> | ||
| − | + | The Spear motif from ''Das Rheingold'': | |
| − | + | ||
| + | <score lang="lilypond"> | ||
| + | \layout { ragged-right = ##t \context { \Score \omit BarNumber } } | ||
| + | \relative g { | ||
| + | \override DynamicTextSpanner.style = #'none | ||
| + | \override Hairpin.minimum-length = #5 | ||
| + | \clef bass \key c \major | ||
| + | g2~ \ff g8 f8 e8. d16 | ||
| + | c4 b a g f e d c \break | ||
| + | b a g f e1~ \dim\! << e1~ { s2 s4 s4 \> } >> e4 \! \p r4 r2 | ||
| + | }</score> | ||
Revision as of 22:28, 19 September 2022
Hopefully I can get the Score extension working to produce SVG output, instead of the transparent PNG image that needs a white background styling for dark mode otherwise it's unreadable.
Examples
Range of the contrabass trombone, as used on Wikipedia:

The Spear motif from Das Rheingold:

