automatic splitting

Hello,

as beginner with LilyPond, I am trying to adapt for personal use the SATB-four-

voices template that is within the LSR. However, I can't introduce a automatic

splitting instruction as I alway receive an error message, wherever I tweak:

\with { \remove "Note_heads_engraver"

\consists "Completion_heads_engraver"}

Can sombody provide me with some help? the present status of my template is as

follows:

\version "2.7.15"

\header {

title = "Titre"

copyright = "domaine public"

subsubtitle ="sous-titre"

poet = "Auteur"

composer = "Compositeur" }

\include "italiano.ly"

global = {

\key do \major

\time 2/4

}

ignoreMelisma = \set ignoreMelismata = ##t

ignoreMelismaOff = \unset ignoreMelismata

sopranonotes = \relative do'' {

\set Staff.instrument = "Soprano "

\set Staff.instr = "Sop."

% \autoBeamOff

do2. do8 do4 mi fa sol la si do2.. si8 la sol16 fa4 mi re do8. do2

do8[ re] mi fa fa mi[ re] do}

sopranowords = \lyricmode {

\ignoreMelisma

do -- re mi fa fa

%\ignoreMelismaOff

mi __ re }

altonotes = \relative do'' {

\set Staff.instrument = "Alto "

\set Staff.instr = "Alt."

sol4 la si do }

altowords = \lyricmode { re re }

tenornotes = {

\clef "violin_8"

\set Staff.instrument = "Ténor "

\set Staff.instr = "Tén."

r4 r4 mi4 fa }

tenorwords = \lyricmode { mi mi }

bassnotes = {

\clef bass

\set Staff.instrument = "Basse "

\set Staff.instr = "Bas."

r2. mi4}

basswords = \lyricmode { mi mi }

\score{

\context ChoirStaff

<<

\context Staff = soprano <<

\context Voice = sop { << \global \sopranonotes

\with { \remove "Note_heads_engraver"

\consists "Completion_heads_engraver"}

}

\lyricsto "sop" \new Lyrics \sopranowords

\context Staff = alto <<

\context Voice = alt { << \global \altonotes >> }

\lyricsto "alt" \new Lyrics \altowords

\context Staff = tenor <<

\context Voice = ten { << \global \tenornotes >> }

\lyricsto "ten" \new Lyrics \tenorwords

\context Staff = bass <<

\context Voice = bas { << \global \bassnotes >> }

\lyricsto "bas" \new Lyrics \basswords

}

Hello,

Replace the following lines

      \context Voice = sop { << \global \sopranonotes

                                   \with { \remove "Note_heads_engraver"

                                   \consists "Completion_heads_engraver"}

}

with

      \context Voice = sop \with { \remove "Note_heads_engraver"

                                   \consists "Completion_heads_engraver"}

                                    { << \global \sopranonotes>>}

\with has to be outside the music description.

Also, this is a french-speaking mailing list. So please wright here in
french, or just post your messages on the lilypond-user list.

Have fun with LilyPond !

Gauvain

Yves Le Bloc'h a écrit :

···

Hello,

as beginner with LilyPond, I am trying to adapt for personal use the
SATB-four-

voices template that is within the LSR. However, I can't introduce a
automatic

splitting instruction as I alway receive an error message, wherever I
tweak:

   \with { \remove "Note_heads_engraver"

\consists "Completion_heads_engraver"}

Can sombody provide me with some help? the present status of my
template is as

follows:

\version "2.7.15"

\header {

  title = "Titre"

  copyright = "domaine public"

  subsubtitle ="sous-titre"

  poet = "Auteur"

  composer = "Compositeur" }

\include "italiano.ly"

global = {

  \key do \major

  \time 2/4

}

ignoreMelisma = \set ignoreMelismata = ##t

ignoreMelismaOff = \unset ignoreMelismata

sopranonotes = \relative do'' {

            \set Staff.instrument = "Soprano "

            \set Staff.instr = "Sop."

% \autoBeamOff

  do2. do8 do4 mi fa sol la si do2.. si8 la sol16 fa4 mi re do8. do2

  do8[ re] mi fa fa mi[ re] do}

sopranowords = \lyricmode {

                                   \ignoreMelisma

                                   do -- re mi fa fa

                        %\ignoreMelismaOff

                                    mi __ re }

altonotes = \relative do'' {

            \set Staff.instrument = "Alto "

            \set Staff.instr = "Alt."

                        sol4 la si do }

altowords = \lyricmode { re re }

tenornotes = {

  \clef "violin_8"

\set Staff.instrument = "Ténor "

            \set Staff.instr = "Tén."

                        r4 r4 mi4 fa }

tenorwords = \lyricmode { mi mi }

bassnotes = {

  \clef bass

            \set Staff.instrument = "Basse "

            \set Staff.instr = "Bas."

                        r2. mi4}

basswords = \lyricmode { mi mi }

\score{

  \context ChoirStaff

  <<

    \context Staff = soprano <<

      \context Voice = sop { << \global \sopranonotes

                                   \with { \remove "Note_heads_engraver"

                                   \consists "Completion_heads_engraver"}

}

      \lyricsto "sop" \new Lyrics \sopranowords

    >>

    \context Staff = alto <<

      \context Voice = alt { << \global \altonotes >> }

      \lyricsto "alt" \new Lyrics \altowords

    >>

    \context Staff = tenor <<

      \context Voice = ten { << \global \tenornotes >> }

      \lyricsto "ten" \new Lyrics \tenorwords

    >>

    \context Staff = bass <<

      \context Voice = bas { << \global \bassnotes >> }

      \lyricsto "bas" \new Lyrics \basswords

    >>

  >>

}

------------------------------------------------------------------------

_______________________________________________
lilypond-user-fr mailing list
lilypond-user-fr@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com