lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatically place bars in a melody


From: Jaime Oliver
Subject: Re: automatically place bars in a melody
Date: Tue, 22 Apr 2008 19:33:01 -0700

by the way, if the \time _expression_ in the previous program is replaced with \time 30/4 the durations are correct.

below the changed version,

best,

Jaime

%{lily_pitch_dur-pitch-dur version 0.01%}

#(set-default-paper-size "a4" 'landscape)
#(set-global-staff-size 18)

\new Voice \with {
\remove "Note_heads_engraver"
\remove "Forbid_line_break_engraver"
\consists "Completion_heads_engraver"
}

\relative c' {
\time 30/4
\clef treble

c16  cis8  d8. dis4  e4~ e16  f4. fis4~ fis8. g2  gis2~ gis16  a2~ a8  ais2~ ais8. b2. c2~ c4~ c16  
}

\version "2.10.33"


On Tue, Apr 22, 2008 at 7:20 PM, Jaime Oliver <address@hidden> wrote:
Hello all,

I haven't used Lilypond so much so this might come up as obvious.
I need Lilypond to place bars in a melody, splicing durations so that:
A) it will fill the bar to it's full capacity and
B) it will split durations that exceed the size of the bar, so that they retain the part that completes the bar and tie it to the remainder in the next bar.

So, i have tried:

\new Voice \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
}

but it doesn't seem to make the job correctly. Any suggestions are welcome.

below is the code for a simple melody in which the present solution doesn't work.

best,

Jaime


%{lily_pitch_dur-pitch-dur version 0.01%}

#(set-default-paper-size "a4" 'landscape)
#(set-global-staff-size 18)

\new Voice \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
}

\relative c' {
\time 4/4
\clef treble

c16  cis8  d8. dis4  e4~ e16  f4. fis4~ fis8. g2  gis2~ gis16  a2~ a8  ais2~ ais8. b2. c2~ c4~ c16  
}

\version "2.10.33"


--
Jaime E Oliver LR

address@hidden
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA



--
Jaime E Oliver LR

address@hidden
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]