lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.11.49 - MIDI (again...)


From: Trevor Daniels
Subject: Re: 2.11.49 - MIDI (again...)
Date: Mon, 16 Jun 2008 09:41:51 +0100

There's nothing wrong with the midi part of your
score, but as written this file generates lots of
other errors.  To get the file to compile you need
to move the \score to just before the \relative, as
Graham pointed out, and to enclose each \markup block
in braces - \markup { .... }.  It then compiles without
error and produces a midi file.  Don't know if it's
exactly what you intended though.

Trevor

----- Original Message ----- From: "George_" <address@hidden>
To: <address@hidden>
Sent: Monday, June 16, 2008 4:56 AM
Subject: Re: 2.11.49 - MIDI (again...)



\version "2.11.49"

\score {

one =
 ^\markup
   \combine
      \musicglyph #"accordion.accDiscant"
   \combine
      \raise #1.5 \musicglyph #"accordion.accDot"
      \raise #2.5 \musicglyph #"accordion.accDot"

two =
 ^\markup
   \combine
      \musicglyph #"accordion.accDiscant"
   \combine
      \translate #(cons 1 0) \raise #1.5 \musicglyph #"accordion.accDot"
      \translate #(cons -1 0) \raise #1.5 \musicglyph #"accordion.accDot"
      \raise #2.5 \musicglyph #"accordion.accDot"

three =
 ^\markup
   \combine
      \musicglyph #"accordion.accDiscant"
   \combine
      \translate #(cons 1 0)  \raise #1.5 \musicglyph #"accordion.accDot"
      \translate #(cons -1 0)  \raise #1.5 \musicglyph #"accordion.accDot"

four =
 ^\markup
   \combine
      \musicglyph #"accordion.accDiscant"
   \combine
      \raise #0.5 \musicglyph #"accordion.accDot"
      \raise #2.5 \musicglyph #"accordion.accDot"

five =
 ^\markup
   \combine
      \musicglyph #"accordion.accDiscant"
   \combine
      \raise #0.5 \musicglyph #"accordion.accDot"
      \translate #(cons 1 0)  \raise #1.5 \musicglyph #"accordion.accDot"
      \translate #(cons -1 0)  \raise #1.5 \musicglyph #"accordion.accDot"
      \raise #2.5 \musicglyph #"accordion.accDot"

\relative c' {

 <<
 \time 7/8
 \new Staff = "main" {
 \key f \major

%1
 \repeat "percent" 12 { << { d8[ \f \one d' d' d,] d,[( d') d'] }
 \new Staff \with {
     alignAboveContext = "main"
     \override Clef #'stencil = ##f
     \override TimeSignature #'stencil = ##f
     fontSize = #-3
     % Reduce stem length and line spacing to match
     \override StaffSymbol #'staff-space = #(magstep -3)
      }
{ d,,[ ^\markup { \small "For piano accordion" } d' d d] d,[ d' d] }
>>
}
%13
 \repeat "percent" 4 { d,[ d' bes' d,] d,[( d') bes'] } |

%% Basically the rest of my music is just repeated like this, so I'll save
the space and not put it here

 }
>>
}
 \midi {
   \context {
  \Score
  tempoWholesPerMinute = #(ly:make-moment 168 4)

       \remove "Dynamic_performer"
  }
   }
 \layout { }

}



Valentin Villenave wrote:

We can't help you unless you show us some piece of code. Though your
approach seems OK, you may have forgotten something else.

--
View this message in context: http://www.nabble.com/2.11.49---MIDI-%28again...%29-tp17845134p17857522.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

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