thanks to all, I tried the Teoh's solution and it worked in a few seconds...
now, other questions... - violin part has many 1/8 notes, many are repeating itselves, listening the MIDI output it seems it's not very well, notes' sounds are too much closing, and repeating notes sound like a unique sound almost. how may I fix this? I think it'd better writing each 1/8 note as 'staccato', but may the Midi output will be according on that? besides, it's very hard now to rewrite all the code, so, there is some tool to do that, a sort of 'mass modifier' about the text code? I dont' want to fight with my poor Perl knowledge,,,, - is it possible to change the velocity (volume?) of a single long note? example, brass ensemble start with a 'sf', then play crescendo the same note while 'crescendo' from a 'p' to a 'f' again; I don't know if it is possible in a MIDI environment, and how to perform this using lilypond notation thanks to all dario 2017-01-04 17:27 GMT+01:00 Thomas Morley <[email protected]>: > 2017-01-04 17:07 GMT+01:00 Dario Marrini <[email protected]>: > > 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 > > } > > } > > > > > > How about: > > \score { > \new Staff<< > \new Voice > { c''4 c'' } > \new Voice { s4\pppp s\ffff } > >> > \midi { > \context { > \Staff > \consists Dynamic_performer > } > \context { > \Voice > \remove Dynamic_performer > } > } > } > > Chers, > Harm >
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
