Il 09/12/2012 11:18, Olivier Biot ha scritto:
And I am using articulate.ly <http://articulate.ly> as in the documentation:
http://lilypond.org/doc/v2.16/Documentation/notation/the-articulate-script

However I can't get the MIDI to do what is expected.


The problem is not with articulate.ly
Have you read the warning message in the terminal output? Have you seen that the second volta is missing?

The problem is here, but I can't see it:

\version "2.16.1"

theMusic =
  \new Staff \with {midiInstrument = #"cello"} {
    \relative g, {
      \key c \major
      \clef "bass"
      \repeat volta 2 {
        << { g4 ( c ) d ( g, ) } \\ { c,2 g'4 s } >>
        d2 d            |
      } \alternative {
{ << { fis'8 ( d e fis ) } \\ { g,2 } >> <g g'>8 ( g f! d ) } | % 12
        { e'4 ( c8 a ) b4 ( d8 g ) }        |
      }
      e4 ( c8 a ) b4 ( d8 g )        |
      b r r b ( b ) r r b            |
    }
  }

\score {
  \theMusic
  \layout {
  }
  \midi{}
}

% \include "articulate.ly"
% \score {
%   \unfoldRepeats \articulate \theMusic
%   \midi {}
% }



If you wonder why I import articulate.ly <http://articulate.ly> at the
end, it's because of some strange side-effect it has on music
expressions even without calling the articulate command, which I posted
in another thread:
http://lilypond.1069038.n5.nabble.com/Unexpected-side-effect-of-articulate-ly-on-aftergrace-tp137289.html

You can put the include anywhere just before using the \articulate command. It's actually better in case you need to comment the score block with midi settings.

--
Federico

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to