[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:57:44 -0700 |
Sorry everyone, it's been too long since I've used the list and forgot
to reply to all. Below is a message sent earlier indicating that
Torsten's fix solved my problem.
Thanks everyone,
Dave Bellows
Torsten, thank you very much! That seems to fix my test cases. I have
absolutely no idea what's going on in that script so I am very
grateful that you took the time to figure this out.
Sincerely,
Dave Bellows
On Wed, Aug 15, 2018 at 2:54 PM David Bellows <address@hidden> wrote:
>
> 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