A new staff of each note?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A new staff of each note?

Vivyan
why is there a new staff for each note if this code is run?

\score {
%melody
<<
  \new Staff{
  \time 4/4
  \clef treble
  \set Staff.instrumentName = #"Piano"
   }
      a b f d
   >>
}



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: A new staff of each note?

SoundsFromSound
On 1/17/2018 7:59 PM, Vivyan wrote:
\score {
%melody 
<<
  \new Staff{
  \time 4/4
  \clef treble
  \set Staff.instrumentName = #"Piano"
   }
      a b f d
   >>
}

Hello,

It's because you have a misplaced curly brace:

\version "2.19.80"

\score {
%melody
<<
  \new Staff {
  \time 4/4
  \clef treble
  \set Staff.instrumentName = #"Piano"
  
      a b f d  }
   >>
}

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

brace.png (8K) Download Attachment
composer | sound designer | asmr artist
LilyPond video tutorials: http://bit.ly/LearnLilyPond