lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tag - midi


From: Knute Snortum
Subject: Re: tag - midi
Date: Sun, 4 Dec 2016 06:18:53 -0800

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 <address@hidden> 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 - address@hidden <lilypond-maillist.m8.726b91d4b2.bart.deruyter#gmailaddress@hidden> 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.



2016-12-02 21:51 GMT+01:00 bart deruyter <address@hidden>:
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


2016-12-02 21:44 GMT+01:00 bart deruyter <address@hidden>:
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


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]