> From: Gianmaria Lari <[email protected]>
> To: lilypond-user <[email protected]>
>
> Date: Wed, 18 Oct 2017 14:10:57 +0200
> Subject: midi \breathe
> I would like to introduce a small breath in the midi file. I tried using
> the \breathe command with \articulate script like in the following code....
>
> \version "2.19.65"
> \include "articulate.ly"
>
> music = \fixed c' {
> c4 d e f \breathe
> c4 d e f
> }
>
> \score {
> \articulate \music
> \layout {}
> \midi{}
> }
>
>
> but it doesn't look to work.
>
> I could put a partial measure with a pause in the midi like this
>
> \version "2.19.65"
> \include "articulate.ly"
>
> music = \fixed c' {
> c4 d e f
> \partial 4 r4
> c4 d e f
> }
>
> \score {
> \articulate \music
> \layout {}
> \midi{}
> }
>
> but I wonder if there is anything more simpler/standard.....
>
> Thank you, g.
>
Here is an common approch: use tags to identify content that is
MIDI-specific, as well as PDF-specific.
Then use two scores, and target different tags for each score.
\version "2.19.15"
\include "articulate.ly"
music = \relative c' {
c4 d e f
\tag #'(PDF) {
% This tag isn't necessary, but I'm adding it just to show the
pattern,
% since you might have PDF-specific content, as well as
MIDI-specific content.
% In this case, you could leave the breath mark in the MIDI, too,
% but it will be ignored as you have found out. Here, it is clear
it only applies to the PDF
<>\breathe
}
\tag #'(MIDI) {
\partial 4 r4
}
c4 d e f
}
\score {
\keepWithTag #'(PDF) \music
\layout {}
}
\score {
\articulate \keepWithTag #'(MIDI) \music
\midi{}
}
HTH,
David Elaine Alt
415 . 341 .4954 "*Confusion is
highly underrated*"
[email protected]
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user