2012/10/3 Carlo Stemberger <carlo.stember...@gmail.com>:

>> \new Voice<<  b1 {s2.-\tweak #'minimum-length #5 \>   s4\pp}>>
>
>
> Yes, but this looks as a hack. I think we should have a very simple syntax
> for this kind of dynamics, because they are very frequent.
>
> If we have to find tricky solutions, probably the current syntax isn't
> adequate.

I agree in that this is frequent.

\fantasyModeOn % read from here at your own risk,
                % especially if you are a serious developer.

If we had a phantom note whose duration adds to the _start_ of the
previous note, instead of adding at the end, that would ease this kind
of situations. Say for a moment this note is 'n'. Then this:

{  b1\> n2.\! } % invisible dotted half _after_ the _start_ of b1

would be equivalent to this:

\new Voice {
  << { c''1 }
     { s4\> s2 s4\! }
  >>
}

This is only a quick wild thought. New features are easy to imagine
but difficult to implement. A syntax is only a way to achieve
something the program is already able to do.

Now there is a problem: what to do with any further note? Will it add
to the end of b1 or to the end of n2. ?
Quick thinking again, if an 'n' is found, then the timing for that
voice is reset to the start of the previous note, which will be filled
with the same duration in 'n' notes, thus

  b1 n2 n2 b1

would be equivalent to

  b1 b1

but you'd have the advantage of being able to insert something between
both instances of "n2".

\fantasyModeOff
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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

Reply via email to