Re: Alignment of metronome marks
If its any help, the marks that are centered over time signatures can be left-aligned by the command \once \override Score.TimeSignature #'break-align-anchor-alignment = #LEFT Andrew On Tue, Jun 24, 2008 at 12:57 PM, Till Rettig <[EMAIL PROTECTED]> wrote: > Hi, > > Reinhold Kainhofer schrieb: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am Dienstag, 24. Juni 2008 schrieben Sie: > > > I don't know about that one, or about how it was before. My Gardner > Notation (did I recall the name correctly) said it should always be aligned > with the middle of the key if any, else with the middle of the time > signature. > > > Actually, my copy of "Music notation" by Gardner Read says on page 278: > "The initial letter of the term (usually a capital) customarily is aligned > over the meter signature, or -- if none is present -- over the first > notational element of the measure, such as note-heads, accidentals, repeat > signs, and so on." > > > That's what I meant and remembered wrong, this solution seems much easier. I > send you the test file I created some time ago, I took it from rehearsal > marks alignment might be that this is broken. I created the file sometimes > in march I think, my last saving date is the 4. of April, so that would be > some .3x-version. On 2.11.45 it works as expected. I removed the \once from > the alignment and they align then correct to where they should. > > Till > > \relative { > > c1 > > \key cis \major > > \clef alto > > %\time 5/4 > > \once \override Score.RehearsalMark #'self-alignment-X = #left > > \override Score.RehearsalMark #'break-align-symbols = > #'(key-signature) > > % \override Score.RehearsalMark #'break-align-symbols = > #'(time-signature) >\time 5/4 > > \mark "on key" > > cis > > \key ces \major > > \override Score.RehearsalMark #'break-align-symbols = #'(clef) > > \clef treble > > \mark "on clef" > > ces > > \override Score.RehearsalMark #'break-align-symbols = > #'(time-signature) > > \key d \minor > > \clef tenor > > \time 3/4 > > \mark "on time" > > c > > } > > ___ > lilypond-devel mailing list > lilypond-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-devel > > ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
Hi, Reinhold Kainhofer schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 24. Juni 2008 schrieben Sie: I don't know about that one, or about how it was before. My Gardner Notation (did I recall the name correctly) said it should always be aligned with the middle of the key if any, else with the middle of the time signature. Actually, my copy of "Music notation" by Gardner Read says on page 278: "The initial letter of the term (usually a capital) customarily is aligned over the meter signature, or -- if none is present -- over the first notational element of the measure, such as note-heads, accidentals, repeat signs, and so on." That's what I meant and remembered wrong, this solution seems much easier. I send you the test file I created some time ago, I took it from rehearsal marks alignment might be that this is broken. I created the file sometimes in march I think, my last saving date is the 4. of April, so that would be some .3x-version. On 2.11.45 it works as expected. I removed the \once from the alignment and they align then correct to where they should. Till \relative { c1 \key cis \major \clef alto %\time 5/4 \once \override Score.RehearsalMark #'self-alignment-X = #left \override Score.RehearsalMark #'break-align-symbols = #'(key-signature) % \override Score.RehearsalMark #'break-align-symbols = #'(time-signature) \time 5/4 \mark "on key" cis \key ces \major \override Score.RehearsalMark #'break-align-symbols = #'(clef) \clef treble \mark "on clef" ces \override Score.RehearsalMark #'break-align-symbols = #'(time-signature) \key d \minor \clef tenor \time 3/4 \mark "on time" c } align-test.ly.pdf Description: Adobe PDF document ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
Op maandag 23 juni 2008, schreef Reinhold Kainhofer: > I have now commited my patch that allows text to be included directly into > the \tempo commands, i.e. > \tempo 4=120 > \tempo "Allegro" 4=120 > \tempo "Allegro" > \tempo \markup{\italic \medium "Allegro"} This is great! I will update LilyKDE so that it's score wizard (which already can create a tempo mark using some rehearsalmark tweaking) uses the new feature if the user's LilyPond is recent enough. > I haven't updated the docs (1.6.3.1 Metronome marks), though. > > One thing I noticed is that the regression test > input/regression/metronome-marking.ly says: > >"The marking is left aligned with the time signature, if there is one." > > Unfortunately, this is not true, the metronome marking is now always > aligned with the following note... Is this a bug/regression? This is also true for Rehearsal marks. I always set their break-align by hand, and then even have to offset half a staff space more. best regards, Wilbert Berendsen -- LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/ ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 24. Juni 2008 schrieben Sie: > I don't know about that one, or about how it was before. My Gardner > Notation (did I recall the name correctly) said it should always be aligned > with the middle of the key if any, else with the middle of the time > signature. Actually, my copy of "Music notation" by Gardner Read says on page 278: "The initial letter of the term (usually a capital) customarily is aligned over the meter signature, or -- if none is present -- over the first notational element of the measure, such as note-heads, accidentals, repeat signs, and so on." So, basically, on the time-signature or if not shown on the music column. My problem now with the break-aligned setting is that i don't see any way to align at the current music column... > I had done some experiments with overriding the alignment (I > think it is already in lsr) manually, but it doesn't behave as it should: > when alignment set to the key and there is none (c-major) then it aligns > again with the note. I couldn't find any snippet to do this :( Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIYNlkTqjEwhXvPN0RAkhCAKDHwElBOmI6yqaQQJ1GgPI7NrYmqgCg06Hl 9nLLk+IMIMPwSkbBfo6OmQk= =Q4OB -END PGP SIGNATURE- ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
Hi Original-Nachricht > Datum: Mon, 23 Jun 2008 18:24:21 +0200 > Von: Reinhold Kainhofer <[EMAIL PROTECTED]> > An: LilyPond Development , Lilypond bug <[EMAIL > PROTECTED]> > Betreff: Alignment of metronome marks > I have now commited my patch that allows text to be included directly into > the > \tempo commands, i.e. > \tempo 4=120 > \tempo "Allegro" 4=120 > \tempo "Allegro" > \tempo \markup{\italic \medium "Allegro"} This is great news! Thanks > > I haven't updated the docs (1.6.3.1 Metronome marks), though. I took over the gdp redaction of that section so I can see if I figure out by the examples you provided. i was actually planning to include some snippets for the same purpose, so it is now much easier. Will do this in July. > > One thing I noticed is that the regression test > input/regression/metronome-marking.ly says: > >"The marking is left aligned with the time signature, if there is one." I don't know about that one, or about how it was before. My Gardner Notation (did I recall the name correctly) said it should always be aligned with the middle of the key if any, else with the middle of the time signature. I had done some experiments with overriding the alignment (I think it is already in lsr) manually, but it doesn't behave as it should: when alignment set to the key and there is none (c-major) then it aligns again with the note. So far the work around is to apply it manually only after you know if there is a key. Would be great if you see a way to implement it directly. There have been every once and a while questions by users... Greetings till > > Unfortunately, this is not true, the metronome marking is now always > aligned > with the following note... Is this a bug/regression? > > Cheers, > Reinhold > > > > -- > -- > Reinhold Kainhofer, Vienna University of Technology, Austria > email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ > * Financial and Actuarial Mathematics, TU Wien, > http://www.fam.tuwien.ac.at/ > * K Desktop Environment, http://www.kde.org, KOrganizer maintainer > * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ > > > ___ > lilypond-devel mailing list > lilypond-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-devel -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
2008/6/23 Reinhold Kainhofer <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am Montag, 23. Juni 2008 schrieben Sie: >> Quoting Reinhold Kainhofer <[EMAIL PROTECTED]>: >> > One thing I noticed is that the regression test >> > input/regression/metronome-marking.ly says: >> > >> > "The marking is left aligned with the time signature, if there is one." >> > >> > Unfortunately, this is not true, the metronome marking is now always >> > aligned with the following note... Is this a bug/regression? >> >> Can't this alignment be determined using break-align-symbols, just as >> it is done for rehearsal marks, for example? > > Probably, but I have no idea how this works. I simply asked, because the > regtest clearly stated something that was not true with the current version, > so either lilypond or that comment should be changed... It appears to have changed between versions 2.0 and 2.2; as it was originally implemented, the Metronome_mark_engraver checked for time signatures and bar lines when setting alignment. > Also, I have tried copying the settings from RehearsalMark and from BarNumber > to MetronomeMark, but the following grob definition (where I copied > break-align-symbols, X-offset and self-alignment-X, and also added the > break-alignable-interface and the self-alignment-interface) does not make any > difference: >(MetronomeMark > . ( >(stencil . ,ly:text-interface::print) >(Y-offset . ,ly:side-position-interface::y-aligned-side) >(direction . ,UP) >(padding . 0.8) >(side-axis . ,Y) >(extra-spacing-width . (+inf.0 . -inf.0)) >(outside-staff-priority . 1000) >(break-align-symbols . (time-signature staff-bar)) >(X-offset . ,(ly:make-simple-closure > `(,+ >,(ly:make-simple-closure > (list > ly:break-alignable-interface::self-align-callback)) >,(ly:make-simple-closure > (list > ly:self-alignment-interface::x-aligned-on-self) >(self-alignment-X . ,LEFT) >(meta . ((class . Item) > (interfaces . (text-interface >side-position-interface >font-interface >break-alignable-interface >metronome-mark-interface >self-alignment-interface)) > > > Any idea what might be wrong? Also, I don't know which settings for > break-align-symbols is needed to align (1) above the time signature or (2) on > the next note if no time signature is printed at that position in time... There's no acknowledger for break alignment in the engraver, so the break-alignable-interface callback won't work. Judging by the code in Metronome_mark_engraver::stop_translation_timestep (), the text is aligned to the nearest NoteColumn by reading the property currentMusicalColumn. Regards, Neil ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 23. Juni 2008 schrieben Sie: > Quoting Reinhold Kainhofer <[EMAIL PROTECTED]>: > > One thing I noticed is that the regression test > > input/regression/metronome-marking.ly says: > > > > "The marking is left aligned with the time signature, if there is one." > > > > Unfortunately, this is not true, the metronome marking is now always > > aligned with the following note... Is this a bug/regression? > > Can't this alignment be determined using break-align-symbols, just as > it is done for rehearsal marks, for example? Probably, but I have no idea how this works. I simply asked, because the regtest clearly stated something that was not true with the current version, so either lilypond or that comment should be changed... Also, I have tried copying the settings from RehearsalMark and from BarNumber to MetronomeMark, but the following grob definition (where I copied break-align-symbols, X-offset and self-alignment-X, and also added the break-alignable-interface and the self-alignment-interface) does not make any difference: (MetronomeMark . ( (stencil . ,ly:text-interface::print) (Y-offset . ,ly:side-position-interface::y-aligned-side) (direction . ,UP) (padding . 0.8) (side-axis . ,Y) (extra-spacing-width . (+inf.0 . -inf.0)) (outside-staff-priority . 1000) (break-align-symbols . (time-signature staff-bar)) (X-offset . ,(ly:make-simple-closure `(,+ ,(ly:make-simple-closure (list ly:break-alignable-interface::self-align-callback)) ,(ly:make-simple-closure (list ly:self-alignment-interface::x-aligned-on-self) (self-alignment-X . ,LEFT) (meta . ((class . Item) (interfaces . (text-interface side-position-interface font-interface break-alignable-interface metronome-mark-interface self-alignment-interface)) Any idea what might be wrong? Also, I don't know which settings for break-align-symbols is needed to align (1) above the time signature or (2) on the next note if no time signature is printed at that position in time... Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIYBxHTqjEwhXvPN0RAsZnAJ9QbPlI0J8jasMoDsu/CVDjWKwLNgCgm1to 9s7V/gBZR4ONd6kbqAciPeI= =5Hre -END PGP SIGNATURE- ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Alignment of metronome marks
Quoting Reinhold Kainhofer <[EMAIL PROTECTED]>: One thing I noticed is that the regression test input/regression/metronome-marking.ly says: "The marking is left aligned with the time signature, if there is one." Unfortunately, this is not true, the metronome marking is now always aligned with the following note... Is this a bug/regression? Can't this alignment be determined using break-align-symbols, just as it is done for rehearsal marks, for example? /Mats ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel