lilypond-user
[Top][All Lists]
Advanced

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

Re: unfold: volta for typesetting, unfold for MIDI generation?


From: Henning Hraban Ramm
Subject: Re: unfold: volta for typesetting, unfold for MIDI generation?
Date: Wed, 30 Mar 2016 17:12:37 +0600

Am 2016-03-30 um 16:43 schrieb Johannes Waldmann <address@hidden>:

> What is the recommended way to obtain the following behaviour
> from one and the same source code:
> repeats typeset as "\repeat volta N"
> (so the page is not filled with duplicates)
> but MIDI generated as with "\repeat unfold N"
> (so the duplicates are heard).

You need two different \score sections for MIDI and PDF output like here:
https://gist.github.com/fiee/8171f1228cd560788e88
and employ \unfoldRepeats for MIDI.


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)







reply via email to

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