Hi everybody,
I'm trying to get a 'expressive' midi file, classical music ( I'm copying
the Final from Beethoven's Leonora n.3 Ouverture); I prefere to manage
expression marks separately from notes' body, so I created two voice
contextes, one foe the notes and one for expression; each value n the
notes' body is replicated as a 's' instance in expression's body, but doing
so I don't get any expression; if I put expression mark into the notes'
body I can hear crescendo and so on.
I really would maintain spearately the two fields, notes and expressions,
so I ask if there is a way to get it.
Many thanks to all
Dario
Here the code (using Frescobaldi, Linux user on Mint 18.1) :
\version "2.18.2"
global = {
\key c \major
\time 2/2
}
violin_I = \relative c'' {
\global
% Qui segue la musica.
%514
r8\ppppp c g' f e d c b
a' g f e d c b' a
g f e d c' b a g
f e d' c b a g f
e'\cresc d c b a g f' e
d c b a g f' e d
c b a g f' e d c
%521
b a g f' e d c b
a\mf g a b c d e f
g, a b c d e f g,
a b c d e f g, a
b c d e f g, a b
c c d e f g, a b
c c d e f g, a b
c c d e f g, a b
c c d e f g, a b
}
expr_violin_I = \relative c'' {
\global
% Qui segue la musica.
%514
s8\ppppp s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
s\cresc s s s s s s s
s s s s s s s s
s s s s s s s s
%521
s s s s s s s s
s\mf s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
s s s s s s s s
}
\score {
\new Staff \with {
instrumentName = "Violino"
midiInstrument = "violin"
}
<<
\new Voice = "violino_I" { \violin_I }
\new Voice = "espress" { \expr_violin_I }
>>
\layout { }
\midi {
\tempo 2=144
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user