mirror of
https://github.com/kastdeur/bagpipe.ly.git
synced 2025-06-18 05:06:39 +02:00
Moved timing macros to own file aswell
This commit is contained in:
parent
e5fbc007c0
commit
a996915524
3 changed files with 34 additions and 50 deletions
27
lib/timing.ily
Normal file
27
lib/timing.ily
Normal file
|
@ -0,0 +1,27 @@
|
|||
% ===================================== %
|
||||
% Some common timing tweaks %
|
||||
% ===================================== %
|
||||
|
||||
% Sets the autobeamer to span quarter notes only. Use for fast music.
|
||||
quarterBeaming = {
|
||||
\set Score.baseMoment = #(ly:make-moment 1/4)
|
||||
\set Score.beatStructure = #'(1 1 1 1)
|
||||
}
|
||||
% Sets the autobeamer to span half notes. Mostly used in reels.
|
||||
halfBeaming = {
|
||||
\set Score.baseMoment = #(ly:make-moment 1/2)
|
||||
\set Score.beatStructure = #'(1 1)
|
||||
}
|
||||
|
||||
% Reels are in allabreve time with half note beaming.
|
||||
reelTime = {
|
||||
\time 2/2
|
||||
\halfBeaming
|
||||
}
|
||||
% 4/4 marches are written with numerical time signature and with quarter beaming.
|
||||
marchTime = {
|
||||
\time 4/4
|
||||
\numericTimeSignature
|
||||
\quarterBeaming
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue