lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with repeats for midi


From: Vasil Kadifeli
Subject: Re: Help with repeats for midi
Date: Mon, 1 Oct 2007 12:35:56 +0300

Hi John,
 
I am new both to music and lilypond...
 
Here is a skeleton of one of my files... one of the most difficult things for me was to develop my own template to write down the simple music notations I am trying to play... this is where I have come up to now ;) and s till I am not sure if I am doing it correct or not...
 
The first "\score" creates the pdf file, the second one the midi file...
They both include the music notes script called "\notalar"...
There are three parts of notes each one played twice in the midi...
 
I hope it helps...
Vasilis
 

\include "english.ly"

\header{
  title = "Leccion No.23 F.Carulli"
}

#(set-global-staff-size 25)

notalar =
  \relative c''{
    \time 3/8
    \override Staff.NoteCollision #'merge-differently-dotted = ##t
    \repeat volta 2 {
    << { c,8 <c'   e>8  <c  e>8  } \\ c,4.-3 >>
    << { d8 <b'  f'>8 <b  f'>8 } \\ d,4.-0 >>
    << { c8 <c'  e>8  <c  e>8  } \\ c,4.-3 >> 
    << { d'8-3^\markup (4) b-0 g-0 } \\ { r4 r8 } >>   
    << { c,8 <c'   e>8  <c  e>8  } \\ c,4.-3 >>
    << { d8 <b'  f'>8 <b  f'>8 } \\ d,4.-0 >>
    << { g8-0 a-2 b-0 } \\ { r4 r8 } >> 
    << { c4-1 r8 } \\ { c,4-3 r8  } >>   
    }
    \repeat volta 2 {
    << { f8 <g   b>8   <g   b>8  } \\ f4.-3_\markup (4) >>
    << { e8 <g   c>8   <g   c>8  } \\ e4.-2 >>
    << { d8 <b'  f'>8  <b   f'>8 } \\ d,4.-0 >> 
    << { c8 <c'  e>8   <c   e>8  } \\ c,4.-3 >>
    << { f8 <g   b>8   <g   b>8  } \\ f4.-3_\markup (4) >>
    << { e8 <g   c>8   <g   c>8  } \\ e4.-2 >>
    << { f'8-1 d-3^\markup (4) b-0 } \\ d,4.-0  >>   
    << { c'4-1 r8 } \\ { c,4-3 r8 } >>   
    }
    \repeat volta 2 {
    << { a'8-2   c-1  e-0 } \\ a,,4.-0 >>   
    << { a'8-2   c-1  e-0 } \\ a,,4.-0 >>   
    << { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 >>   
    << { c''8-1  b-0  c-1 } \\ a,4.-0 >>   
    << { a'8-2   c-1  e-0 } \\ a,,4.-0 >>   
    << { a'8-2   c-1  e-0 } \\ a,,4.-0 >>   
    << { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 >>  
    << { a'4-2   r8 } \\ { c,4-0 r8 } >>   
    }
  }

\score {
  \notalar
  \layout {}
}

\score {
  \unfoldRepeats {
    \set Staff.midiInstrument = "acoustic guitar (nylon)"
    \notalar
  }
  \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 100 4) } }
}

\version "2.10.0"  % necessary for upgrading to future LilyPond versions.

 


 
On 10/1/07, John Pezouvanis <address@hidden> wrote:
Is there anyone else that can actually help. As I said I read the manual and
tried what is says but all I get is error messages. So I need someone to tell
me exactly what I need to add so I can get the repeats to work in MIDI. Any
help would be apreciated..


Simon Dahlbacka <simon.dahlbacka <at> gmail.com> writes:

Actually *following* Grahams advise about reading "Repeats and Midi" in the
documentation *will* give the answer.../Simonps. sorry to sound arrogant, but
this is clearly a case of RTFM


On 10/1/07, John Pezouvanis <o_diagoras <at> yahoo.gr> wrote:
<lilymidi>\set Staff.midiInstrument = "bright acoustic"\clef treble\tempo 8=102
\keyd \major\time 9/8\relative c''\repeat volta 2 {d16. cis32 d16 e fis d32
d e16 cis d8. a16 b b32 a aes16
a d8}\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16.
cis32c16cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32
d16e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8d,16 fis g gis a b32 b a16 g
fis g32 g e16 fis d16. cis32 c16 cis d8 d16.cis32 d16 e fis g32 a g fis e16
d16. cis32 c16 cis d8 d dd16 fis g gis a b32 b a16 g fis g32 g e16 fis d16.
cis32 c16 cis d8 d16.
cis32d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d</lilymidi>Thanks for
answering. I've already read the documentation and tried everythingand still
can't get no results. If someone more expirienced can tell me what I
need to insert in the code I would be very
grateful.._______________________________________________lilypond-user mailing
list
lilypond-user <at> gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user







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



--
-----------------------------------
VASIL KADIFELI
*** sayfalarımızı ziyaret edin yararlanın :)
http://www.kadifeli.com
http://www.kadifeli.com/vasil
http://www.kadifeli.com/fedon
*** those interested in music visit :
http://lilypond.org
http://lilypondwiki.tuxfamily.org
reply via email to

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