Re: tuplet error

2018-08-25 Thread Trevor Bača
Hi Craig,

You can tupletize lone notes with no warnings:

### BEGIN ###

\new Staff
{

\times 2/3
{
g'2.:8
}

\times 2/3
{
a'2.:8
}

\times 2/3
{
bf'2.:8
}

\times 2/3
{
bf'2.:8
}

}

### END ###

[image: craig-tuplets.png]

Changing "\tuplet 2/3 2" to "\tuplet 2/3 4" (David's solution) is the right
one; but knowing about the (explicit) time scaling available with \times is
helpful to have as a backup (and allows you to think and notate each sixth
note as a sixth note).

Trevor.



On Fri, Aug 24, 2018 at 7:26 AM Craig Dabelstein 
wrote:

> Thanks Malte, that was stupid of me. Improved MWE below.
>
> Andrew, this is just a shortcut in notation, developed when scores had to
> be handwritten. Writing it this way (as in bars 1 and 2) is a lot easier
> than the long version (bars 3 and 4). It doesn't seem to be used much in
> modern scores but was very prevalent in the the 1800s and earlier. When you
> see it in context you'd have no problem interpreting it.
>
> All the best,
>
> Craig
>
>
> \version "2.19.82"
> \language "english"
>
> notes = \relative c'' {
>   %1
>   \tuplet 3/2 2 { g2.:8 a2.:8 } |
>
>   %2
>   \tuplet 3/2 2 { bf2.:8 bf2.:8 } |
>
>   %3
>   \tuplet 3/2 4 { g8 g g g g g a a a a a a } |
>
>   %4
>   \tuplet 3/2 4 { bf8 bf bf bf bf bf bf bf bf bf bf bf } |
> }
>
> \score {
>   \new Staff
>   \notes
>   \layout { }
> }
>
>
> On Fri, 24 Aug 2018 at 20:58, Andrew Bernard 
> wrote:
>
>> Hi Aaron and Craig, I understand that already. But why the obscure
>> notation is what I was asking. Surely it can be written clearly or more
>> explicitly? And if you feel it needed explaining to me, it's going to need
>> explaining to other players, isn't it Craig?
>>
>> Andrew
>>
>>
>> On Fri, 24 Aug 2018 at 17:39, Aaron Hill 
>> wrote:
>>
>>>
>>>
>>> Not OP, but I believe that notation means to play a sequence of single
>>> note tremolos, with the single slash indicating eighth-note
>>> subdivisions.  So each dotted half is played as six eighth notes,
>>> following the specified tuplet timing.  That is, think of `g2.:8` as `g8
>>> 8 8 8 8 8`.
>>>
>>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
> --
> *Craig Dabelstein*
> Maxime's Music
> craig.dabelst...@gmail.com
> *http://maximesmusic.com *
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: align dynamic with text

2018-08-25 Thread Trevor Bača
Hey Ben,

When you're using markup as dynamics, don't you find that you're unable to
include those constructs in hairpins?

I went through a period where I was using straight-up text for dynamics
like you're mentioning. But the hairpin limitation moved me towards
make-dynamic-script. It's great. The other big benefit being that
indications that are made with make-dynamic-script align (vertically) with
all of Lily's other native dynamics.

I've wound up with house set of dynamic indications, too, like Andrew was
mentioning:

https://github.com/trevorbaca/baca/blob/master/lilypond/baca-dynamics.ily

Have at them if you go the make-dynamic-script way.

Trevor.

On Sun, Aug 19, 2018 at 9:00 PM Ben  wrote:

> On 8/19/2018 9:17 PM, Andrew Bernard wrote:
>
> Hi Mark,
>
> This may be what you are thinking of. This way makes a proper dynamic, not
> just text markup.
>
> Andrew
>
> 
> \version "2.19.82"
>
> fstrettoText = \markup {
>   \center-align \line {
> \hspace #0.1 f \normal-text \italic stretto
>   }
> }
> fstretto = #(make-dynamic-script fstrettoText)
>
>
> {
>   c'4_\fstretto
> }
>
>
> Great piece of code Andrew. Thanks for that.
>
> The only reason I tend to use the alternative 'markup' approach is if I
> want to (need to) always have the entire expressive text centered as one
> unit with the *dynamic* under the notehead vs. half on each side.
>
> Much easier I find when I need to do that.
>
> (img)
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user