lilypond-user
[Top][All Lists]
Advanced

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

Re: swing indicator in score


From: Christopher R. Maden
Subject: Re: swing indicator in score
Date: Fri, 09 Sep 2011 09:56:25 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

On 09/09/2011 02:54 AM, christian wrote:
> How can I put a visual swing indicator (2 8th = 4 8 triplet) into my score?

Others have already answered the score indicator question.  If you are
making MIDI files of your music, I hacked <URL:
http://crism.maden.org/swing.ly > together; it may or may not be of use
to you.  This code:

melody = \sw{ c8 c c4 c8 c c4 }

\score {
  \keepWithTag #'layout { \melody }
  \layout{}
}

\score {
  \keepWithTag #'midi { \melody }
  \midi{}
}

will print the rhythm straight, but play it swung in the MIDI file.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“The present tendency and drift towards the Police State gives all
 free Americans pause.” — Alabama Supreme Court, 1955
 (Pike v. Southern Bell Tel. & Telegraph, 81 So.2d 254)



reply via email to

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