lilypond-user
[Top][All Lists]
Advanced

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

Re: Is it possible to do this without the warning?


From: Jacques Menu Muzhic
Subject: Re: Is it possible to do this without the warning?
Date: Tue, 26 Jul 2016 23:39:00 +0200

Hello Peter,

Adding ‘\voicexxx’ and removing '\stem*', I get something that works alright:



\version "2.19.44"


global = {
  \time 3/8
}

% 1: highest
classicalGuitarVoiceOne = \relative c' {
  \global
  \voiceOne
  d4 d8 | e4 e8
}
% 2: lowest
classicalGuitarVoiceTwo = \relative c {
  \global
  \voiceTwo
  b4. | b
}
% second highest
classicalGuitarVoiceThree = \relative c' {
  \global
  \voiceThree
  \override NoteColumn.force-hshift = #0
  d16 [g,] g8 d' | e16 [g,]\stemUp g8 e'

}
% 4: second lowest
classicalGuitarVoiceFour = \relative c' {
  \global
  \voiceFour
  s8 g4 | s8 g4
}

\score {
  \new Staff \with {
    midiInstrument = "acoustic guitar (nylon)"
  } {
    \clef "treble_8" <<
      \classicalGuitarVoiceOne
      \\ \classicalGuitarVoiceTwo
      \\ \classicalGuitarVoiceThree
      \\ \classicalGuitarVoiceFour
    >>
  }

}



 Starting lilypond 2.19.44 [Untitled (2)]...
Processing 
`/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T/frescobaldi-sad8Qc/tmpI1g0qT/document.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to 
`/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-zmm6WK'...
Converting to `document.pdf'...
Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-zmm6WK'...
Success: compilation successfully completed
Completed successfully in 0.7 ».



> Le 26 juil. 2016 à 22:48, Peter Terpstra <address@hidden> a écrit :
> 
> Dear people,
> lilypond file is:
> \version "2.18.2"
> 
> global = {
>  \time 3/8
> }
> 
> % 1: highest
> classicalGuitarVoiceOne = \relative c' {
>  \global
> 
>  d4 d8 | e4 e8 
> }
> % 2: lowest
> classicalGuitarVoiceTwo = \relative c {
>  \global
>  b4. | b
> }
> % second highest
> classicalGuitarVoiceThree = \relative c' {
>  \global
>  \stemNeutral \override NoteColumn.force-hshift = #0
>   d16 [g,]\stemUp g8\stemDown d' | e16 [g,]\stemUp g8\stemDown e'
> 
> }
> % 4: second lowest
> classicalGuitarVoiceFour = \relative c' {
>  \global
>  s8 g4 | s8 g4
> }
> 
> \score {
>  \new Staff \with {
>    midiInstrument = "acoustic guitar (nylon)"
>  } { \clef "treble_8" << \classicalGuitarVoiceOne 
>                          \\ \classicalGuitarVoiceTwo 
>                          \\ \classicalGuitarVoiceThree 
>                          \\ \classicalGuitarVoiceFour >> 
>  }
> 
> }
> 
> Looks good but  i get the warning:
> /tmp/frescobaldi-NzCKcy/tmpVlGktT/document.ly:24:20: warning: no viable 
> initial configuration found: may not find 
> good beam slope
>   d16 [g,]\stemUp 
>                   g8\stemDown d' | e16 [g,]\stemUp g8\stemDown e'
> /tmp/frescobaldi-NzCKcy/tmpVlGktT/document.ly:24:53: warning: no viable 
> initial configuration found: may not find 
> good beam slope
>   d16 [g,]\stemUp g8\stemDown d' | e16 [g,]\stemUp 
>                                                    g8\stemDown e'
> 
> Thanks in advantage!
> 
>   Peter
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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