Re: tempo markings and LilyJAZZ
Am 27.08.2013 01:53, schrieb Thomas Morley: 2013/8/26 Marc Hohl m...@hohlart.de: Hi list, does anyone have a workaround for the following problem? The small notes in a tempo marking are missing when I use the preliminary LilyJAZZ version: \version 2.17.25 \include LilyJAZZ.ily \relative c' { \jazzOn \tempo Swing 4 = 120 c } (This won't compile without having the LilyJAZZ files installed!) The console output claims that infinity or NaN is replaced by 0.0 in the output. Regards, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi Marc, the problem: MetronomeMark is formatted by metronomeMarkFormatter = #format-metronome-markup (in engraver-init.ly) 'format-metronome-markup' calls 'metronome-markup' (in translation-functions.scm) 'metronome-markup' uses 'note-by-number' (from define-markup-commands.scm) 'note-by-number' gets the glyphs to use from fetaMusic (!!) Hi Harm, thanks for the detailed explanation! 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. Regards, Marc Greetings, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
On 27 August 2013 08:10, Marc Hohl m...@hohlart.de wrote: 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. Great news! Could you remember to update issue #3096 when you'll work on this? https://code.google.com/p/lilypond/issues/detail?id=3096 Thank you. Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user attachment: tempotest.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
Marc Hohl m...@hohlart.de writes: 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 Well, in such cases (only use is inside of \markup) it's usually a nicer idea not to use a string? argument but rather a markup? argument. Strings are permitted either way (unquoted words, quoted or Scheme strings), but in this manner you can also use \markup ... for more complex material. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
Am 27.08.2013 16:17, schrieb David Kastrup: Marc Hohl m...@hohlart.de writes: 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 Well, in such cases (only use is inside of \markup) it's usually a nicer idea not to use a string? argument but rather a markup? argument. Ok, thanks! Now I can just write \mark\jazzTempoMarkup Blues c4. 60 which looks way neater than \mark\jazzTempoMarkup #Blues c4. #60 (the numbers still have to be quoted). But the main question still remains – what causes this ugly space when I use a dotted note? Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
Marc Hohl m...@hohlart.de writes: Ok, thanks! Now I can just write \mark\jazzTempoMarkup Blues c4. 60 which looks way neater than \mark\jazzTempoMarkup #Blues c4. #60 (the numbers still have to be quoted). Uh, you could have written that even before. The difference is just that you can write \mark\jazzTempoMarkup \markup ... now. But the main question still remains – what causes this ugly space when I use a dotted note? Not having the Jazz fonts, I just outcommented all instances of \jazzOn without resulting spacing problems. That would seem to suggest either bad metrics for the jazz dot, or some other settings made by \jazzOn (like proportionalNotationDuration or whatever else). -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
Am 27.08.2013 18:07, schrieb David Kastrup: Marc Hohl m...@hohlart.de writes: Ok, thanks! Now I can just write \mark\jazzTempoMarkup Blues c4. 60 which looks way neater than \mark\jazzTempoMarkup #Blues c4. #60 (the numbers still have to be quoted). Uh, you could have written that even before. The difference is just that you can write \mark\jazzTempoMarkup \markup ... now. I think I tried that and got errors before, but I am not sure now. But the main question still remains – what causes this ugly space when I use a dotted note? Not having the Jazz fonts, I just outcommented all instances of \jazzOn without resulting spacing problems. That would seem to suggest either bad metrics for the jazz dot, or some other settings made by \jazzOn (like proportionalNotationDuration or whatever else). I just skimmed through the \overrides which LilyJAZZ.ily does, and most of the stencils overrides are paired like this: \override Staff.NoteHead #'stencil = #jazz-notehead \override Staff.NoteHead #'Y-extent = \makeUnpurePureContainer but not the dots! So I added \override Staff.Dots #'X-extent = \makeUnpurePureContainer and voilá: it works! So cc'ing to Torsten, this may be useful for future versions. Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
tempo markings and LilyJAZZ
Hi list, does anyone have a workaround for the following problem? The small notes in a tempo marking are missing when I use the preliminary LilyJAZZ version: \version 2.17.25 \include LilyJAZZ.ily \relative c' { \jazzOn \tempo Swing 4 = 120 c } (This won't compile without having the LilyJAZZ files installed!) The console output claims that infinity or NaN is replaced by 0.0 in the output. Regards, Marc attachment: LilyJAZZ_tempo.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tempo markings and LilyJAZZ
2013/8/26 Marc Hohl m...@hohlart.de: Hi list, does anyone have a workaround for the following problem? The small notes in a tempo marking are missing when I use the preliminary LilyJAZZ version: \version 2.17.25 \include LilyJAZZ.ily \relative c' { \jazzOn \tempo Swing 4 = 120 c } (This won't compile without having the LilyJAZZ files installed!) The console output claims that infinity or NaN is replaced by 0.0 in the output. Regards, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi Marc, the problem: MetronomeMark is formatted by metronomeMarkFormatter = #format-metronome-markup (in engraver-init.ly) 'format-metronome-markup' calls 'metronome-markup' (in translation-functions.scm) 'metronome-markup' uses 'note-by-number' (from define-markup-commands.scm) 'note-by-number' gets the glyphs to use from fetaMusic (!!) 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. Greetings, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user