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 |
m New category Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 21: | Line 21: | ||
[[Category:Automatic notation]] | [[Category:Automatic notation]] | ||
[[Category:Really simple]] | [[Category:Really simple]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:32, 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
}