Re: duration using variable (Gianmaria Lari)

2016-04-27 Thread Gianmaria Lari
Dear Cynthia, thank you for your help! What you propose works correctly but it is not practical. I use tag to avoid duplicating code so it is crucial to be able to do not create two different variables music_screenOut and music_midiOut. Thank you, g.

Re: duration using variable

2016-04-27 Thread Gianmaria Lari
Dear Harm, I made many test, and... it works really well! Thanks a lot for your kind help! g. On Wed, Apr 27, 2016 at 1:12 PM, Thomas Morley wrote: > 2016-04-27 10:56 GMT+02:00 Gianmaria Lari : > > I don't know if the following code is well

Re: duration using variable (Gianmaria Lari)

2016-04-27 Thread Cynthia Karl
> On Apr 27, 2016, at 3:57 AM, lilypond-user-requ...@gnu.org wrote: > > Message: 4 > Date: Wed, 27 Apr 2016 10:56:53 +0200 > From: Gianmaria Lari <gianmarial...@gmail.com> > Subject: duration using variable > > In the previous example the cC variable contains a

Re: duration using variable

2016-04-27 Thread Graham King
On Wed, 2016-04-27 at 13:02 +0200, David Kastrup wrote: > Graham King writes: > > > perhaps try: > > \scaleDurations 2/1 { \cC } > > Doesn't change the visuals. > Sorry. More haste, less speed. I meant \shiftDurations. It might require other things to be

Re: duration using variable

2016-04-27 Thread Thomas Morley
2016-04-27 10:56 GMT+02:00 Gianmaria Lari : > I don't know if the following code is well written (suggestions are pretty > welcome!!) but it works as I like (:)) and let me generate two different > output according the tag midiOut or screenOut. > > \version "2.19.40" > >

Re: duration using variable

2016-04-27 Thread David Kastrup
Graham King writes: > perhaps try: > \scaleDurations 2/1 { \cC } Doesn't change the visuals. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: duration using variable

2016-04-27 Thread Graham King
perhaps try: \scaleDurations 2/1 { \cC } hth -- Graham > > > Now I would like to be able to increase the lenght of the musical > expression contained in the cC variable. > > > In the previous example the cC variable contains a quarter note (and a > quarter bichord) and I would like to

duration using variable

2016-04-27 Thread Gianmaria Lari
I don't know if the following code is well written (suggestions are pretty welcome!!) but it works as I like (:)) and let me generate two different output according the tag midiOut or screenOut. \version "2.19.40" mynote = c mynoteExp = {\mynote} mynoteDouble = {<\mynote' \mynote>} cC = {\tag