Hi.... this should work right?
But it generates a correct pdf, but the midi file is emty...
Can you figure out the problem?
Cheers
Jannik
==========
\version "2.6.3"
\header {
title = "A-mol pentaton skala"
}
\paper {
#(set-paper-size "a4")
tagline = "Jannik Jeppesen"
indent = 0\cm
}
pentatonic = \relative c {
\key a \minor
\time 4/4
\repeat volta 20 {
a8\6 c\6 d\5 e\5 g\4 a\4 c\3 d\3 e\2 g\2 a\1 c\1
a\1 g\2 e\2 d\3 c\3 a\4 g\4 e\5 d\5 c\6
}}
guitar = {
\context Staff {
\clef "G_8"
\pentatonic
}
}
guitartab = {
\context TabStaff {
\override Beam #'transparent = ##t
\override Stem #'transparent = ##t
\pentatonic
}
}
\score {
<<
\context Staff = guitar \guitar
\context TabStaff = guitar \guitartab
>>
\layout { }
}
\score {
\unfoldRepeats \pentatonic
\midi { \tempo 4 = 120 }
}
==================
----- Original Message ----- From: "Gilles"
<address@hidden>
To: <address@hidden>
Sent: Thursday, November 17, 2005 1:28 AM
Subject: Re: Repeat midi using "repeat volta"
How is it posible to create a midi file repeating a bar 20 times, but
still
using the command
\repeat volta 20 {
}
?
If i write unfold, it generates 20 bars in the layout, and thats not
what i
need.
Until now I have created 2 files, a layout file, and a midi....but isnĀ“t
it possible to do it in one file?
Yes, it is:
%---
\version "2.6.0"
themusic = \new Staff
\relative c'' {
\repeat volta 20 {
a b c d |
}
}
\score {
\themusic
\layout {}
}
\score {
\unfoldRepeats \themusic
\midi { \tempo 4 = 60 }
}
%---
Best,
Gilles
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-use
r