[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changed bracket behaviour
From: |
Jogchum Reitsma |
Subject: |
Changed bracket behaviour |
Date: |
Mon, 24 Jan 2022 20:56:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
Hi,
Today I upgraded lilypond from 2.19.82 to 2.23.3, on OpenSuse Tumbleweed.
The behavior of the code below appears to be changed. In the screenshot
an extra curly bracket (over the Alto-Tenor groups) is visible, which
wasn't there in version 2.19.82
Is there a way to get the old behavior back?
Thanks, Jogchum
\version "2.23.3"
\header {
title = "Test"
}
\paper {
#(set-paper-size "a4")
}
global = {
\key c \major
\time 4/4
}
sopranoOne = \relative c'' {
\global
c1 % Muziek volgt hier.
}
sopranoTwo = \relative c'' {
\global
% Muziek volgt hier.
}
sopranoThree = \relative c'' {
\global
% Muziek volgt hier.
}
sopranoFour = \relative c'' {
\global
% Muziek volgt hier.
}
altoOne = \relative c' {
\global
% Muziek volgt hier.
}
altoTwo = \relative c' {
\global
% Muziek volgt hier.
}
altoThree = \relative c' {
\global
% Muziek volgt hier.
}
altoFour = \relative c' {
\global
% Muziek volgt hier.
}
tenorOne = \relative c' {
\global
% Muziek volgt hier.
}
tenorTwo = \relative c' {
\global
% Muziek volgt hier.
}
tenorThree = \relative c' {
\global
% Muziek volgt hier.
}
tenorFour = \relative c' {
\global
% Muziek volgt hier.
}
bassOne = \relative c {
\global
% Muziek volgt hier.
}
bassTwo = \relative c {
\global
% Muziek volgt hier.
}
bassThree = \relative c {
\global
% Muziek volgt hier.
}
bassFour = \relative c {
\global
% Muziek volgt hier.
}
sopranoOneVerse = \lyricmode {
% Liedtekst volgt hier.
}
sopranoTwoVerse = \lyricmode {
% Liedtekst volgt hier.
}
sopranoThreeVerse = \lyricmode {
% Liedtekst volgt hier.
}
sopranoFourVerse = \lyricmode {
% Liedtekst volgt hier.
}
altoOneVerse = \lyricmode {
% Liedtekst volgt hier.
}
altoTwoVerse = \lyricmode {
% Liedtekst volgt hier.
}
altoThreeVerse = \lyricmode {
% Liedtekst volgt hier.
}
altoFourVerse = \lyricmode {
% Liedtekst volgt hier.
}
tenorOneVerse = \lyricmode {
% Liedtekst volgt hier.
}
tenorTwoVerse = \lyricmode {
% Liedtekst volgt hier.
}
tenorThreeVerse = \lyricmode {
% Liedtekst volgt hier.
}
tenorFourVerse = \lyricmode {
% Liedtekst volgt hier.
}
bassOneVerse = \lyricmode {
% Liedtekst volgt hier.
}
bassTwoVerse = \lyricmode {
% Liedtekst volgt hier.
}
bassThreeVerse = \lyricmode {
% Liedtekst volgt hier.
}
bassFourVerse = \lyricmode {
% Liedtekst volgt hier.
}
rehearsalMidi = #
(define-music-function
(parser location name midiInstrument lyrics) (string? string? ly:music?)
#{
\unfoldRepeats <<
\new Staff = "soprano1" \new Voice = "soprano1" { \sopranoOne }
\new Staff = "soprano2" \new Voice = "soprano2" { \sopranoTwo }
\new Staff = "soprano3" \new Voice = "soprano3" { \sopranoThree }
\new Staff = "soprano4" \new Voice = "soprano4" { \sopranoFour }
\new Staff = "alto1" \new Voice = "alto1" { \altoOne }
\new Staff = "alto2" \new Voice = "alto2" { \altoTwo }
\new Staff = "alto3" \new Voice = "alto3" { \altoThree }
\new Staff = "alto4" \new Voice = "alto4" { \altoFour }
\new Staff = "tenor1" \new Voice = "tenor1" { \tenorOne }
\new Staff = "tenor2" \new Voice = "tenor2" { \tenorTwo }
\new Staff = "tenor3" \new Voice = "tenor3" { \tenorThree }
\new Staff = "tenor4" \new Voice = "tenor4" { \tenorFour }
\new Staff = "bass1" \new Voice = "bass1" { \bassOne }
\new Staff = "bass2" \new Voice = "bass2" { \bassTwo }
\new Staff = "bass3" \new Voice = "bass3" { \bassThree }
\new Staff = "bass4" \new Voice = "bass4" { \bassFour }
\context Staff = $name {
\set Score.midiMinimumVolume = #0.5
\set Score.midiMaximumVolume = #0.5
\set Score.tempoWholesPerMinute = #(ly:make-moment 100 4)
\set Staff.midiMinimumVolume = #0.8
\set Staff.midiMaximumVolume = #1.0
\set Staff.midiInstrument = $midiInstrument
}
\new Lyrics \with {
alignBelowContext = $name
} \lyricsto $name $lyrics
>>
#})
\score {
\new GrandStaff
<<
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Sopraan I"
shortInstrumentName = "S. I"
} { \sopranoOne }
\addlyrics { \sopranoOneVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Sopraan II"
shortInstrumentName = "S. II"
} { \sopranoTwo }
\addlyrics { \sopranoTwoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Sopraan III"
shortInstrumentName = "S. III"
} { \sopranoThree }
\addlyrics { \sopranoThreeVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Sopraan IV"
shortInstrumentName = "S. IV"
} { \sopranoFour }
\addlyrics { \sopranoFourVerse }
>>
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt I"
shortInstrumentName = "A. I"
}
{ \altoOne }
\addlyrics { \altoOneVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt II"
shortInstrumentName = "A. II"
} { \altoTwo }
\addlyrics { \altoTwoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt III"
shortInstrumentName = "A. III"
} { \altoThree }
\addlyrics { \altoThreeVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt IV"
shortInstrumentName = "A. IV"
} { \altoFour }
\addlyrics { \altoFourVerse }
>>
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Tenor I"
shortInstrumentName = "T. I"
} { \clef "treble_8" \tenorOne }
\addlyrics { \tenorOneVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Tenor II"
shortInstrumentName = "T. II"
} { \clef "treble_8" \tenorTwo }
\addlyrics { \tenorTwoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Tenor III"
shortInstrumentName = "T. III"
} { \clef "treble_8" \tenorThree }
\addlyrics { \tenorThreeVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Tenor IV"
shortInstrumentName = "T. IV"
} { \clef "treble_8" \tenorFour }
\addlyrics { \tenorFourVerse }
>>
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Bas I"
shortInstrumentName = "B. I"
} { \clef bass \bassOne }
\addlyrics { \bassOneVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Bas II"
shortInstrumentName = "B. II"
} { \clef bass \bassTwo }
\addlyrics { \bassTwoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Bas III"
shortInstrumentName = "B. III"
} { \clef bass \bassThree }
\addlyrics { \bassThreeVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Bas IV"
shortInstrumentName = "B. IV"
} { \clef bass \bassFour }
\addlyrics { \bassFourVerse }
>>
>>
\layout { }
\midi {
\tempo 4=100
}
}
% MIDI-oefenbestanden:
\book {
\bookOutputSuffix "soprano1"
\score {
\rehearsalMidi "soprano1" "soprano sax" \sopranoOneVerse
\midi { }
}
}
\book {
\bookOutputSuffix "soprano2"
\score {
\rehearsalMidi "soprano2" "soprano sax" \sopranoTwoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "soprano3"
\score {
\rehearsalMidi "soprano3" "soprano sax" \sopranoThreeVerse
\midi { }
}
}
\book {
\bookOutputSuffix "soprano4"
\score {
\rehearsalMidi "soprano4" "soprano sax" \sopranoFourVerse
\midi { }
}
}
\book {
\bookOutputSuffix "alto1"
\score {
\rehearsalMidi "alto1" "soprano sax" \altoOneVerse
\midi { }
}
}
\book {
\bookOutputSuffix "alto2"
\score {
\rehearsalMidi "alto2" "soprano sax" \altoTwoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "alto3"
\score {
\rehearsalMidi "alto3" "soprano sax" \altoThreeVerse
\midi { }
}
}
\book {
\bookOutputSuffix "alto4"
\score {
\rehearsalMidi "alto4" "soprano sax" \altoFourVerse
\midi { }
}
}
\book {
\bookOutputSuffix "tenor1"
\score {
\rehearsalMidi "tenor1" "tenor sax" \tenorOneVerse
\midi { }
}
}
\book {
\bookOutputSuffix "tenor2"
\score {
\rehearsalMidi "tenor2" "tenor sax" \tenorTwoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "tenor3"
\score {
\rehearsalMidi "tenor3" "tenor sax" \tenorThreeVerse
\midi { }
}
}
\book {
\bookOutputSuffix "tenor4"
\score {
\rehearsalMidi "tenor4" "tenor sax" \tenorFourVerse
\midi { }
}
}
\book {
\bookOutputSuffix "bass1"
\score {
\rehearsalMidi "bass1" "tenor sax" \bassOneVerse
\midi { }
}
}
\book {
\bookOutputSuffix "bass2"
\score {
\rehearsalMidi "bass2" "tenor sax" \bassTwoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "bass3"
\score {
\rehearsalMidi "bass3" "tenor sax" \bassThreeVerse
\midi { }
}
}
\book {
\bookOutputSuffix "bass4"
\score {
\rehearsalMidi "bass4" "tenor sax" \bassFourVerse
\midi { }
}
}
Screenshot_20220124_205223.png
Description: PNG image
- Changed bracket behaviour,
Jogchum Reitsma <=