Hi Johannes, thanks for your help! But I think this doesn't exactly fit to my problem. In the example below I get exactly the result needed and without compiling errors. But theres one disadvantage: the voices of these chords aren't separated into different files or sections within the main.ly, when putting them together with <...>. Is it possible to this just like: voice1 = { ... } voice2 = { ... } combined = { < \voice1 \voice2 > } Example-File: \version "2.8.2" \header { title = "Tune for Organ and Trumpet" composer = "Tomm" opus="" } \include "deutsch.ly" global = { \key f \major \time 4/4 %#(set-accidental-style 'default) } %#(set-default-paper-size "a4" 'landscape) %#(set-global-staff-size 18) halsup = { \stemUp \tieUp } halsdown = { \stemDown \tieDown } %------------------------------------------------------------------------------ first = { \new Voice \relative c'' { \global c8 a16 b c4~c8 b16 c d8 c16 b % Takt 1 c8. f,16 f2. % Takt 2 } } second = { \new Voice \relative c' { \global \halsdown <c a f>8 r8 r8 <c a f>16 <c a f>16 <d b g f>8 r8 r8 <d b g f>8 % Takt 1 <e c a f>8 r8 r8 <e c a f>16 <e c a f>16 <d b g f>8. <d b g f>16 <d b g f>8 <d b g f>8 % Takt 2 } } pedal = { \global \clef bass \new Voice \relative c, { f8 r8 r8 f f r8 r8 f % Takt 1 f8 r8 r8 f f r8 r4 % Takt 2 } } right = { \clef treble << \first >> } left = { \clef bass << \second >> } %------------------------------------------------------------------------------ \score { << \new PianoStaff { \set PianoStaff.instrument = \markup { \large "" } % Manual << \new Staff = right { \right } \new Staff = left { \left } >> } \new Staff { \set Staff.instrument = \markup { \large "" \hspace #1.8 } % Pedal \pedal } >> \layout { } } \score { << \new Staff = right { \set Staff.midiInstrument = "trumpet" \right } \new Staff = left { \set Staff.midiInstrument = "church organ" \left } \new Staff { \set Staff.midiInstrument = "church organ" \second } \new Staff { \set Staff.midiInstrument = "church organ" \pedal } >> \midi{ \tempo 4 = 100 } } Johannes Schöpfer wrote: I am just trying to write an organ staff with 5 voices and gettingcracy:1. voice: trumpet on the first stave, 2.-4 voice: church organ on the second stave and 5. voice: church organ on third stave.you could try my score-generator for lilypond 2.8.x http://www.johannes-schoepfer.de/lilypond/skeleton/ |
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user