[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hide staff on printout but retain midi
From: |
Wilbert Berendsen |
Subject: |
Re: Hide staff on printout but retain midi |
Date: |
Fri, 28 May 2010 13:38:38 +0200 |
User-agent: |
KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; i686; ; ) |
Op donderdag 27 mei 2010 schreef northofscotland:
> I am typesetting a mediaeval trouvere song and want to add a drone to the
> midi but hide the somewhat redundant music in the printout. Is there a
> simple way to do this, please?
That's easy, using two \score blocks, one for the printout and one for the
midi, like this:
musicOne = { ... }
musicTwo = { ... }
\score {
<<
\new Staff \musicOne
>>
\layout { }
}
\score {
<<
\new Staff \musicOne
\new Staff \musicTwo
>>
\midi { }
}
A \score { } block with a \midi {} but without a \layout {} will not print.
best regards,
Wilbert Berendsen
--
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/