Philippe Hezaine a écrit :
Hi all,
i'm wondering if I can get rid of this issues: 1. The output is OK but I have many Avertissement : échec du contrôle de mesure (barcheck) in the console because of the whole rests. Of course the Gigsaw's process follows the same way. I read the answer of Mats Bengtsson a few days ago about the same problem with polymetric bars. But may be I'm missing something in the layout or the \score. If you have time can you look at this file? Sorry that isn't a minimal exemple. Deliberately the bar check are commented. In this case it doesn't matter. In case I'm not wrong wouldn't be an example for a feature request?
Wow! Here is a minimal example. First i discovered that if I commented out all the block \midi I got rid of these annoying messages. I was very astonished by this. But I did need to get a midi file output! Suddenly I have the idea to write different context inside the \midi block. And voilà! I hope all will be going right in the Gigsaw which isn't a tiny file. It will take me a few time to test it. Am I on the right way? -- Phil.
\version "2.12.2" #(ly:set-option 'delete-intermediate-files #t) pulse = \drummode { \time 2/2 <bd hhc>8 r8 hhc8 r8 hhc8 r8 hhc8 r8 %| } Polyun = \drummode { \time 7/8 sna8 r8 r4 wbl8 r4 %| \time 6/8 tomh8 r4 wbl8 r4 %| \time 5/8 toml8 r4 wbl8 r8 %| \time 4/8 tomfl8 r8 wbl8 r8 %| } Polydeux = \drummode { \time 7/8 R1*7/8 %| } Polytrois = \drummode { \time 7/8 R1*7/8 %| } melodiques = \relative c { % \set Staff.midiInstrument = "standard kit" \time 4/4 R1 %| } \score { << \new Staff << \set Staff.instrumentName = "Melod" \new Voice { \melodiques } >> %%%%%%%%%%%%%%%%%% \new DrumStaff << \set Staff.instrumentName = "Poly3" \new DrumVoice { \Polytrois } >> %%%%%%%%%%%%%%%%%% \new DrumStaff << \set Staff.instrumentName = "Poly2" \new DrumVoice { \Polydeux } >> %%%%%%%%%%%%%%%%%% \new DrumStaff << \set Staff.instrumentName = "Poly1" \new DrumVoice { \Polyun } >> %%%%%%%%%%%%%%%%%% \new DrumStaff << \set DrumStaff.instrumentName = "Drums" \set DrumStaff.midiInstrument = "standard kit" \new DrumVoice { \pulse } >> %%%%%%%%%%%%%%%%%% >> \layout { \context { \RemoveEmptyStaffContext \override VerticalAxisGroup #'remove-first = ##t } \context { \Score \remove "Timing_translator" \remove "Time_signature_engraver" \remove "Default_bar_line_engraver" } \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" \consists "Time_signature_engraver" } \context { \DrumStaff \remove "Axis_group_engraver" \override VerticalAxisGroup #'remove-empty = ##t \override VerticalAxisGroup #'remove-first = ##t \consists "Hara_kiri_engraver" \consists "Timing_translator" \consists "Default_bar_line_engraver" } } \midi { \context { \Score \remove "Timing_translator" tempoWholesPerMinute = #(ly:make-moment 120 4) } \context { \Staff \consists "Timing_translator" } \context { \DrumStaff \consists "Timing_translator" } } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user