bug-lilypond
[Top][All Lists]
Advanced

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

Re: quoteDuring: no midi nor repeats


From: Jean-Charles Malahieude
Subject: Re: quoteDuring: no midi nor repeats
Date: Sun, 25 Aug 2013 14:40:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

Le 25/08/2013 08:34, Keith OHara disait :
Jean-Charles Malahieude <lilyfan <at> orange.fr> writes:

1- unfoldRepeats doesn't work, neither on pdf nor in midi, [on Quotes]


You can
   \addQuote "echo" { \singer }
before the printed score, and
   \addQuote "echo" { \unfoldRepeats \singer }
before the midi score with \unfoldRepeats

I'll add a tracker issue.


Thanks.
The workaround is nevertheless not optimal in case of a large project with lots of included files, like:

 BWV246/05/BassoM.ily containing music for bass singers,

 BWV246/05/Continuo.ily containing :
   \addQuote "basso" { \include "BassoM.ily" }
   {
     \set Score.quotedEventTypes = #'(note-event rest-event)
     \quoteDuring "basso" { \repeat volta 2 { s1*5 } s1*8 f1 }
   }

 BWV246/05/Score.ily for the score layout (used both for pdf and midi):
  <<
  …
    \new Staff = "Continuo" <<
      \XContinuo \clef "bass"
      \new Voice << \include "Breaks.ily"
        \include "Global.ily" \include "Continuo.ily" >>
      \new FiguredBass { \include "Figures.ily" }
    >>
  >>

BWV246/Urtext.ly collecting all 80 pieces with preface and ToC reproducing my source:
  …
  \tocItem \AE \label #'RefAE
  \score { \keepWithTag #'(Full Urtext)
    \include "05/Score.ily"
    \header {
      breakbefore = ##t
      piece = "(CHORAL.)"
    }
    \layout { }
  } %ends 05
  …

  BWV246/Midi.ly including all 80 \book for midi:
  …
  \book { \bookOutputName "BWV_246-05"
  \score { \keepWithTag #'Full \unfoldRepeats
    \include "05/Score.ily"
    \midi { \tempo 4 = 72 }
  } } %ends 05
  …

Strange that I now get lots of errors I didn't get before moving addQuote from 05/Continuo.ily into a 05/Midi.ily: /home/jcharles/Partothek/Bach/246-Lukas-Passion/Lily/05/Midis.ily:2:1: Error : wrong argument type for 1.
 Expected music, found #<unspecified>

\addQuote "basso" { \unfoldRepeats { \include "BassoM.ily" } }

I think I'll unfortunately have to review the all of it, at least each time there is a quoting (many of them?) with repeats, and increase the number of involved files.


2- quoted parts don't go to midi by default, you have to at least add
     \set Score.quotedEventTypes = #'(note-event rest-event).

This is issue 2250.  Thanks for the workaround; it might be a proper fix
if we simply include it in the defaults.


(note that adding Stream-event to the list includes sluring which is bad thing when used for melismas)
I didn't find it because searching for "addquote"…


Cheers,
Jean-Charles




reply via email to

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