Moved timing macros to own file aswell

This commit is contained in:
Eric Teunis de Boone 2019-01-03 22:37:07 +01:00
parent e5fbc007c0
commit a996915524
3 changed files with 34 additions and 50 deletions

View File

@ -5,36 +5,15 @@
Substantial changes and additions made by
Sven Axelsson, the Murray Pipes & Drums of Gothenburg
(http://www.murrays.nu)
Including this file will **not** change the pitchnames used by lilypond.
embellishments will be placed around c''
%}
\version "2.19.28"
% 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
}
#(ly:set-option 'relative-includes #t)
\include "lib/embellishments-fixed.ily"
\include "lib/layout_tweaks.ily"
\include "lib/timing.ily"

View File

@ -5,37 +5,15 @@
Substantial changes and additions made by
Sven Axelsson, the Murray Pipes & Drums of Gothenburg
(http://www.murrays.nu)
Including this file will change the pitchnames used by lilypond.
%}
\version "2.19.28"
% 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
}
#(ly:set-option 'relative-includes #t)
\include "lib/pitchnames.ily"
\include "lib/embellishments.ily"
\include "lib/layout_tweaks.ily"
\include "lib/timing.ily"

27
lib/timing.ily Normal file
View 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
}