lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with String Orchestra Template Please


From: Ben
Subject: Re: Help with String Orchestra Template Please
Date: Fri, 4 Oct 2019 21:08:25 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/4/2019 6:08 PM, Simon Albrecht wrote:
Hi Reggie,

there’s a really neat way of setting this up so that Lily will even be free to choose line breaks, but extra staves are only shown where necessary:

%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.83"

\paper { #(set-paper-size "a7") indent = 0 }

\layout {
  \context {
    \Staff
    \RemoveAllEmptyStaves
  }
}

vlIA = \repeat unfold 24 g4

\addQuote vlICommon \vlIA

vlIB = {
  \set Staff.keepAliveInterfaces = #'()
  \quoteDuring vlICommon s1*3
  \unset Staff.keepAliveInterfaces
  \repeat unfold 4 gis4
  \set Staff.keepAliveInterfaces = #'()
  \quoteDuring vlICommon s1*2
}

\score {
  <<
    \new Staff \vlIA
    \new Staff \vlIB
  >>
}
%%%%%%%%%%%%%%%%%%%%%%%

I hope this gives you enough to go on. If you need specific instrumentNames for the divisi staves, however, you need to specify break points and use \set Staff.instrumentName at those moments.

Please ask again if you need more hints.

Best, Simon

On 04.10.19 14:58, Reggie wrote:
Good afternoon.

I would really appreciate if some help could come from someone who knows how
to begin engraving a score that I need to do for a job. It is a string
orchestra piece but the divisi is confusing me I have no idea where to
start. Is there any template for this please?

The piece begins in a standard Violin I, Violin II, Viola, Cello, Bass
arrangement from page 1 however as the piece continues the violin I
"instrument" gets divided into 6 for long periods. As this, each Violin I
divisi get it's own staff. Very clean. I have fear when I go to make my
"parts" that I will have to have a messy 6-stave part for Violin I if I
engrave from the beginning, and simply "add ossia staff" as I go, and this
is not ideal.

Please look at my attached photos that show a few of what I am talking
about. I would be so appreciate if someone could show me how to begin this
engraving so the full score has 6-divided staffs correctly, and the parts
files can be separated and not a 6-staff mess per player for all violin 1
parts.  Is this possible in LilyPond? Thank you so kindly.

I'd like to use the template for other instruments later, like viola and
violin 2. Copy and paste I assume.

I am lost as to how to even begin to setup my score for full score and
parts. Thanks for any guidance. I really do not want to need to go back to
Finale.

PS the attached score is not my work it's a sample of what I mean with
divisi.

measure_1.png
<http://lilypond.1069038.n5.nabble.com/file/t5625/measure_1.png>
measure_50.png
<http://lilypond.1069038.n5.nabble.com/file/t5625/measure_50.png>
measure_100.png
<http://lilypond.1069038.n5.nabble.com/file/t5625/measure_100.png>



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

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi Simon,

Perhaps you can help me with something...

I was putting together a mockup to try and help Reggie but I hit a wall and don't understand if I'm doing something wrong.

I'm curious, how does my code look? Is it problematic from what you can tell? I *think* it accomplishes the correct result but I have some doubts on the parts.

I didn't know if I should create the divisi staffgroups at the start of the piece and then hide it until it's needed, or just use it on the fly as needed (which is what I did here). Reggie's photos show several violin 1s but I'm unsure if these will result in correct part separation when the time comes.

Thanks for any feedback! :)

%%%%%

\version "2.19.83"

hideMusic = { \set Staff.keepAliveInterfaces = #'() }
showMusic =   \unset Staff.keepAliveInterfaces

addOssiaName =
#(define-scheme-function (name padding) (markup? number?)
   (let ((adapted (make-vcenter-markup name)))
     #{
       \override Staff.StaffSymbol.stencil = #(lambda (grob)
                                                (ly:stencil-combine-at-edge (ly:staff-symbol::print grob)
                                                  X LEFT (grob-interpret-markup grob adapted) padding))
     #}))

global = {
  \key c \major
  \time 4/4
}

violinI = \relative c'' {
  \global
 
  c1 e g e d c g e d c c
  \break
  <<
    { \hideMusic g dis' gis, f g ais gis e d g d e }
    \new StaffGroup \with {
      alignAboveContext = "main"
      systemStartDelimiter = #'SystemStartBrace
      instrumentName = \markup { \center-column { "Vln. 1" "(div.)" } }
    }

    <<
      \new Staff \with { instrumentName = "1" }
      { \addOssiaName "Violin I-1" 3 c'2 2 2 2 }
      \new Staff \with { instrumentName = "2" }
      { \addOssiaName "Violin I-2" 3 c1 1  }
    >>
  >>
  \break
  \showMusic
  \repeat unfold 7 { c1 } \break
}

violinII = \relative c'' {
  \global
 
  \repeat unfold 30 { c1 }
}

viola = \relative c' {
  \global
 
  \repeat unfold 30 { d1 }
}

cello = \relative c' {
  \global
 
  \repeat unfold 30 { e,1 }
}

violinIPart = \new Staff = "main" \with {
  instrumentName = "Violin I"
  midiInstrument = "violin"
  shortInstrumentName = "v1"
} \violinI

violinIIPart = \new Staff \with {
  instrumentName = "Violin II"
  midiInstrument = "violin"
  shortInstrumentName = "v2"
} \violinII

violaPart = \new Staff \with {
  instrumentName = "Viola"
  midiInstrument = "viola"
  shortInstrumentName = "vla"
} { \clef alto \viola }

celloPart = \new Staff \with {
  instrumentName = "Cello"
  midiInstrument = "cello"
  shortInstrumentName = "cl"
} { \clef bass \cello }

\score {
  \new StaffGroup \with {
    systemStartDelimiter = #'SystemStartSquare
  } <<
    \violinIPart
    \violinIIPart
    \violaPart
    \celloPart
  >>
  \layout {
    \context {
      \Staff
      \RemoveEmptyStaves
      \override VerticalAxisGroup.remove-first = ##t
    }

  }
}

\paper {

  left-margin = 35\mm
  right-margin = 15\mm

}



Attachment: divisi-mockup-trial.jpg
Description: JPEG image


reply via email to

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