back to list

A question about generalized patent vals

🔗Keenan Pepper <keenanpepper@gmail.com>

11/4/2011 12:05:15 PM

...with possible application to questions about infinite vals.

A generalized patent val is similar to a patent val except that you can start from an arbitrary rank-1 scale rather than only equal divisions of the pure octave. Basically all you do is use an arbitrary real number instead of an integer EDO number. As an example, v(17.00) is <17 27 39 48|, the ordinary patent val for 17edo, but v(17.02) is <17 27 40 48|, the well-known 17c val that tempers out 81/80.

Now, a funny thing happens when you consider a val such as v(12) in the 13 limit (<12 19 28 34 42 44|). The TE tuning map for this 13-limit equal temperament has 99.7336 cent steps, so it divides 2/1 into 12.032 equal parts rather than 12.

But v(12.032) is a different val, <12 19 28 34 42 45| instead of <12 19 28 34 42 44|! (12f instead of 12p)

In other words, the generalized patent val for the optimum TE tuning is not the same as the patent val we started with. The original patent val v(12) did not agree with its own optimum tuning!

My question is, if we iterate this process:

1. Find the optimum TE tuning for an equal temperament.
2. Find the generalized patent val for that tuning.
3. If this val is different from the one we used in step 1, return to step 1 and repeat with the new equal temperament.

does it always eventually terminate? Are we always able to find some generalized patent val that is *consistent with* its own optimum tuning? (I hereby dub such vals "TE self-consistent vals". Replace TE with any other optimized tuning and you get a variant definition.)

I'm pretty sure the answer is "yes", because the steps of the tuning should either always shrink, or always grow, so there can't be a cycle, and it seems unlikely that there could be an infinite sequence of different vals if there are no cycles.

The really big question, though, is if this still works for infinite-limit vals.

Keenan

🔗Carl Lumma <carl@lumma.org>

11/4/2011 5:01:34 PM

"Keenan Pepper" <keenanpepper@...> wrote:

> does it always eventually terminate? Are we always able to find
> some generalized patent val that is *consistent with* its own
> optimum tuning? (I hereby dub such vals "TE self-consistent vals".
> Replace TE with any other optimized tuning and you get a variant
> definition.)

Clearly there is one val that has lowest error. Being rank 1,
it will have a step size and thus a real-number division of
the octave. But I don't see why this val must be patent
with respect to that division. Nor really, the importance
of the "patent" property in the scheme of things.

-Carl

🔗Mike Battaglia <battaglia01@gmail.com>

11/4/2011 5:43:20 PM

On Fri, Nov 4, 2011 at 8:01 PM, Carl Lumma <carl@lumma.org> wrote:
>
> "Keenan Pepper" <keenanpepper@...> wrote:
>
> > does it always eventually terminate? Are we always able to find
> > some generalized patent val that is *consistent with* its own
> > optimum tuning? (I hereby dub such vals "TE self-consistent vals".
> > Replace TE with any other optimized tuning and you get a variant
> > definition.)
>
> Clearly there is one val that has lowest error. Being rank 1,
> it will have a step size and thus a real-number division of
> the octave. But I don't see why this val must be patent
> with respect to that division.

I don't think he's suggesting to call the lowest-error val the
"patent" one, just seeing if there's ever a case where the TE error
optimization will suggest a fractional val that, if rounded off and
TE-optimized again, yields a different val such that this process will
continue forever in an infinite cycle.

> Nor really, the importance
> of the "patent" property in the scheme of things.

It's useful solely because it's easy to compute. It allows us to use
shorthand like 17d, 23cd, whatever, and know what that's shorthand for
with a minimum of computation. If on the other hand these letters
specified alterations from the val <17 x y z l m n o p ...| which is
lowest in TE-error, then we'd have to first work out which val that
is. And if we ever come up with a newer algorithm for error that isn't
TE-based, we'd have quite a conundrum on our hands.

It would be useful, when dealing with infinite vals, to be able to
have an easily computable function to specify a certain val. Then we
can just say that the val is that function, and rather than looking at
vals as finite sequences of coefficients, we just look at whole
functions. Infinite patent vals are about the most easily computable
functions that there are - whether or not they'll be useful in tuning
is a whole different story.

I suppose the real holy grail is to algebraically work out the TE
error calculation for an infinite val, and then differentiate that and
solve for 0 to find the global minimum, and then reduce that to a
single function. (I'm tempted to say that it'd be a "linear functional
in a Hilbert space," but I fear the wrath of Keenan Pepper if I throw
that term around.)

-Mike

🔗Carl Lumma <carl@lumma.org>

11/5/2011 2:55:52 PM

Mike wrote:

>> Clearly there is one val that has lowest error. Being rank 1,
>> it will have a step size and thus a real-number division of
>> the octave. But I don't see why this val must be patent
>> with respect to that division.
>
>I don't think he's suggesting to call the lowest-error val the
>"patent" one, just seeing if there's ever a case where the TE error
>optimization will suggest a fractional val that, if rounded off and
>TE-optimized again, yields a different val such that this process will
>continue forever in an infinite cycle.

Right, that's what I said. It's equivalent to asking if you are
guaranteed to find the best val for a whole-number octave division N
by choosing from the patent vals for every real-number division M,
N-0.5 < M <= N+0.5 the one with least error. Actually I believe
Graham addressed this question when I asked him once... if only I
could remember any of the unusual words in his answer...

>> Nor really, the importance
>> of the "patent" property in the scheme of things.
>
>It's useful solely because it's easy to compute.

I just meant, I don't see the significance of the above question.

