\score@{
<<
- \context Voice = one @{
+ \new Voice = "one" @{
\autoBeamOff
\melody
@}
- \lyricsto "one" \new Lyrics \text
+ \new Lyrics \lyricsto "one" \text
>>
\layout @{ @}
\midi @{ \tempo 4=60 @}
\score@{
<<
- \context Voice = one @{
+ \new Voice = "one" @{
\autoBeamOff
\sopranoMusic
@}
- \lyricsto "one" \new Lyrics \sopranoLyrics
+ \new Lyrics \lyricsto "one" \sopranoLyrics
>>
\layout @{ @}
\midi @{ \tempo 4=60 @}
@example
\score@{
-<<
<<
- \context Voice = one @{
- \autoBeamOff
- \sopranoMusic
- @}
- \lyricsto "one" \new Lyrics \sopranoLyrics
+ <<
+ \new Voice = "one" @{
+ \autoBeamOff
+ \sopranoMusic
+ @}
+ \new Lyrics \lyricsto "one" \sopranoLyrics
+ >>
+ \new Staff \celloMusic
>>
- \new Staff \celloMusic
->>
\layout @{ @}
\midi @{ \tempo 4=60 @}
@}
\score{
<<
- <<
- \context Voice = one {
- \autoBeamOff
- \sopranoMusic
- }
- \lyricsto "one" \new Lyrics \sopranoLyrics
- >>
- \new Staff \celloMusic
+ <<
+ \new Voice = "one" {
+ \autoBeamOff
+ \sopranoMusic
+ }
+ \new Lyrics \lyricsto "one" \sopranoLyrics
+ >>
+ \new Staff \celloMusic
>>
\layout { }
\midi { \tempo 4=60 }
\score @{
@{
<<
- \context Staff = singer <<
+ \new Staff = "singer" <<
>>
- \context PianoStaff = piano <<
+ \new PianoStaff = piano <<
>>
>>
@}
\score @{
@{
<<
- \context Staff = singer <<
- \context Voice = vocal @{ @}
+ \new Staff = "singer" <<
+ \new Voice = "vocal" @{ @}
>>
\new Lyrics \lyricsto vocal \new Lyrics @{ @}
- \context PianoStaff = piano <<
- \context Staff = upper @{ @}
- \context Staff = lower @{ @}
+ \new PianoStaff = "piano" <<
+ \new Staff = "upper" @{ @}
+ \new Staff = "lower" @{ @}
>>
>>
@}
staff (left hand).
At this stage, we could start filling in notes. Inside
-the curly braces next to @code{\context Voice = vocal},
+the curly braces next to @code{\new Voice = vocal},
we could start writing
@example
\score @{
@{
<<
- \context Staff = singer <<
- \context Voice = vocal @{ \melody @}
+ \new Staff = "singer" <<
+ \new Voice = "vocal" @{ \melody @}
>>
\new Lyrics \lyricsto vocal \new Lyrics @{ \text @}
- \context PianoStaff = piano <<
- \context Staff = upper @{ \upper @}
- \context Staff = lower @{ \lower @}
+ \new PianoStaff = "piano" <<
+ \new Staff = "upper" @{ \upper @}
+ \new Staff = "lower" @{ \lower @}
>>
>>
@}