Dear Gilbert
So this is the first time I offer help in this list!
Perhaps I can introduce a way I always do with my large orchestral scores with 
part amount from 24 to 42. I get this experience because I ever did it in my 
Braille Music Editor, which is very hard to turn a *listenable braille music 
file* (this is it's only advantage) into Finale--I now give up that foolish 
tool. It's very complicated and stupid probably, but can really result a very 
good Midi output. Please, if you won't see any confusing errors when compiling 
for PDF, add only \layout in your main score file, then make a separate file 
named "foo-midi.ly", and merge parts with the same sound into one staff. For 
example, piccolo and three flutes and alto flute (this must do additional 
transposition to make them sound in concert pitch, because when merging, the 
\transposition may also effect other parts, which are now become Voice in one 
part. Please see my attachment of the midi generator for my trial: First 
Symphony--DOOM). The maximum amount of parts is 16, although there will be a 
single warning. You can reject all lyrics contexts in this file (Oh, I 
remember, if you are doing with a score for voice only, just make two \score 
blocks like the piano template does, then reject lyricx in the \midi one, if 
your staff amount is under 16), then add only \midi { } at the end. After 
compiling, delete the ugly PDF file and ignore all warnings and errors which 
didn't occur in the file you want to produce .pdf.
Hope this will help you! If someone has more economy way, please share!
Haipeng
 
 
 
\version "2.11.42"

\include "sym1.ly"

\score {
  \new StaffGroup = "orchestra" <<
  \new Staff = "flutes" {
    \set Staff.midiInstrument = "flute"
  \unfoldRepeats { << { \tempocontrol } \\ { \transpose c f \piccolo } \\ { \transpose c' f \fluteI } \\ { \transpose c' f \fluteII } \\ { \transpose c' f \fluteIII } \\ { \altoflute } >> }
  }
  \new Staff = "oboes" {
    \set Staff.midiInstrument = "oboe"
  \unfoldRepeats { << { \transpose c' g' \oboeI } \\ { \transpose c' g' \oboeII } \\ { \transpose c' g' \oboeIII } \\ { \enghorn } >> }
  }
  \new Staff = "clarinets" {
    \set Staff.midiInstrument = "clarinet"
  \unfoldRepeats { << { \transpose c c' \clarinetI } \\ { \transpose c c' \clarinetII } \\ { \transpose c c' \clarinetIII } \\ { \bassclarinet } >> }
  }
  \new Staff = "bassoons" {
    \set Staff.midiInstrument = "bassoon"
  \unfoldRepeats { << { \transpose c c' \bassoonI } \\ { \transpose c c' \bassoonII } \\ { \transpose c c' \bassoonIII } \\ { \contrabassoon } >> }
  }
  \new Staff = "horns" {
    \set Staff.midiInstrument = "french horn"
  \unfoldRepeats { << \hornI \hornII \hornIII >> }
  }
  \new Staff = "trumpets" {
    \set Staff.midiInstrument = "trumpet"
  \unfoldRepeats { << \trumpetI \trumpetII \trumpetIII \trumpetIV >> }
  }
  \new Staff = "trombones" {
    \set Staff.midiInstrument = "trombone"
  << \tromboneI \tromboneII \tromboneIII \basstrombone >>
  }
  \new Staff = "tuba" {
    \set Staff.midiInstrument = "tuba"
  << \tubaI \tubaII >>
  }
  \new Staff = "timpani" {
    \set Staff.midiInstrument = "timpani"
  \unfoldRepeats { << \timpaniI \timpaniII >> }
  }
  \new DrumStaff = "percussion" { \unfoldRepeats { \midiPercussion } }
  \new Staff = "harp" {
    \set Staff.midiInstrument = "orchestral strings"
    \unfoldRepeats { << \harprh \harplh >> }
  }
  \new StaffGroup = "strings" <<
    \set StaffGroup.midiInstrument = "string ensemble 1"
    \new Staff = "violins" { \unfoldRepeats { << \violinI \violinII >> } }
    \new Staff = "viola" { \unfoldRepeats { \viola } }
    \new Staff = "violoncello" { \unfoldRepeats { \cello } }
    \new Staff = "contrabass" { \unfoldRepeats { \contrabass } }
  >>
>>
  \midi { }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to