>I suppose the real holy grail is to algebraically work out the TE
>error calculation for an infinite val, and then differentiate that and
>solve for 0 to find the global minimum, and then reduce that to a
>single function.

That would be nice. I don't think you'll like differentiating
it though, at least not with TE error, which AFAIK doesn't
converge as primes are added.

-Carl

🔗Graham Breed <gbreed@gmail.com>

11/5/2011 3:31:44 PM

Carl Lumma <carl@lumma.org> wrote:

> Right, that's what I said. It's equivalent to asking if
> you are guaranteed to find the best val for a
> whole-number octave division N by choosing from the
> patent vals for every real-number division M, N-0.5 < M
> <= N+0.5 the one with least error. Actually I believe
> Graham addressed this question when I asked him once...
> if only I could remember any of the unusual words in his
> answer...

Well, let's think about what I might have said then. One
thing is that, for the optimal mapping with its optimal
scale stretch, the weighted RMS error will match the TE
error. (Or at least be very close. I forget.) If some
other mapping has a lower error, then the first one can't
have been optimal. So we have a proof by contradiction.
The only problem is that the octave divisions might be
different. For equal temperaments with goodness beyond
some point you can probably quantify it'll be impossible for
them to have such a large octave stretch that it'd be in
danger of rounding off the wrong way.

Graham

🔗Carl Lumma <carl@lumma.org>

11/5/2011 5:20:59 PM

Graham wrote:

>Well, let's think about what I might have said then. One
>thing is that, for the optimal mapping with its optimal
>scale stretch, the weighted RMS error will match the TE
>error. (Or at least be very close. I forget.) If some
>other mapping has a lower error, then the first one can't
>have been optimal. So we have a proof by contradiction.
>The only problem is that the octave divisions might be
>different. For equal temperaments with goodness beyond
>some point you can probably quantify it'll be impossible for
>them to have such a large octave stretch that it'd be in
>danger of rounding off the wrong way.

Not sure what you're saying here... I don't think the
particular error function is at issue. If I've understood
correctly, the question is whether there's some optimal val
that isn't patent with respect to a fractional division of
the octave.

Consider the usual patent val where the octave division is
a whole number. Let's call incrementing or decrementing one
of the prime mappings "flipping" it. All the other primes
will flip before the octave, since the octave is smallest
gets a zero-error start. That is, compressing or expanding
the octave by at most 0.5 will flip all the other primes.

But can we flip only one prime and be selective about it?
Consider this:

oct p1 pn
120 194 762 -> JI in 120-ET
12.0 19.4 76.2 -> 12-ET
12 19 76 -> rounded

To improve this val let's say we need to flip p1 but not p2,
since p1 is worse. Alpha tells me that leads to

508/51 < x < 388/39

which is false. So it doesn't look like we can flip p1
without flipping p2.

Also, consider decrementing while incrementing another.
Doesn't seem like we can do that by compressing or
stretching the octave.

-Carl

🔗Carl Lumma <carl@lumma.org>

11/5/2011 5:22:04 PM

I wrote:
>Also, consider decrementing while incrementing another.
>Doesn't seem like we can do that by compressing or
>stretching the octave.

That was meant to be "decrementing one prime while".

-Carl

🔗Keenan Pepper <keenanpepper@gmail.com>

11/5/2011 7:20:32 PM

--- In tuning-math@yahoogroups.com, Carl Lumma <carl@...> wrote:
> Not sure what you're saying here... I don't think the
> particular error function is at issue. If I've understood
> correctly, the question is whether there's some optimal val
> that isn't patent with respect to a fractional division of
> the octave.

No, this was not the original question I was asking. I can't understand most of the posts in this thread because they're obviously addressing a different question than the one I intended.

See the new thread I started (Complete list of TOP self-consistent vals up to 120) for some results related to my intended question.

Keenan

🔗Mike Battaglia <battaglia01@gmail.com>

11/6/2011 11:43:59 PM

On Sat, Nov 5, 2011 at 5:55 PM, Carl Lumma <carl@lumma.org> wrote:
>
> Mike wrote:
>
> >I don't think he's suggesting to call the lowest-error val the
> >"patent" one, just seeing if there's ever a case where the TE error
> >optimization will suggest a fractional val that, if rounded off and
> >TE-optimized again, yields a different val such that this process will
> >continue forever in an infinite cycle.
>
> Right, that's what I said. It's equivalent to asking if you are
> guaranteed to find the best val for a whole-number octave division N
> by choosing from the patent vals for every real-number division M,
> N-0.5 < M <= N+0.5 the one with least error. Actually I believe
> Graham addressed this question when I asked him once... if only I
> could remember any of the unusual words in his answer...

It's very difficult for me to see how this is related; could you
perhaps show how?

-Mike

🔗Carl Lumma <carl@lumma.org>

11/10/2011 4:04:57 PM

I wrote:

>But can we flip only one prime and be selective about it?
>Consider this:
>
>oct p1 pn
>120 194 762 -> JI in 120-ET
>12.0 19.4 76.2 -> 12-ET
>12 19 76 -> rounded
>
>To improve this val let's say we need to flip p1 but not p2,
>since p1 is worse. Alpha tells me that leads to
>508/51 < x < 388/39
>which is false. So it doesn't look like we can flip p1
>without flipping p2 [by changing the size of the octave].

That's unweighted of course. It may be that this 'prime size
rounding effect' is cancelled out or overpowered by Tenney
weighting. If fact, since ET step size is also logarithmic,
it may be exactly cancelled...

-Carl