Oops, here again:
\version "2.18.2"
my-music = \relative {
\tempo 4 = 144
c''1
\tag my-score { \grace d8 c2 }
\tag my-midi {
%% set grace note to a specific value:
d16 c4...
}
d2
}
\score {
\keepWithTag my-score
\my-music
\layout {}
}
\score {
\keepWithTag my-midi
\my-music
\midi {}
}
HTH,
~Pierre
2015-06-11 7:31 GMT+02:00 Pierre Perol-Schneider <
[email protected]>:
> Hi Gilberto,
>
> Here's a workaround:
>
> \version "2.18.2"
>
> my-music = \relative {
> \tempo 4 = 144
> c''1
> \tag my-score { \grace d8 c2 }
> \tag my-midi {
> %% set grace note to a specific value:
> d16 c4...
> }
> d1
> }
>
> \score {
> \keepWithTag my-score
> \my-music
> \layout {}
> }
>
> \score {
> \keepWithTag my-midi
> \my-music
> \midi {}
> }
>
> Cheers,
> ~Pierre
>
>
> 2015-06-10 20:54 GMT+02:00 Gilberto Agostinho <[email protected]>:
>
>> Hi all,
>>
>> Quick question: our documentation clearly states that "[e]ach grace note
>> in
>> MIDI output has a length of 1/4 of its actual duration", but is there any
>> way to set this parameter to another value?
>>
>> Thanks,
>> Gilberto
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/grace-note-duration-tp177682.html
>> Sent from the User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> lilypond-user mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user