Re: Help with repeats for midi
Based on your latest email to the mailing list, it seems that the problem here is that you are using some kind of WIKI with embedded LilyPond support to process your code, instead of using LilyPond directly. Since I have no idea about how this specific web server works, I am just speculating here, but I guess that the server adds some code around the code you enter, which explains why the previously proposed code with two separate \score{...} blocks doesn't work. The easiest way to expand the repeats in your code is to add a \unfoldRepeats { ... } around all your current code. This should work correctly for the MIDI output, but unfortunately it will also expand the repeats for the printed version. If that's not useful for you, I propose to download and install LilyPond on your own computer or figure out who implemented that specific WIKI server and contact them for more support on how to use the previously proposed solution with identifiers and several \score blocks. /Mats Quoting John Pezouvanis <[EMAIL PROTECTED]>: \set Staff.midiInstrument = "bright acoustic" \clef treble \tempo 8=102 \key d \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. cis32 c16 cis 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 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d,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 d d16 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 d Thanks for answering. I've already read the documentation and tried everything and 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@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
Hi vasil and thanks for answering and thanks for going through the trouble of writing the score for me, but sadly it didn't work. I forgot to write that I'm using this score with wiki and I'm thinking that maybe that's the reason this isn't working. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
*John, I guess this what your are striving for : * \header{ title = "some Greek music" } #(set-global-staff-size 25) notes = \relative c''{ \clef treble \key d \major \time 9/8 \override Staff.NoteCollision #'merge-differently-dotted = ##t \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. cis32 c16 cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d } } \score { \notes \layout {} } \score { \unfoldRepeats { \set Staff.midiInstrument = "bright acoustic" \notes } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 102 8) } } } \version "2.10.0" % necessary for upgrading to future LilyPond versions. On 10/1/07, Vasil Kadifeli <[EMAIL PROTECTED]> wrote: > > *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 8 8 } \\ c,4.-3 >> > << { d8 8 8 } \\ d,4.-0 >> > << { c8 8 8 } \\ c,4.-3 >> > << { d'8-3^\markup (4) b-0 g-0 } \\ { r4 r8 } >> > << { c,8 8 8 } \\ c,4.-3 >> > << { d8 8 8 } \\ d,4.-0 >> > << { g8-0 a-2 b-0 } \\ { r4 r8 } >> > << { c4-1 r8 } \\ { c,4-3 r8 } >> > } > \repeat volta 2 { > << { f8 8 8 } \\ f4.-3_\markup (4) >> > << { e8 8 8 } \\ e4.-2 >> > << { d8 8 8 } \\ d,4.-0 >> > << { c8 8 8 } \\ c,4.-3 >> > << { f8 8 8 } \\ f4.-3_\markup (4) >> > << { e8 8 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 <[EMAIL PROTECTED]> 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 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 yahoo.gr> wrote: > > \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 > > dThanks 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 > > gnu.orghttp://lists
Re: Help with repeats for midi
*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 8 8 } \\ c,4.-3 >> << { d8 8 8 } \\ d,4.-0 >> << { c8 8 8 } \\ c,4.-3 >> << { d'8-3^\markup (4) b-0 g-0 } \\ { r4 r8 } >> << { c,8 8 8 } \\ c,4.-3 >> << { d8 8 8 } \\ d,4.-0 >> << { g8-0 a-2 b-0 } \\ { r4 r8 } >> << { c4-1 r8 } \\ { c,4-3 r8 } >> } \repeat volta 2 { << { f8 8 8 } \\ f4.-3_\markup (4) >> << { e8 8 8 } \\ e4.-2 >> << { d8 8 8 } \\ d,4.-0 >> << { c8 8 8 } \\ c,4.-3 >> << { f8 8 8 } \\ f4.-3_\markup (4) >> << { e8 8 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 <[EMAIL PROTECTED]> 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 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 yahoo.gr> wrote: > \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 dThanks > 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 gnu > .orghttp://lists.gnu.org/mailman/listinfo/lilypond-user > > > > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > 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 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
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 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 yahoo.gr> wrote: \set Staff.midiInstrument = "bright acoustic"\clef treble\tempo 8=102 \key d \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 dThanks 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 gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
Actually *following* Grahams advise about reading "Repeats and Midi" in the documentation *will* give the answer... /Simon ps. sorry to sound arrogant, but this is clearly a case of RTFM On 10/1/07, John Pezouvanis <[EMAIL PROTECTED]> wrote: > > > \set Staff.midiInstrument = "bright acoustic" > \clef treble > \tempo 8=102 > \key d \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. cis32 > c16 > cis 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 > d16 > e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 > d,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 d > d16 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 d > > > Thanks for answering. I've already read the documentation and tried > everything > and 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@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
\set Staff.midiInstrument = "bright acoustic" \clef treble \tempo 8=102 \key d \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. cis32 c16 cis 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 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d,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 d d16 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 d Thanks for answering. I've already read the documentation and tried everything and 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@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with repeats for midi
Please read the documentation about repeats. The section "repeats and MIDI" might be a good place to start. - Graham John Pezouvanis wrote: Hello, I'ma having trouble with this piece of music. I can't get the repeats to work while playing it in midi format. Can anyone help me out? \set Staff.midiInstrument = "bright acoustic" \clef treble \tempo 8=102 \key d \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. cis32 c16 cis 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 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d,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 d d16 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 d ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Help with repeats for midi
Hello, I'ma having trouble with this piece of music. I can't get the repeats to work while playing it in midi format. Can anyone help me out? \set Staff.midiInstrument = "bright acoustic" \clef treble \tempo 8=102 \key d \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. cis32 c16 cis 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 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d,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 d d16 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 d ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user