Skip to content

Commit

Permalink
Improve MIDI output
Browse files Browse the repository at this point in the history
  • Loading branch information
ksnortum committed May 30, 2023
1 parent d07a8b6 commit f5c37dc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 44 deletions.
37 changes: 19 additions & 18 deletions includes/danse-parts.ily
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,16 @@ souffle = "en un souffle"
% -------------

highVoice = \relative {
\tempo \lent
\set Score.tempoHideNote = ##t
\tempo \lent 4 = 60

c'''8 ( [ a g a ] |
c [ a g a ]~ |
a2 ~ |
a2 ) |

\barNumberCheck #5
\tempo 4 = 100
<d, f>16-. q-. <ef g>8-. <f a> <gs c>-. |
<d f>16-. q-. <ef g!>8-. <f a> <gs c>-. |
<fs bf>8-. <cs f>-. <cs! f>-.-- r |
Expand Down Expand Up @@ -146,20 +148,25 @@ highVoice = \relative {
\barNumberCheck #53
\moveFB cs'16 ^\f ( b! a b cs b! a b |
cs16 b! a b cs b! a b |
df c! b! bf a af g fs |
f16 e ef d df c b bf |
df16 c! b! bf \tempo 4 = 94 a af g fs |
\tempo 4 = 88
f16 e ef d df \tempo 4 = 82 c b bf |

\barNumberCheck #57
\tempo 4 = 100
a8 a' ) g, ( g' ) |
f, ( f' ) e, ( e' ) |
d!16 ( a? d!8 ) d!16 ( a? d8 ) |
g,4 ~ g8 r |

\barNumberCheck #61
\staffDown
\tempo 4 = 80
b,?8 ( c cs4 )
b8 c! cs8. \fermata fs16 \fermata |
\tempo 4 = 60
b8 c! cs8. \fermata \tempo 4 = 10 fs16 \fermata |
\staffUp
\tempo 4 = 100
d'16 ( e fs g a bf c? d |
e8-. ) s s4
}
Expand Down Expand Up @@ -390,10 +397,10 @@ lowVoice = \relative {
bf,8 [ <d f!> a <d f> ] ) |

\barNumberCheck #45
a,8-. <e' b'?>-. a,-. <e' b'> |
a,8-. <e' b'>-. a,-. <e' b'> |
c8-. <g' d'> c,8-. <g' d'> |
c,8-. <g' d'> c,8-. <g' d'> |
a,8-. <e' b'?>-. a,-. <e' b'>-. |
a,8-. <e' b'>-. a,-. <e' b'>-. |
c8-. <g' d'>-. c,8-. <g' d'>-. |
c,8-. <g' d'>-. c,8-. <g' d'>-. |

\barNumberCheck #49
s2 * 4 |
Expand Down Expand Up @@ -548,19 +555,13 @@ musicDanse = \score {
}
}

\include "articulate.ly"

midiDanse = \book {
\bookOutputName "danse-music"
\score {
\articulate <<
\new PianoStaff <<
\new Staff ="upper" \upper
\new Staff = "lower" \lower
>>
<<
\new Staff ="upper" << \upper \dynamics >>
\new Staff = "lower" << \lower \dynamics >>
>>
\midi {
\tempo 4 = 100
}
\midi {}
}
}
22 changes: 12 additions & 10 deletions includes/espanana-parts.ily
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ ralentir = "ralentir"
% -------------

highVoice = \relative {
\set Score.tempoHideNote = ##t
\tempo 4 = 200
s2. * 8 |

\barNumberCheck 9
Expand Down Expand Up @@ -87,10 +89,13 @@ highVoice = \relative {
d,!8 ( ef e f fs g |
gs8 a bf b c cs |
<b! d?> ^\ff ) q-. q-. q-. q-. q-. |
\tempo 4 = 190
<b d>4-. \slashedGrace { c8 } <g b>4-. <f a>-. |
\tempo 4 = 180
\slashedGrace { a8 } <e g>4-. <d? f>-. <c e>-. |

\barNumberCheck 34
\tempo 4 = 200
b'4\rest g8-. g-. g4-. |
af8-. af-. af4-. c-. |
b4\rest d,8-. d-. d4-. |
Expand Down Expand Up @@ -281,8 +286,11 @@ lowerMiddle = \relative {
s2. * 7 |

\barNumberCheck 78
\tempo 4 = 120
<d, f!>4 ( <ef g> <f a> ) |
\tempo 4 = 112
<d f>4 ( <ef g> <f a> ) |
\tempo 4 = 200
s2. |
}

Expand Down Expand Up @@ -547,19 +555,13 @@ musicEspanana = \score {
}
}

\include "articulate.ly"

midiEspanana = \book {
\bookOutputName "espanana-music"
\score {
\articulate <<
\new PianoStaff <<
\new Staff ="upper" \upper
\new Staff = "lower" \lower
>>
<<
\new Staff ="upper" << \upper \dynamicsHigh \dynamics >>
\new Staff = "lower" << \lower \dynamicsHigh \dynamics >>
>>
\midi {
\tempo 4 = 200
}
\midi {}
}
}
24 changes: 8 additions & 16 deletions includes/tyrolienne-parts.ily
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

\include "global-variables.ily"

% ------------------------------
% --- Changes from the score ---
% ------------------------------


% -------------------
% --- Definitions ---
% -------------------
Expand Down Expand Up @@ -50,7 +45,8 @@ retardez = "retardez"
% -------------

highVoice = \relative {
\tempo \lent
\set Score.tempoHideNote = ##t
\tempo \lent 4 = 120
s2. * 4 |

\barNumberCheck #5
Expand Down Expand Up @@ -119,7 +115,9 @@ highVoice = \relative {
d8 c e4 ) e,8 ( c |
b8 d g4 ) g8 ( f |
e8 g c4 ) e8 \slurShapeB _( c |
\tempo 4 = 110
g8 f' b \octaveUp d f d |
\tempo 4 = 100
c4 e,8 g' c,4 ) |
}

Expand Down Expand Up @@ -407,19 +405,13 @@ musicTyrolienne = \score {
}
}

\include "articulate.ly"

midiTyrolienne = \book {
\bookOutputName "tyrolienne-music"
\score {
\articulate <<
\new PianoStaff <<
\new Staff ="upper" \upper
\new Staff = "lower" \lower
>>
<<
\new Staff ="upper" << \upper \dynamics >>
\new Staff = "lower" << \lower \dynamics >>
>>
\midi {
\tempo 4 = 120
}
\midi {}
}
}

0 comments on commit f5c37dc

Please sign in to comment.