Here is a short example of how I might use tags to produce a better midi
output:

\version "2.19.51"
\language "english"

music = \relative {
  \tag #'layout { d''2. \trill }
  \tag #'midi   { \repeat unfold 7 { e32 d } c d }
  c4 }

\score {
  \keepWithTag #'layout
  \new Staff { \music }
  \layout {}
}

\score {
  \keepWithTag #'midi
  \new Staff { \music }
  \midi {
    \tempo 4 = 100
  }
}

I use two different \scores with the \tagWithKeep command at the score
level.  Works for me.


---
Knute Snortum
(via Gmail)

On Fri, Dec 2, 2016 at 2:40 PM, Darren Modra <dar...@modra.net> wrote:

> Hi Bart,
> I think you'll find that if you don't save your work in freescobaldi
> before running it, it will put the PDF and midi files into a temporary
> folder.
>
> Cheers,
> DM
>
> --
> This message may include free added typos, which you may use for your
> entertainment, courtesy of Apple autocorrect.
>
> On 3 Dec. 2016, at 07:23, bart deruyter - bart.deruy...@gmail.com
> <lilypond-maillist.m8.726b91d4b2.bart.deruyter#gmail....@ob.0sg.net>
> wrote:
>
> Sorry for this, but it does not work, I made another mistake, applied the
> tag to the score too.. so my question does still stand.
>
>
> http://www.bartart3d.be/
> On Twitter <https://twitter.com/Bart_Issimo>
> On Identi.ca <http://identi.ca/bartart3d>
> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
>
> 2016-12-02 21:51 GMT+01:00 bart deruyter <bart.deruy...@gmail.com>:
>
>> Hi all,
>> disregard this mail.. it does work.. :-)
>> What made it work is : save the file first. Apparently frescobaldi
>> re-renders unsaved work into pdf's, but not midi-files...
>>
>> thx anyway.
>>
>> Bart
>>
>> http://www.bartart3d.be/
>> On Twitter <https://twitter.com/Bart_Issimo>
>> On Identi.ca <http://identi.ca/bartart3d>
>> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
>>
>> 2016-12-02 21:44 GMT+01:00 bart deruyter <bart.deruy...@gmail.com>:
>>
>>> Hi all,
>>>
>>> I did some experimentation with the \tag command. It is great for
>>> different editions of printed music of course, but I tried it in the midi
>>> block without luck.
>>>
>>> I'm trying to create some music dictation exercises and want to separate
>>> the midi file for the student in parts of each 2 bars, so I enclosed each
>>> two bars in separate tags, like this:
>>>
>>> \tag #'A {c'2 | g |} \tag #'B {e'4 d | c2 }|
>>>
>>> hoping it would work if I'd write something like this int he midi block:
>>>
>>> \midi { \keepWithTag #'A \altoVoice }
>>>
>>> But no luck.. is it a bug, or simply not implemented (which is my
>>> guess)?
>>> And is there a possible solution to get the wanted result?
>>>
>>> thx,
>>> Bart
>>>
>>> http://www.bartart3d.be/
>>> On Twitter <https://twitter.com/Bart_Issimo>
>>> On Identi.ca <http://identi.ca/bartart3d>
>>> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
>>>
>>
>>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to