lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto-ottava Scheme script problems


From: David Bellows
Subject: Re: Auto-ottava Scheme script problems
Date: Wed, 15 Aug 2018 14:54:31 -0700

Elaine Alt:

> But it does make me wonder whether it would work if you structured your score 
> a bit differently?

> For example,

> <>\f <c e g>
> <>\f <c e g>4

Carl Sorensen:

> Have you tried

>  <c e g>-\f or
>  <c e g>4-\f

Neither of those two approaches worked.

The spacer method would work but it adds a lot of complexity to how my
program generates Lilypond files. The process is already really
complicated.

Fortunately Torsten's solution seems to do the trick, at least based
on my tests.

Dave
On Wed, Aug 15, 2018 at 2:27 PM Flaming Hakama by Elaine
<address@hidden> wrote:
>
>
>>
>> ---------- Forwarded message ----------
>> From: David Bellows <address@hidden>
>> Date: Wed, 15 Aug 2018 10:23:41 -0700
>> Subject: Auto-ottava Scheme script problems
>> Hello all,
>> ...
>>
>> So I've been using that function daily for years and it works
>> wonderfully. Just recently, however, I started working on adding
>> chords to my music generating program (before you could have many
>> different voices but just not chords) and that's when I noticed a
>> problem.
>>
>> The following works as intended:
>>
>> <c e g> or
>> <c e g>4
>>
>> but these produce errors:
>> <c e g>\f or
>> <c e g>4\f
>>
>> ...
>>
>> The problem seems to be when there are dynamics involved with chords.
>> Note, this does *not* happen with single notes and dynamics, only with
>> chords and dynamics.
>>
>> ...
>>
>> Thanks,
>> Dave Bellows
>
>
>
> Sorry I can't help directly.  But it does make me wonder whether it would 
> work if you structured your score a bit differently?
>
> For example,
>
> <>\f <c e g>
> <>\f <c e g>4
>
> Or like this:
>
> <<
>     {
>         % We'll need to give this first chord a definite duration for this 
> approach to have a chance
>         <c e g>2.
>         <c e g>4
>     }
>     {
>         s2.\f
>         s4\f
>     }
> >>
>
>
> HTH,
>
> Elaine Alt
> 415 . 341 .4954                                           "Confusion is 
> highly underrated"
> address@hidden
> Producer ~ Composer ~ Instrumentalist
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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