Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Malte Meyn



Am 03.10.19 um 10:51 schrieb Leo Correia de Verdier:

Dear list!

I am working on a piece with constantly changing meters and it got me wondering 
if there is a way to set beamExceptions to #’() and beat structure to a 
suitably long sequence of ones for all time signatures in the whole piece at 
once. At the moment I’m doing so for each time signature change, every other 
bar or so, but this feels somewhat clumsy and makes me suppose there should be 
a better way.

/Leo


Would \autoBeamOff be sufficient for your needs?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Toine Schreurs
> I am working on a piece with constantly changing meters and it got
> me wondering if there is a way to set beamExceptions to #’() and
> beat structure to a suitably long sequence of ones for all time
> signatures in the whole piece at once. At the moment I’m doing so
> for each time signature change, every other bar or so, but this
> feels somewhat clumsy and makes me suppose there should be a better
> way.

I usually use a list of \overrideTimeSignatureSettings for the various
timesignatures. For example:

myAutoBeam = {
  \overrideTimeSignatureSettings
  #'(3 . 4)  % timeSignatureFraction
  #'(1 . 4)  % baseMomentFraction
  #'(1 1 1)  % beatStructure
  #'()   % beamExceptions
  \overrideTimeSignatureSettings
  #'(2 . 2)  % timeSignatureFraction
  #'(1 . 2)  % baseMomentFraction
  #'(1 1)% beatStructure
  #'((end . (((1 . 12) . (3 3 3 3 ) % beamExceptions
}

It is easy to expand and will be used by every timesignature change.

Toine Schreurs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Leo Correia de Verdier
No, I want beamed notes to be auto beamed but I want the beaming pattern to 
follow quarter notes strictly, so it doesn’t beam half measures together in 4/4 
and 6/4 (I think the former is implemented as beamException and the latter as 
beatStructure) and beam over beats in 3/4. In my case all time signatures have 
quarter notes as denominator.

> 3 okt. 2019 kl. 11:30 skrev Malte Meyn :
> 
> 
> 
> Am 03.10.19 um 10:51 schrieb Leo Correia de Verdier:
>> Dear list!
>> I am working on a piece with constantly changing meters and it got me 
>> wondering if there is a way to set beamExceptions to #’() and beat structure 
>> to a suitably long sequence of ones for all time signatures in the whole 
>> piece at once. At the moment I’m doing so for each time signature change, 
>> every other bar or so, but this feels somewhat clumsy and makes me suppose 
>> there should be a better way.
>> /Leo
> 
> Would \autoBeamOff be sufficient for your needs?
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Leo Correia de Verdier
Thanks a lot!

I think this was what I was looking for. Thanks to Malte for the suggestion too!


> 3 okt. 2019 kl. 11:56 skrev Toine Schreurs :
> 
>> I am working on a piece with constantly changing meters and it got
>> me wondering if there is a way to set beamExceptions to #’() and
>> beat structure to a suitably long sequence of ones for all time
>> signatures in the whole piece at once. At the moment I’m doing so
>> for each time signature change, every other bar or so, but this
>> feels somewhat clumsy and makes me suppose there should be a better
>> way.
> 
> I usually use a list of \overrideTimeSignatureSettings for the various
> timesignatures. For example:
> 
> myAutoBeam = {
>  \overrideTimeSignatureSettings
>  #'(3 . 4)  % timeSignatureFraction
>  #'(1 . 4)  % baseMomentFraction
>  #'(1 1 1)  % beatStructure
>  #'()   % beamExceptions
>  \overrideTimeSignatureSettings
>  #'(2 . 2)  % timeSignatureFraction
>  #'(1 . 2)  % baseMomentFraction
>  #'(1 1)% beatStructure
>  #'((end . (((1 . 12) . (3 3 3 3 ) % beamExceptions
> }
> 
> It is easy to expand and will be used by every timesignature change.
> 
> Toine Schreurs


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread David Kastrup
Toine Schreurs  writes:

>> I am working on a piece with constantly changing meters and it got
>> me wondering if there is a way to set beamExceptions to #’() and
>> beat structure to a suitably long sequence of ones for all time
>> signatures in the whole piece at once. At the moment I’m doing so
>> for each time signature change, every other bar or so, but this
>> feels somewhat clumsy and makes me suppose there should be a better
>> way.
>
> I usually use a list of \overrideTimeSignatureSettings for the various
> timesignatures. For example:
>
> myAutoBeam = {
>   \overrideTimeSignatureSettings
>   #'(3 . 4)  % timeSignatureFraction
>   #'(1 . 4)  % baseMomentFraction
>   #'(1 1 1)  % beatStructure
>   #'()   % beamExceptions
>   \overrideTimeSignatureSettings
>   #'(2 . 2)  % timeSignatureFraction
>   #'(1 . 2)  % baseMomentFraction
>   #'(1 1)% beatStructure
>   #'((end . (((1 . 12) . (3 3 3 3 ) % beamExceptions
> }
>
> It is easy to expand and will be used by every timesignature change.

Possibly a bit more readable:

myAutoBeam = {
  \overrideTimeSignatureSettings
  3/4   % timeSignatureFraction
  1/4   % baseMomentFraction
  1,1,1 % beatStructure
  \beamExceptions { }   % beamExceptions
  \overrideTimeSignatureSettings
  2/2   % timeSignatureFraction
  1/2   % baseMomentFraction
  1,1   % beatStructure
  \beamExceptions { \tuplet 3/2 { 8[ 8 8] 8[ 8 8] 8[ 8 8] 8[8 8] } }
% beamExceptions
}

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread David Wright
On Thu 03 Oct 2019 at 12:11:49 (+0200), Leo Correia de Verdier wrote:
> No, I want beamed notes to be auto beamed but I want the beaming pattern to 
> follow quarter notes strictly, so it doesn’t beam half measures together in 
> 4/4 and 6/4 (I think the former is implemented as beamException and the 
> latter as beatStructure) and beam over beats in 3/4. In my case all time 
> signatures have quarter notes as denominator.

I use the attached for beaming crochets. (I don't find long beams easy
to read in choral music.) Does it work for you?

> > 3 okt. 2019 kl. 11:30 skrev Malte Meyn :
> > Am 03.10.19 um 10:51 schrieb Leo Correia de Verdier:
> >> Dear list!
> >> I am working on a piece with constantly changing meters and it got me 
> >> wondering if there is a way to set beamExceptions to #’() and beat 
> >> structure to a suitably long sequence of ones for all time signatures in 
> >> the whole piece at once. At the moment I’m doing so for each time 
> >> signature change, every other bar or so, but this feels somewhat clumsy 
> >> and makes me suppose there should be a better way.
> >> /Leo
> > 
> > Would \autoBeamOff be sufficient for your needs?

Cheers,
David.
\version "2.19.49" % 2017-11-28

%% Beam crochets separately.
%% 2.18.2 can't parse this format for beatStructure

\layout {
  \context {
\Score
\overrideTimeSignatureSettings
2/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
3/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
4/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
3/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
5/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
6/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
7/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
8/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user