lilypond-user
[Top][All Lists]
Advanced

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

Re: Orchestral group


From: Mario Moles
Subject: Re: Orchestral group
Date: Sat, 09 Mar 2013 01:09:15 +0100
User-agent: KMail/4.9.5 (Linux/3.6.11-nrjQL-realtime-69rosa; KDE/4.9.5; x86_64; ; )

Ok!

Well! As I have already said I think that this solution is really nice but I can not fix what I have underlined in red: that the staff bar connection. And I can not add staff "Harpsichord" without StaffGroup and only PianoStaff :-(
Here is my code:

\version "2.17.6"

\language "english"

 

\header {

% Elimina la tagline predefinita di LilyPond

tagline = ##f

}

 

#(set! paper-alist (cons '("my size" . (cons (* 11 cm) (* 20 cm))) paper-alist))

 

\paper{

#(set-paper-size "my size")

print-page-number = ##f

myStaffSize = #16

#(define fonts

(make-pango-font-tree "SimonciniGaramond"

"SimonciniGaramond"

"SimonciniGaramond"

(/ myStaffSize 16)))

indent= 1\in

line-width=10.5\cm

oddFooterMarkup=##f

oddHeaderMarkup=##f

bookTitleMarkup = ##f

scoreTitleMarkup = ##f

ragged-bottom=##f

ragged-last = ##f

ragged-last-bottom=##f

bottom-margin = 0.2\cm

top-margin = 0.2\cm

}

#(set-global-staff-size 16)

 

someMusic = \relative c' { c1 c c c }

 

%\paper { indent = 2\in }

 

\layout {

\context {

\Staff

\override InstrumentName.padding = #-7.8

\override InstrumentName.self-alignment-X = #0

\override InstrumentName.baseline-skip = #2.25

\override InstrumentName.font-size = #-0.5

}

\context {

% violini I e II

\StaffGroup

\name ViolinGroup

\alias ChoirStaff

systemStartDelimiter = #'SystemStartBrace

\override SystemStartBrace.extra-offset = #'(10.5 . 0)

}

\context {

\StaffGroup

\name WindGroup

\alias ChoirStaff

systemStartDelimiter = #'SystemStartBracket

\override SystemStartBracket.collapse-height = #1

\override SystemStartBracket.extra-offset = #'(15 . 0)

}

\context {

\StaffGroup

\name StringGroup

\alias ChoirStaff

\accepts ViolinGroup

systemStartDelimiter = #'SystemStartBracket

\override SystemStartBracket.extra-offset = #'(15 . 0)

}

\context {

\StaffGroup

\name OrchestraGroup

\accepts WindGroup

\accepts StringGroup

systemStartDelimiter = #'SystemStartBrace

\override SystemStartBrace #'X-offset = #-11.5

instrumentName = \markup \rotate #90 { "Orchestra I" }

\override InstrumentName.extra-offset = #'(9 . 0)

}

\context {

\GrandStaff

\remove "System_start_delimiter_engraver"

\accepts OrchestraGroup

\accepts ChoirStaff

}

\context {

\PianoStaff

%\remove "System_start_delimiter_engraver"

systemStartDelimiter = #'SystemStartBrace

\accepts OrchestraGroup

\accepts PianoStaff

}

}

 

\score {

\new GrandStaff <<

\new OrchestraGroup <<

\new WindGroup <<

\new Staff \with { instrumentName = "Oboe" } \someMusic

>>

\new StringGroup <<

\new ViolinGroup <<

\new Staff \with { instrumentName = "Violino I" } \someMusic

\new Staff \with { instrumentName = "Violino II" } \someMusic

>>

\new Staff \with { instrumentName = "Viola" } \someMusic

>>

>>

\new ChoirStaff <<

\new Staff \with {

instrumentName = "Soprano" \override InstrumentName.padding = #-17 } \someMusic

\new Staff \with {

instrumentName = "Alto" \override InstrumentName.padding = #-17 } \someMusic

\new Staff \with {

instrumentName = "Tenore" \override InstrumentName.padding = #-17 } \someMusic

\new Staff \with {

instrumentName = "Basso" \override InstrumentName.padding = #-17 } \someMusic

>>

\new PianoStaff \with {

instrumentName = "piano" \override InstrumentName.padding = #-17 } <<

\new Staff = "upper" { \someMusic }

\new Staff = "lower" { \someMusic }

>>

>>

}

--

oiram/bin/selom

Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.

MIB-kernellinux-tester

Linux

MIB Lilypond Frescobaldi Rosegarden

Attachment: Orchestra.png
Description: PNG image


reply via email to

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