RE: alternate time sigs
David - See #9 at http://uhaweb.hartford.edu/lichtmann/files/studies/russianetudes.pdf - Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Bobroff Sent: Tuesday, December 06, 2005 2:45 AM To: lilypond-user@gnu.org Subject: alternate time sigs I'd like to do this: http://notendur.centrum.is/~bobroff/lily/vartime.png Now, I figure I can handle the "invisible" changes between 9/8 and 3/4 by using \compressMusic or \times as necessary. I'm guessing that the compound time signature hack could serve as a model for the displaying the time signature as it is in the above example, but I only about half understand how that all works. Insights/comments/suggestions are welcome. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
Mats Bengtsson wrote: Are you sure? I got the impression that a layout object does not occupy any space if you set the print-function (or stencil as it's called in the latest versions) to false, in contrast to what happens when you just set transparent = ##t. I just tried an example and couldn't notice any incorrect spacing. the problem is that a single beat should be spaced the same in 3/4 and 9/8. In 9/8, a beat is 3 8ths, while it is 2 8ths in 3/4. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
Are you sure? I got the impression that a layout object does not occupy any space if you set the print-function (or stencil as it's called in the latest versions) to false, in contrast to what happens when you just set transparent = ##t. I just tried an example and couldn't notice any incorrect spacing. /Mats Han-Wen Nienhuys wrote: Mats Bengtsson wrote: In addition to what has been said, why not do the time signature changes using ordinary \time 9/8 and \time 3/4 commands and use \override Score.TimeSignature #'print-function = ##f to remove the time signature changes. The advantage of such an approach is that when the musicians start complaining about that it's hard to realize what bars have what time signature, then you can easily print the time signatures again. That would result in incorrect spacing. -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
Mats Bengtsson wrote: In addition to what has been said, why not do the time signature changes using ordinary \time 9/8 and \time 3/4 commands and use \override Score.TimeSignature #'print-function = ##f to remove the time signature changes. The advantage of such an approach is that when the musicians start complaining about that it's hard to realize what bars have what time signature, then you can easily print the time signatures again. That would result in incorrect spacing. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
In addition to what has been said, why not do the time signature changes using ordinary \time 9/8 and \time 3/4 commands and use \override Score.TimeSignature #'print-function = ##f to remove the time signature changes. The advantage of such an approach is that when the musicians start complaining about that it's hard to realize what bars have what time signature, then you can easily print the time signatures again. /Mats David Bobroff wrote: I'd like to do this: http://notendur.centrum.is/~bobroff/lily/vartime.png Now, I figure I can handle the "invisible" changes between 9/8 and 3/4 by using \compressMusic or \times as necessary. I'm guessing that the compound time signature hack could serve as a model for the displaying the time signature as it is in the above example, but I only about half understand how that all works. Insights/comments/suggestions are welcome. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
After looking at some suggestions I've taken the compound time signature hack from the docs and modified it for my purposes: \version "2.7.21" #(define (compound-time grob one two int num) (interpret-markup (ly:grob-layout grob) '(((baseline-skip . 2) (word-space . 1) (font-family . number))) (markup #:line ( #:column (one int) #:lower 1 "" #:column (two num) \score { \relative c, { \time 3/4 \override Score.RehearsalMark #'extra-offset = #'( 5.2 . -5.9 ) \mark \markup{\bigger\bigger\bigger\bigger\bigger\bigger\bigger \bigger "( )"} \override Staff.TimeSignature #'stencil = #(lambda (grob) (compound-time grob "9" "3" "8" "4")) #(override-auto-beam-setting '(end 1 8 5 8) 1 4) \clef F \key a \major \compressMusic #'(2 . 3) { e8-[-( cis' b-] a4. ~ a8-[-) gis-( a-] cis8-[ fis e-] e2.-) fis,8-[-( d' cis-] b4. ~ b8-[-) ais-( b-] \break d8-[ gis fis-] fis2.---) ~ } \times 2/3 { fis8-[ e,-( fis-] } \times 2/3 { gis-[ a b-]-)} cis8.- ( fis,16-) \compressMusic #'(2 . 3) { fis4.-- ~ fis8-[ fis-( gis-] a-[ b cis-]-) } } } The result can be seen here: http://notendur.centrum.is/~bobroff/lily/time-sig.html Thanks to Kris for the suggestion to put the () in \markup. It's working pretty much exactly the way I wanted. Now, however, after looking at the time-sig hack I'm wondering if it is possible to simply include the ( ) in that hack. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
Kris Shaffer wrote: To accomplish something like what you referred to, I put this in the header: tsMarkup = \markup { \override #'(baseline-skip . 0.5) \number { \column { "2" "4" } \musicglyph #"scripts.stopped" \column { "3" "4" } } there is a + symbol in the number font nowadays, so it should work to do \number { \column { 2 4 } + \column { 3 4 } } -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
To accomplish something like what you referred to, I put this in the header: tsMarkup = \markup { \override #'(baseline-skip . 0.5) \number { \column { "2" "4" } \musicglyph #"scripts.stopped" \column { "3" "4" } } and this in the score (note the tsMarkup): % Variation VI % rehearsal 52 \override Staff.TimeSignature #'print-function = #Text_interface::print \override Staff.TimeSignature #'text = #tsMarkup \time 5/4 \once \override TextScript #'font-size = #3 \once \override TextScript #'padding = #2 d8)^\markup { \bold { Var. VI } } g-. d-. g-. \bar ":" fis4( e8) r b16( c b c d8) e d e \bar ":" c2 c16( d c d % \break e8) bes'-. e,-. bes'-. \bar ":" a4( g8) r e16( f e f g8) a-. g-. a-. \bar ":" fis2 r4 \bar "||" \revert Staff.TimeSignature #'print-function \revert Staff.TimeSignature #'text \time 4/4 See the attachment for the result. This is a work-in-progress, so a few things on this page are still messy, but the time signature at 52 is fine. As for the parentheses in your example, you can make really big parentheses with \markup and offset them to the appropriate location. Hope this helps. -- Kris Shaffer graduate student in music theory, Yale University co-editor-in-chief for music theory, AmSteg.org www.shaffermusic.com On Tue, 06 Dec 2005 03:45:19 -0500, David Bobroff <[EMAIL PROTECTED]> wrote: I'd like to do this: http://notendur.centrum.is/~bobroff/lily/vartime.png Now, I figure I can handle the "invisible" changes between 9/8 and 3/4 by using \compressMusic or \times as necessary. I'm guessing that the compound time signature hack could serve as a model for the displaying the time signature as it is in the above example, but I only about half understand how that all works. Insights/comments/suggestions are welcome. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user horn4.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: alternate time sigs
On Tue, 06 Dec 2005 08:45:19 + David Bobroff <[EMAIL PROTECTED]> wrote: > I'd like to do this: > > http://notendur.centrum.is/~bobroff/lily/vartime.png > > Now, I figure I can handle the "invisible" changes between 9/8 and 3/4 > by using \compressMusic or \times as necessary. I'm guessing that the > compound time signature hack could serve as a model for the displaying > the time signature as it is in the above example, but I only about > half understand how that all works. > > Insights/comments/suggestions are welcome. It would be nice with real compound time signature support, there already is #(set-time-signature ...) which you can give beat groupings, but it isn't used by the timesig engraver nor by the autobeamer... /Jonatan-=( http://kymatica.com )=- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
alternate time sigs
I'd like to do this: http://notendur.centrum.is/~bobroff/lily/vartime.png Now, I figure I can handle the "invisible" changes between 9/8 and 3/4 by using \compressMusic or \times as necessary. I'm guessing that the compound time signature hack could serve as a model for the displaying the time signature as it is in the above example, but I only about half understand how that all works. Insights/comments/suggestions are welcome. -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user