[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tempo markings and LilyJAZZ
From: |
Marc Hohl |
Subject: |
Re: tempo markings and LilyJAZZ |
Date: |
Tue, 27 Aug 2013 15:57:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
Am 27.08.2013 08:10, schrieb Marc Hohl:
Am 27.08.2013 01:53, schrieb Thomas Morley:
[...]
I see no easy way to change it.
In the end it might be less effort to rewrite a (shortened)
markup-command for use with LilyJAZZ.
You're probably right here. I am just busy at the moment, but
as soon as time allows, I'll either try to write a suitable
note-by-number routine for LilyJAZZ or a simplified markup command.
Ok, I had a little time.
What I came up with is a simple markup command based loosely on some LSR
snippets:
---
\version "2.17.25"
jazzTempoMarkup = #(define-scheme-function (parser location name music
bpm) (string? ly:music? string?)
#{ \markup {
\line {
#name
"("
\score {
\new Staff \with {
fontSize = #-4
\override StaffSymbol #'staff-space = #(magstep -4)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0)
}
\relative c'' { \jazzOn \stemUp $music }
\layout {
ragged-right= ##t
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver"
}
}
}
"="
#bpm
")"
}
}
#})
\score {
\new Staff {
\jazzOn
\mark\jazzTempoMarkup #"Swing" c4 #"120"
c'4 d' e' f'
}
}
\score {
\new Staff {
\jazzOn
\mark\jazzTempoMarkup #"Bossa" c2 #"150"
c'4 d' e' f'
}
}
\score {
\new Staff {
\jazzOn
\time 6/8
\mark\jazzTempoMarkup #"Blues" c4. #"60"
c'4. d' e' f'
}
}
---
THis yields in the attached output, which is mostly fine, but dotted
notes seem to carry some unwanted space. Soes anyone know where this
comes from and how it can be avoided?
Thanks,
Marc
Regards,
Marc
Greetings,
Harm
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
tempotest.png
Description: PNG image
- tempo markings and LilyJAZZ, Marc Hohl, 2013/08/26
- Re: tempo markings and LilyJAZZ, Thomas Morley, 2013/08/26
- Re: tempo markings and LilyJAZZ, Marc Hohl, 2013/08/27
- Re: tempo markings and LilyJAZZ, Xavier Scheuer, 2013/08/27
- Re: tempo markings and LilyJAZZ,
Marc Hohl <=
- Re: tempo markings and LilyJAZZ, David Kastrup, 2013/08/27
- Re: tempo markings and LilyJAZZ, Marc Hohl, 2013/08/27
- Re: tempo markings and LilyJAZZ, David Kastrup, 2013/08/27
- Re: tempo markings and LilyJAZZ, Marc Hohl, 2013/08/27