Re: "Automatische Aufteilung von Noten"
Thank you both, it works Bernhard Am 28.01.2016 um 11:47 schrieb Simon Albrecht: > On 28.01.2016 11:02, Bernhard Kleine wrote: >> I have the following code and want to add this snippet from the >> Documentation: >> >> \new Voice \with { >>\remove "Note_heads_engraver" >>\consists "Completion_heads_engraver" >>\remove "Rest_engraver" >>\consists "Completion_rest_engraver" >> >> Adding it to \new Voice = "soprano" failed and adding to ChoirStaff >> failed, too. > > It’s probably easiest to use a \layout block, either outside or inside > of \score {}: > > \layout { > \context { > \Voice > \remove "Note_heads_engraver" > \consists "Completion_heads_engraver" > \remove "Rest_engraver" > \consists "Completion_rest_engraver" > } > } > > HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: "Automatische Aufteilung von Noten"
Hi Bernhard, Some variables and the version you are using are missing. I cannot compile your snippet. Please read: http://www.lilypond.org/tiny-examples.de.html Anyway, this compiles fine here: \version "2.18.2" soprano = { a' } alto = { c' } tenor = { a } bass = { \clef bass c } verseOne = \lyricmode { Ah! } \score { \new ChoirStaff << \new Staff \with { midiInstrument = "choir aahs" instrumentName = \markup \center-column { Sopran Alt } } << \new Voice = "soprano" \with { \remove "Note_heads_engraver" \consists "Completion_heads_engraver" \remove "Rest_engraver" \consists "Completion_rest_engraver" } { \voiceOne \soprano } \new Voice = "alto" { \voiceTwo \alto } >> \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #CENTER } \lyricsto "soprano" \verseOne \new Staff \with { midiInstrument = "choir aahs" instrumentName = \markup \center-column { Tenor Bass } } << \clef bass \new Voice = "tenor" { \voiceOne \tenor } \new Voice = "bass" { \voiceTwo \bass } >> >> \layout { } \midi { } } Cheers, Pierre 2016-01-28 11:02 GMT+01:00 Bernhard Kleine: > I have the following code and want to add this snippet from the > Documentation: > > \new Voice \with { > \remove "Note_heads_engraver" > \consists "Completion_heads_engraver" > \remove "Rest_engraver" > \consists "Completion_rest_engraver" > > Adding it to \new Voice = "soprano" failed and adding to ChoirStaff > failed, too. Please help. > > Thanks a lot! > > Bernhard > > \score { > \new ChoirStaff << > \new Staff \with { > midiInstrument = "choir aahs" > instrumentName = \markup \center-column { Sopran Alt } > } << > \new Voice = "soprano" { \voiceOne \soprano } > \new Voice = "alto" { \voiceTwo \alto } > >> > \new Lyrics \with { > \override VerticalAxisGroup #'staff-affinity = #CENTER > } \lyricsto "soprano" \verseOne > > \new Staff \with { > midiInstrument = "choir aahs" > instrumentName = \markup \center-column { Tenor Bass } > } << > \clef bass > \new Voice = "tenor" { \voiceOne \tenor } > \new Voice = "bass" { \voiceTwo \bass } > >> > >> > \layout { } > \midi { } > } > > ___ > 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
"Automatische Aufteilung von Noten"
I have the following code and want to add this snippet from the Documentation: \new Voice \with { \remove "Note_heads_engraver" \consists "Completion_heads_engraver" \remove "Rest_engraver" \consists "Completion_rest_engraver" Adding it to \new Voice = "soprano" failed and adding to ChoirStaff failed, too. Please help. Thanks a lot! Bernhard \score { \new ChoirStaff << \new Staff \with { midiInstrument = "choir aahs" instrumentName = \markup \center-column { Sopran Alt } } << \new Voice = "soprano" { \voiceOne \soprano } \new Voice = "alto" { \voiceTwo \alto } >> \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #CENTER } \lyricsto "soprano" \verseOne \new Staff \with { midiInstrument = "choir aahs" instrumentName = \markup \center-column { Tenor Bass } } << \clef bass \new Voice = "tenor" { \voiceOne \tenor } \new Voice = "bass" { \voiceTwo \bass } >> >> \layout { } \midi { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: "Automatische Aufteilung von Noten"
On 28.01.2016 11:02, Bernhard Kleine wrote: I have the following code and want to add this snippet from the Documentation: \new Voice \with { \remove "Note_heads_engraver" \consists "Completion_heads_engraver" \remove "Rest_engraver" \consists "Completion_rest_engraver" Adding it to \new Voice = "soprano" failed and adding to ChoirStaff failed, too. It’s probably easiest to use a \layout block, either outside or inside of \score {}: \layout { \context { \Voice \remove "Note_heads_engraver" \consists "Completion_heads_engraver" \remove "Rest_engraver" \consists "Completion_rest_engraver" } } HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user