[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    applying scaleDurations to a custom context
From:       Kieren MacMillan <kieren_macmillan () sympatico ! ca>
Date:       2009-04-27 11:17:41
Message-ID: BLU0-SMTP147F2E06D66DD53F80CAF594710 () phx ! gbl
[Download RAW message or body]

Hi all,

How can a make a custom context with a "built-in" scaleDuration  
factor? e.g. I have

   \context
   {
     \Voice
     \name CustomVoice
     \alias Voice
     \override NoteHead #'duration-log = #8
   }

Now, rather than writing

   myMusic = \scaleDurations #'(1 . 8) \relative { ...

I'd like to just write

   myMusic = \relative { ...

and then use

   \new CustomVoice \myMusic

so that the context compresses the music for me. What do I add to the  
context definition?

Thanks,
Kieren.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic