lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hampes trop longues avec NullVoice


From: Olivier Miakinen
Subject: Re: Hampes trop longues avec NullVoice
Date: Mon, 29 Oct 2018 22:19:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Le 29/10/2018 17:21, Pierre Perol-Schneider m'a répondu :
> Bonjour Olivier,
> Ça a l'air de fonctionner, à vérifier :
> 
> \version "2.18.2"
> 
> notes = \relative c' { c8 d e4 e' f8 g }
> 
> \score {
>   \new ChoirStaff <<
>     \new Staff <<
>       \new Voice { \notes }
>     >>
>     \new Staff <<
>       \new Voice { \notes }
>       \new SansVoix { \notes }
>     >>
>   >>
>   \layout {
>     \context {
>       \name SansVoix
>       \type "Engraver_group"
>       \alias NullVoice
>     }
>     \context {
>       \Staff
>       \accepts "SansVoix"
>     }
>   }
> }

Ça fonctionne parfaitement bien pour les hampes. Mais en revanche je ne
peux pas associer de Lyrics à un SansVoix, ça me donne le message :
 Avertissement : impossible de repérer la voix (Voice) « nom »

Voir <http://lilybin.com/ds9e6q/2> (mais n'affiche pas le message), ou :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

notes = \relative c' { c8 d e4 e' f8 g }

\score {
  \new ChoirStaff <<
    \new Staff <<
      \new Voice { \notes }
    >>
    \new Staff <<
      \new Voice { \notes }
      \new SansVoix = "sansvoix" { \notes }
      \new Lyrics \lyricsto "sansvoix" { c d e e f g }
    >>
  >>
  \layout {
    \context {
      \name SansVoix
      \type "Engraver_group"
      \alias NullVoice
    }
    \context {
      \Staff
      \accepts "SansVoix"
    }
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]