[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Easily enter music expressions in markup for Swing / shuffle music
From: |
David Wright |
Subject: |
Re: Easily enter music expressions in markup for Swing / shuffle music |
Date: |
Sun, 24 Nov 2019 13:10:12 -0600 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun 24 Nov 2019 at 17:08:14 (+0000), address@hidden wrote:
> http://lsr.di.unimi.it/LSR/Item?id=1029
> This reminds me that every thing is easy when we know how and often
> impossible when we do not know how.
> I tried to find a swing tempo marking in snippets and didn't find one.
> I tried using this 'easy example' and this is the best I could do:
>
> %%%%%%
> markup { \small { \note #"8" #UP + \note #"8" #UP =
> \note #"4" #UP + \note #"8" #UP }}
>
>
> % Or maybe
>
> \markup{ \small { \note #"8" #UP + \note #"8" #UP "=" \note #"4" #UP \note
> #"8" #UP }}
>
> %%%%%%%
>
> I am clueless on how to add the triplet bracket to the top
> as this didn't work
> %%%%%%
> %trying to put this in the above markup didn't work
> \tuplet 3/2 { c d}
> \tuplet 3/2 { \note #"4" #UP \note #"8" #UP}
>
> %%%%%%%
> so using Frescabaldi / Lilypond I exported the required element as SVG and
> using inkscape created these images (see attachmenbts)
>
>
>
> %%%%%also I found mention of EZNOTES... versus \ezscore confusing? in
> http://lsr.di.unimi.it/LSR/Item?id=1029
I use scores in the markup. Here's an example; it happens to be in the
\tagline for pagination reasons. (\heading looks like a misnomer, but
it contains the date, and heads the source file.)
\header {
title = \markup { "TTTTT TTTTT TTTTT" }
tagline = \markup {
\vspace #2
\smaller
\fill-line {
\heading
\concat {
\italic "Swing"
\score { { \set fontSize = #-4 \override Stem.length-fraction = #0.65
\stopStaff a'8[ a'] } \layout { \context { \Staff \omit Clef \omit
TimeSignature } } }
" ="
\score { { \set fontSize = #-4 \override Stem.length-fraction = #0.65
\stopStaff \tuplet 3/2 { a'8~ \noBeam a' \noBeam a' } } \layout { \context {
\Staff \omit Clef \omit TimeSignature } } } }
\concat { "LilyPond version " $(lilypond-version) }
}
}
}
Cheers,
David.