Re: length of stems on beamed notes

2022-12-15 Thread Flaming Hakama by Elaine
-- 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

2022-12-15 Thread Carl Sorensen
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

2022-12-15 Thread Flaming Hakama by Elaine
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

2022-04-19 Thread Richard Shann
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

2022-04-18 Thread Nate Whetsell
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

2022-04-18 Thread Thomas Morley
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

2022-04-16 Thread 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 }
  }
} }


Re: Problem with Null Voice changing length of stems on beamed notes

2017-01-14 Thread palartu
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

2017-01-12 Thread Michael Gerdau
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

2017-01-11 Thread palartu
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