lilypond-devel
[Top][All Lists]
Advanced

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

Re: entering music without \time


From: Erik Sandberg
Subject: Re: entering music without \time
Date: Fri, 10 Sep 2004 01:12:08 +0200
User-agent: KMail/1.6.2

On Thursday 09 September 2004 22.00, Nicolas Sceaux wrote:
> Erik Sandberg <address@hidden> writes:
> > After doing some quick tests, I can only find 2 wishes, and neither one
> > of them is very important:
> >
> > 1. The issue you addressed above. A way of solving the *4/6 problem, is
> > that the script could look at note durations. If all notes within one
> > tupletSpannerDuration are equally long, and the number of notes is
> > divisible by the tuplet fraction, then the tuplet fraction would be
> > changed to the number of notes.
>
> Ok. I'll try to find out a way to do that, but considering
> tupletSpannerDuration is not possible afaict, as it is not known at
> the time the music expressions are generated by the music
> function. Can you think of a rule taking into account the fraction and
> the notes durations (and maybe their number), without
> tupletSpannerDuration?

Given that {c16*2/3 c c c c c} can be interpreted both as \times 2/3 and as 
\times 4/6, the only other thing I can see is to look at beaming. I.e., a 
beamed group of 6 identically *2/3 notes will probably want a 6 over it 
rather than a 3.

> > 2. It would be nice if there was a good & quick way to exclude a note or
> > group of notes from the tuplification.
>
> You can separate a group of notes by enclosing them in { }, but they
> are tuplefied nevertheless. What do you mean? having c1*4/3 not being
> treated as a tuplet?

I understand that c1*4/3 is not a possibility. I mean that there just should 
be some way to make the the tuplification ignore a note. Just in case someone 
wants it. The typical use of tuplification is to apply it to a score; so if 
there is one fraction somewhere that shouldn't be tuplified you will need 
_something_. E.g. it would be enough with something like 
\tuplify { ...
\excludeFromTuplify {...}
...
}

Erik




reply via email to

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