Re: quoteDuring: no midi nor repeats

2013-08-25 Thread Keith OHara
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.


 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.



___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: quoteDuring: no midi nor repeats

2013-08-25 Thread Jean-Charles Malahieude

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


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


quoteDuring: no midi nor repeats

2013-08-23 Thread Jean-Charles Malahieude

Hi all!

While generating homework material for choristers, I notice the following:

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

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 with LP-2.17.24

Cheers,
Jean-Charles
\version 2.17.24

singer = \relative c' {
  \repeat volta 2 { f4 g( a) r }
  c1
}

\addQuote echo { \singer }

continuo = {
  \set Score.quotedEventTypes = #'(note-event rest-event)
  \quoteDuring echo {
\repeat volta 2 { s1 }
s1
  }
}

\markup { Printed output }
\score {
  
\new Staff { \singer }
\new Staff { \new Voice { \continuo } }
  
  \layout { }
}

\markup { With unfoldRepeats for MIDI }
\score {
  \unfoldRepeats
  
\new Staff { \singer }
\new Staff { \new Voice { \continuo } }
  
  \layout { }
  \midi { }
}attachment: Quotes.png___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond