[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: programming error: Going back in MIDI time
From: |
Janek Warchoł |
Subject: |
Re: programming error: Going back in MIDI time |
Date: |
Wed, 6 Apr 2011 07:53:01 +0200 |
Hi,
2011/4/5 Peter O'Doherty <address@hidden>
>
> Hi,
> I know this has been asked before but I haven't been able to resolve it
> satisfactorily.
> Can anyone suggest a solution to this error?
> It occurs in the example below, i.e. when the grace note has more than 4
> members.
The number 4 is not important here - what matters is the fact that
grace notes take more time than the previous note.
using
\acciaccatura { c'16[ d' e' f' g'] }
or
\acciaccatura { \scaleDurations #' (1 . 2) { c'8[ d' e' f' g'] } }
%make notes 2 times shorter than they look
fixes this problem, is it satisfactory for you?
HTH,
Janek
> ##################
> \version "2.12.3"
> \include "english.ly"
>
> upper = {
> \clef treble
> \time 4/4
> %a'8[ a' a' a'] \acciaccatura { c'8[ d' e' f' g'] } a'8[ a'8 a'8 a'8 ]
> %doesn't work
> a'8[ a' a' a'] \appoggiatura { c'8[ d' e' f'] } a'8[ a'8 a'8 a'8 ] %works
> }
>
> lower = {
> \clef bass
> f4 f f f
> }
>
> \score {
> \new PianoStaff
> <<
> \set PianoStaff.instrumentName = #"Piano"
> \new Staff = "upper" { \upper
> }
> \new Staff = "lower" {\lower
> }
> >>
> \layout {
> \context {
> }
> }
> \midi { }
> }
> ##################