Scaling durations: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 20: | Line 20: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Automatic notation]] | [[Category:Automatic notation]] | ||
[[Category:Really simple]] | [[Category:Really simple]][[Category:Snippet]] | ||
Revision as of 22:59, 21 November 2025
You can alter the length of duration by a fraction N/M appending `*N/M' (or `*N' if M=1). This will not affect the appearance of the notes or rests produced.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=6
%% see also http://lsr.di.unimi.it/LSR/Item?id=324
\relative c'' {
\time 2/4
% Alter durations to triplets
a4*2/3 gis a
% Normal durations
a4 a
% Double the duration of chord
<a d>4*2
% Duration of quarter, appears like sixteenth
b16*4 c4
}