Re: length of stems on beamed notes
-- Forwarded message -- > From: Carl Sorensen > To: Flaming Hakama by Elaine > Cc: Lilypond-User Mailing List > Bcc: > Date: Thu, 15 Dec 2022 15:48:50 -0700 > Subject: Re: length of stems on beamed notes > > > On Thu, Dec 15, 2022 at 3:35 PM Flaming Hakama by Elaine < > ela...@flaminghakama.com> wrote: > >> >> In this MWE, I would like to get the stem lengths equal. >> >> Currently, the stems of beats with the 16th notes are longer than the >> stems of the beat with only 8th notes. >> >> Does anyone know how to equalize the beam lengths? >> > > use beamed-stem-shorten #'(0 0 0) > > > \relative c''' { > \override Stem.length-fraction = #(magstep 1.03) > \override Beam.beamed-stem-shorten = #'(0 0 0) > \stemUp > r16 g8. 8. 16 ~ 8 8 ~ 16 8. > } > > HTH, > > Carl > Yes, that definitely helps! The code as-is got it close, but the stems for the 8th note-only beat were still a bit short. This is what I ended up with to get them to match more closely \override Beam.beamed-stem-shorten = #'(-0.2 0 0) Thanks, Elaine Alt 415 . 341 .4954 "*Confusion is highly underrated*" ela...@flaminghakama.com Producer ~ Composer ~ Instrumentalist ~ Educator -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: length of stems on beamed notes
On Thu, Dec 15, 2022 at 3:35 PM Flaming Hakama by Elaine < ela...@flaminghakama.com> wrote: > > In this MWE, I would like to get the stem lengths equal. > > Currently, the stems of beats with the 16th notes are longer than the > stems of the beat with only 8th notes. > > Does anyone know how to equalize the beam lengths? > use beamed-stem-shorten #'(0 0 0) \relative c''' { \override Stem.length-fraction = #(magstep 1.03) \override Beam.beamed-stem-shorten = #'(0 0 0) \stemUp r16 g8. 8. 16 ~ 8 8 ~ 16 8. } HTH, Carl
length of stems on beamed notes
In this MWE, I would like to get the stem lengths equal. Currently, the stems of beats with the 16th notes are longer than the stems of the beat with only 8th notes. Does anyone know how to equalize the beam lengths? \version "2.22.2" % The problem does not exist with stems down, inside the staff % I am using Stem.length-fraction here since it exists in my score, % and it exaggerates the difference in stem height so the issue is clearer \relative c''' { \override Stem.length-fraction = #(magstep 1.03) r16 g8. 8. 16 ~ 8 8 ~ 16 8. } % The problem exists when stems are up \relative c''' { \override Stem.length-fraction = #(magstep 1.03) \stemUp r16 g8. 8. 16 ~ 8 8 ~ 16 8. } % This is more like my real-world example, where stems are up because of multiple voices \relative c''' { << { \override Stem.length-fraction = #(magstep 1.03) r16 g8. 8. 16 ~ 8 8 ~ 16 8. } \\ { g,1 } >> } % Stem length does not apply to beamed stems \relative c''' { << { \override Stem.length-fraction = #(magstep 1.03) \override Stem #'length = #10 r16 g8. 8. 16 ~ 8 8 ~ 16 8. } \\ { g,1 } >> } I tried a few incantations of the Stem properties beamed-extreme-minimum-free-lengths beamed-minimum-free-lengths beamed-lengths but these yeild errors like: warning: cannot find property type-check for `beamed-extreme-minimum-free-lengths' (backend-type?) \relative c''' { << { \override Stem.length-fraction = #(magstep 1.03) \override Stem #'beamed-extreme-minimum-free-lengths = #'(10 10 10) r16 g8. 8. 16 ~ 8 8 ~ 16 8. } \\ { g,1 } >> } \relative c''' { << { \override Stem.length-fraction = #(magstep 1.03) \override Stem #'beamed-minimum-free-lengths = #'(10 10 10) r16 g8. 8. 16 ~ 8 8 ~ 16 8. } \\ { g,1 } >> } \relative c''' { << { \override Stem.length-fraction = #(magstep 1.03) \override Stem #'beamed-lengths = #'(10 10 10) r16 g8. 8. 16 ~ 8 8 ~ 16 8. } \\ { g,1 } >> } Thanks, Elaine Alt 415 . 341 .4954 "*Confusion is highly underrated*" ela...@flaminghakama.com Producer ~ Composer ~ Instrumentalist ~ Educator -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: Reducing length of stems of beamed notes after \stopStaff
On Mon, 2022-04-18 at 11:34 +0200, Thomas Morley wrote: > Am Sa., 16. Apr. 2022 um 13:49 Uhr schrieb Nate Whetsell > : > > > > I’m trying to put some beamed notes (no staff lines, time > > signature, or anything else) in a \markup block. To do this, I’m > > using a Staff with several engravers \remove’d, using \stopStaff to > > eliminate staff lines, and then setting Stem.details.beamed-lengths > > to reduce the length of stems. However, setting > > Stem.details.beamed-lengths seems to have no effect after > > \stopStaff, so the stems are too tall. Is there some other way to > > get short beamed notes in a \markup block? > > > > Here is an example showing what I’ve tried: > > > > \markup { \justify { > > Lorem ipsum pqpqpq dolor sit amet, consectetur adipiscing elit, > > sed do eiusmod > > tempor incididunt ut labore et dolore. > > \score { > > % Normal Staff with \stopStaff (stems too tall) > > \new Staff \with { > > \remove "Bar_engraver" > > \remove "Clef_engraver" > > \remove "Time_signature_engraver" > > \magnifyStaff #(magstep -3) > > } { > > \stopStaff > > \override Stem.details.beamed-lengths = #'(3) > > \relative { \time 6/8 \stemUp b'8 8 8 } > > } > > \layout { ragged-right=##t indent=0 } > > } > > \score { > > % RhythmicStaff with \stopStaff (stems too tall) > > \new RhythmicStaff \with { > > \remove "Bar_engraver" > > \remove "Clef_engraver" > > \remove "Time_signature_engraver" > > \magnifyStaff #(magstep -3) > > } { > > \stopStaff > > \override Stem.details.beamed-lengths = #'(3) > > \relative { \time 6/8 \stemUp b'8 8 8 } > > } > > \layout { ragged-right=##t indent=0 } > > } > > \score { > > % Normal Staff *without* \stopStaff (stems shorter, but staff > > lines shown) > > \new Staff \with { > > \remove "Bar_engraver" > > \remove "Clef_engraver" > > \remove "Time_signature_engraver" > > \magnifyStaff #(magstep -3) > > } { > > \override Stem.details.beamed-lengths = #'(3) > > \relative { \time 6/8 \stemUp b'8 8 8 } > > } > > \layout { ragged-right=##t indent=0 } > > } > > } } > > \stopStaff is not the right tool for your purpose. > Why not adding > \override StaffSymbol.line-count = 0 > to the Staff's \with > ? This seems to work well - here is a somewhat tidied up example: \version "2.22.0" \markup { \justify { Here are three quavers \raise #0.4\score { \new Staff \with { \remove "Bar_engraver" \remove "Clef_engraver" \remove "Time_signature_engraver" \magnifyStaff #(magstep -3) \override StaffSymbol.line-count = 0 \override Stem.details.beamed-lengths = #'(3) } { \stemUp b'8[ 8 8] } \layout { ragged-right=##t indent=0 } } , nicely spaced and beamed! } } I used the \raise to place note bottoms of the note heads on the text line, but I haven't looked at how it behaves as you change the overall score size; it would be good to turn off the autobeamer as well to give complete control over the beaming... Richard
Re: Reducing length of stems of beamed notes after \stopStaff
That worked, thank you! > On Apr 18, 2022, at 5:34 AM, Thomas Morley wrote: > > Am Sa., 16. Apr. 2022 um 13:49 Uhr schrieb Nate Whetsell > : >> >> I’m trying to put some beamed notes (no staff lines, time signature, or >> anything else) in a \markup block. To do this, I’m using a Staff with >> several engravers \remove’d, using \stopStaff to eliminate staff lines, and >> then setting Stem.details.beamed-lengths to reduce the length of stems. >> However, setting Stem.details.beamed-lengths seems to have no effect after >> \stopStaff, so the stems are too tall. Is there some other way to get short >> beamed notes in a \markup block? >> >> Here is an example showing what I’ve tried: >> >> \markup { \justify { >> Lorem ipsum pqpqpq dolor sit amet, consectetur adipiscing elit, sed do >> eiusmod >> tempor incididunt ut labore et dolore. >> \score { >>% Normal Staff with \stopStaff (stems too tall) >>\new Staff \with { >> \remove "Bar_engraver" >> \remove "Clef_engraver" >> \remove "Time_signature_engraver" >> \magnifyStaff #(magstep -3) >>} { >> \stopStaff >> \override Stem.details.beamed-lengths = #'(3) >> \relative { \time 6/8 \stemUp b'8 8 8 } >>} >>\layout { ragged-right=##t indent=0 } >> } >> \score { >>% RhythmicStaff with \stopStaff (stems too tall) >>\new RhythmicStaff \with { >> \remove "Bar_engraver" >> \remove "Clef_engraver" >> \remove "Time_signature_engraver" >> \magnifyStaff #(magstep -3) >>} { >> \stopStaff >> \override Stem.details.beamed-lengths = #'(3) >> \relative { \time 6/8 \stemUp b'8 8 8 } >>} >>\layout { ragged-right=##t indent=0 } >> } >> \score { >>% Normal Staff *without* \stopStaff (stems shorter, but staff lines shown) >>\new Staff \with { >> \remove "Bar_engraver" >> \remove "Clef_engraver" >> \remove "Time_signature_engraver" >> \magnifyStaff #(magstep -3) >>} { >> \override Stem.details.beamed-lengths = #'(3) >> \relative { \time 6/8 \stemUp b'8 8 8 } >>} >>\layout { ragged-right=##t indent=0 } >> } >> } } > > \stopStaff is not the right tool for your purpose. > Why not adding > \override StaffSymbol.line-count = 0 > to the Staff's \with > ? > > Cheers, > Harm
Re: Reducing length of stems of beamed notes after \stopStaff
Am Sa., 16. Apr. 2022 um 13:49 Uhr schrieb Nate Whetsell : > > I’m trying to put some beamed notes (no staff lines, time signature, or > anything else) in a \markup block. To do this, I’m using a Staff with several > engravers \remove’d, using \stopStaff to eliminate staff lines, and then > setting Stem.details.beamed-lengths to reduce the length of stems. However, > setting Stem.details.beamed-lengths seems to have no effect after \stopStaff, > so the stems are too tall. Is there some other way to get short beamed notes > in a \markup block? > > Here is an example showing what I’ve tried: > > \markup { \justify { > Lorem ipsum pqpqpq dolor sit amet, consectetur adipiscing elit, sed do > eiusmod > tempor incididunt ut labore et dolore. > \score { > % Normal Staff with \stopStaff (stems too tall) > \new Staff \with { > \remove "Bar_engraver" > \remove "Clef_engraver" > \remove "Time_signature_engraver" > \magnifyStaff #(magstep -3) > } { > \stopStaff > \override Stem.details.beamed-lengths = #'(3) > \relative { \time 6/8 \stemUp b'8 8 8 } > } > \layout { ragged-right=##t indent=0 } > } > \score { > % RhythmicStaff with \stopStaff (stems too tall) > \new RhythmicStaff \with { > \remove "Bar_engraver" > \remove "Clef_engraver" > \remove "Time_signature_engraver" > \magnifyStaff #(magstep -3) > } { > \stopStaff > \override Stem.details.beamed-lengths = #'(3) > \relative { \time 6/8 \stemUp b'8 8 8 } > } > \layout { ragged-right=##t indent=0 } > } > \score { > % Normal Staff *without* \stopStaff (stems shorter, but staff lines shown) > \new Staff \with { > \remove "Bar_engraver" > \remove "Clef_engraver" > \remove "Time_signature_engraver" > \magnifyStaff #(magstep -3) > } { > \override Stem.details.beamed-lengths = #'(3) > \relative { \time 6/8 \stemUp b'8 8 8 } > } > \layout { ragged-right=##t indent=0 } > } > } } \stopStaff is not the right tool for your purpose. Why not adding \override StaffSymbol.line-count = 0 to the Staff's \with ? Cheers, Harm
Reducing length of stems of beamed notes after \stopStaff
I’m trying to put some beamed notes (no staff lines, time signature, or anything else) in a \markup block. To do this, I’m using a Staff with several engravers \remove’d, using \stopStaff to eliminate staff lines, and then setting Stem.details.beamed-lengths to reduce the length of stems. However, setting Stem.details.beamed-lengths seems to have no effect after \stopStaff, so the stems are too tall. Is there some other way to get short beamed notes in a \markup block? Here is an example showing what I’ve tried: \markup { \justify { Lorem ipsum pqpqpq dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. \score { % Normal Staff with \stopStaff (stems too tall) \new Staff \with { \remove "Bar_engraver" \remove "Clef_engraver" \remove "Time_signature_engraver" \magnifyStaff #(magstep -3) } { \stopStaff \override Stem.details.beamed-lengths = #'(3) \relative { \time 6/8 \stemUp b'8 8 8 } } \layout { ragged-right=##t indent=0 } } \score { % RhythmicStaff with \stopStaff (stems too tall) \new RhythmicStaff \with { \remove "Bar_engraver" \remove "Clef_engraver" \remove "Time_signature_engraver" \magnifyStaff #(magstep -3) } { \stopStaff \override Stem.details.beamed-lengths = #'(3) \relative { \time 6/8 \stemUp b'8 8 8 } } \layout { ragged-right=##t indent=0 } } \score { % Normal Staff *without* \stopStaff (stems shorter, but staff lines shown) \new Staff \with { \remove "Bar_engraver" \remove "Clef_engraver" \remove "Time_signature_engraver" \magnifyStaff #(magstep -3) } { \override Stem.details.beamed-lengths = #'(3) \relative { \time 6/8 \stemUp b'8 8 8 } } \layout { ragged-right=##t indent=0 } } } }
Re: Problem with Null Voice changing length of stems on beamed notes
I downloaded and tried to compile it with Lilypond 2.19.54 and everything is perfect just as you pointed out. It seems that it was a bug and they fixed it in development version. Scores looks great now. I just hope that development version does not bring any surprises. Thanks! -- View this message in context: http://lilypond.1069038.n5.nabble.com/Problem-with-Null-Voice-changing-length-of-stems-on-beamed-notes-tp199112p199227.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem with Null Voice changing length of stems on beamed notes
Hi palartu, > When using *NullVoice* in Staff context, it changes *length of stems on > beamed notes*. Try to compile this example and see an output. When you > *comment* line with Null Voice, *length of stems changes*. It depends on the > *position of the notes in staff*. Sometimes, stems are shorter, and > sometimes, longer. > > > \version "2.18.2" > > aligner = { c'8 b16 c'16~ c'4 fis'2 } > alt = { a8 g16 a16~ a4 a2 } > sopran = { c'8 b16 c'16~ c'4 fis'2 } > > \score { > \new Staff << > \partcombine \sopran \alt > \new NullVoice = "null" \aligner > >> > } > * I tried this on 2.19.54 and there is no difference. Maybe you experience a bug that's fixed?! > Moreover, if you try to replace *part combine* line with > > *** > \new Voice { \sopran } > ** > > the behaviour is the same. Not sure I uderstand that correctly but again on 2.19.54 I've seen no difference. > Please, tell me that I can have consistent behaviour for this problem within > Lilypond. You can have consistent behaviour for this problem within Lilypond. Kind regards, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Problem with Null Voice changing length of stems on beamed notes
I'm having problems with NullVoice. Its very practical for my needs and it serves its purpose but it also make me angry very often. When using *NullVoice* in Staff context, it changes *length of stems on beamed notes*. Try to compile this example and see an output. When you *comment* line with Null Voice, *length of stems changes*. It depends on the *position of the notes in staff*. Sometimes, stems are shorter, and sometimes, longer. \version "2.18.2" aligner = { c'8 b16 c'16~ c'4 fis'2 } alt = { a8 g16 a16~ a4 a2 } sopran = { c'8 b16 c'16~ c'4 fis'2 } \score { \new Staff << \partcombine \sopran \alt \new NullVoice = "null" \aligner >> } * Moreover, if you try to replace *part combine* line with *** \new Voice { \sopran } ** the behaviour is the same. It doesn't matter if I'm using two voices or one voice or partcombine, behaviour is not consistent. I've tried to fix that manually in Inkscape, but I've had enough. It's too much work to do and I want to be more productive (read: lazy). Please, tell me that I can have consistent behaviour for this problem within Lilypond. Thank you for your time and answer. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Problem-with-Null-Voice-changing-length-of-stems-on-beamed-notes-tp199112.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: length of stems of sextuplets is too short
Marc M wrote: As you can see on this snippet the length of stems of sextuplets is too short. The length of the stems extend for 32th but not for the 8th notes. Is there anything i should do or is there something wrong is the default values? %% the sextuplets look compressed. The stems are too short. \version 2.13.60 \language english \paper{ ragged-right=##t } \relative g' { \key a \major \times 2/3 {e'8 gs a} \times 2/3 {b a gs} \times 4/6 {e16 gs a b a gs} \times 4/12 {e32 gs a b a gs e32 gs a b a gs} } Is that normal behavior or a bug? -- View this message in context: http://old.nabble.com/length-of-stems-of-sextuplets-is-too-short-tp31414636p31425351.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: length of stems of sextuplets is too short
As you can see on this snippet the length of stems of sextuplets is too short. The length of the stems extend for 32th but not for the 8th notes. Is there anything i should do or is there something wrong is the default values? %% the sextuplets look compressed. The stems are too short. \version 2.13.60 \language english \paper{ ragged-right=##t } \relative g' { \key a \major \times 2/3 {e'8 gs a} \times 2/3 {b a gs} \times 4/6 {e16 gs a b a gs} \times 4/12 {e32 gs a b a gs e32 gs a b a gs} } Is that normal behavior or a bug? See http://lsr.dsi.unimi.it/LSR/Item?id=681 If you use \override Stem #'(details beamed-lengths) = #'(3 4 5) the 8th notes remain unchanged, the 16th will be extended, and the 32th even more. Toine Schreurs ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
length of stems of sextuplets is too short
As you can see on this snippet thelength of stems of sextuplets is too short. The length of the stems extend for 32th but not for the 8th notes.Is there anything i should do or is there something wrong is the default values?inline: Screen shot 2011-04-16 at 2.41.05 PM.png%% the sextuplets look compressed. The stems are too short.\version "2.13.60"\language "english"\paper{ ragged-right=##t }\relative g' { \key a \major \times 2/3 {e'8 gs a} \times 2/3 {b a gs} \times 4/6 {e16 gs a b a gs} \times 4/12 {e32 gs a b a gs e32 gs a b a gs}}%% the sextuplets look compressed. The stems are too short. \version 2.13.60 \language english \paper{ ragged-right=##t } \relative g' { \key a \major \times 2/3 {e'8 gs a} \times 2/3 {b a gs} \times 4/6 {e16 gs a b a gs} \times 8/12 {e32 gs a b a gs e32 gs a b a gs} } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Length of stems
SUMMARY: Am I shortening stems the right way? Can anyone tell if I do things the best way? As an exercise for complicated piano voicing I tried to put down the first bars of Chopin op. 28.1 (C Major Prelude). As expected I ran into several problems and I would like someone to have a look at my solutions - please mail me, or just leave a comment on http://www.d-axel.dk/cgi-bin/blox-danish/ or http://www.d-axel.dk/cgi-bin/blox-danish/2003/12/14#Preludium-28,1-x5 where you can also get the source (or have a look at it in your browser, click on the note example) (I will translate to English soon, then it will be http://www.d-axel.dk/cgi-bin/blox-dax.cgi) There are two compromises left to solve, but it works, beautifully at that. FIRST ISSUE: For one thing the stems for the lower middle voice must be a little shorter and the beam must be thinner. To dimension the beam can be made with some Scheme code. I have already shortened the stem, though I am not sure that I am doing it the right way: \property Voice.Stem \set #'beamed-extreme-minimum-free-lengths = #'(1.0 0.4 0.2) % \property Voice.Stem \set #'stem-shorten = #'(3.0 2.5) As you can see the second statement is out-commented, but when active it didn't do anything, even if I changed the numbers. I would like the stem a little shorter than the result which I obtained. SECOND ISSUE The slur which must be used tell a piano player that the style is rather legato (even if it is the pedal which makes the legato effect - I will write about the playing technique elsewhere!) In my setup of voices the slur should pass from bottom voice up to the top voice, last note in the bar (et seque). I think I can hack that by making a silent invisible voice, but I am not prepared to do that kind of hack yet! THIRD ISSUE --- Actually there are one more which I am working on, but the documentation describes that one. The second half bar 1/8 rest must be moved downwards. I wouldn't write this kind of petitesse specialist questions if Jan and Han-Wen Nienhuys had not written about the perfection of note-printing in a way so that I am 100% sure that these issues are appreciated. I hope this is the right place to pose a question like this. Regards! -- donald_j_axel(at)get2net.dk -- http://d-axel.dk/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Length of stems
Hey! I found Jan's demonstration on the list showing how to specify exact position /length of stems: \property Voice.Beam \override #'positions = #'(-0.6 . -0.5) works for the first two bars, I suspect I'll have to adjust all the way when notes change. (No new screenshot yet). And position of rests: f,8\rest % works! Still missing: Information on slur - should I construct an invisible voice? -- donald_j_axel(at)get2net.dk -- http://d-axel.dk/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user