back to list

Weird phenomenon with octave-equivalent harmonic entropy curves

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 4:02:57 AM

So, I wanted some really good octave-equivalent HE curves (to do some analysis based on them of MOSes or chords or whatever). I made them myself by just generating all the ratios of some large odd limit (that is, a huge tonality diamond), finding the midpoints between them, and then finding the Gaussian probability for each ratio and plugging into the Shannon entropy formula. (I can show you the Python code if you're interested.)

But I noticed this weird phenomenon that I haven't seen mentioned before, even though I just checked the HE list archives. As you increase the number of ratios in the "seed" or "basis" set, the HE curve has the same maxima and minima, as expected, and the same overall shape *except* that there's an increasing trend for "small" intervals (near the unison or octaves) to have higher entropy than "large" intervals (near the half octave). This is shown in the following plot:

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGZWVkYmVhNzgtMDJiNS00NzM5LTk2ZmEtNGI1Nzc0M2VhMDJh&hl=en

(The entropies have all been normalized so the HE of 1/1 is 0 and the maximum HE is 1, for ease of comparison.)

As you can see, with small bases the curve has a very reasonable overall shape, but as the basis gets larger the shape distorts and the ranking is no longer consistent. This is a big problem for what I was trying to do for the following reason: If you compare the HEs of, say, 7/6 and 7/5, for small bases they are about the same HE, which makes sense, but the curves for larger bases tell you that 7/5 has *much* less entropy than 7/6, even less than 6/5 or 5/4. So although the maxima and minima still make sense, if you want to compare a bunch of arbitrary intervals to each other it's no good.

Digging a little deeper, I wondered if this was due to an actual nonuniformity in the asymptotic density of ratios in large tonality diamonds. If you plot the ordering of each ratio in an odd limit against the ratio itself (for example 8/7 is the 4th ratio of the 9-limit after 1/1, 10/9, 9/8, so in that case I would plot the point (231, 4)), then you get what looks like a perfectly straight line, which tells you the density is pretty close to being uniform. But if you subtract out the linear part and look at the deviation from a straight line, what you get is this:

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGMTIwZGU5ODQtNjk2NC00ZDY0LWE2MzAtNzk4MjRkN2FlMmFi&hl=en

The little glitches at simple ratios are to be expected; they just tell you that around each simple ratio the other ratios become more sparse. The weird part is that you don't just see these glitches - instead the main thing you see is a giant sinusoid-like variation! It tells you that around 1/2, 1/1, 2/1... the ratios are more sparse in general, and around 1/sqrt(2), sqrt(2), 2*sqrt(2)... the ratios are more dense. This totally explains the shape of the HE curves, but what explains *this*?

Does anybody have a clue? Digging around a little on the Internet leads me to believe it might be not-too-distantly related to the Riemann hypothesis. (!!!)

And even if nobody knows a mathematical explanation for this, are there any suggestions how to get around it? I gather that a way to solve this problem for non-octave-equivalent HE curves is to use Tenney height n*d, instead of max(n,d), to limit the basis sets. However, I tried the obvious analog of this for octave-equivalent HE (namely, the largest odd factor of n*d), and the resulting curves looked bizarre - sort of like an HE curve but with really weird ranking of the intervals. Is there some other natural choice of basis set that might give me HE curves that don't get distorted?

🔗Kalle Aho <kalleaho@mappi.helsinki.fi>

4/13/2011 5:37:45 AM

So, does this kind of thing happen only with the octave-equivalent HE
or is there a similar phenomenon with plain HE?

Kalle

--- In tuning-math@yahoogroups.com, "Keenan Pepper" <keenanpepper@...> wrote:
>
> So, I wanted some really good octave-equivalent HE curves (to do some analysis based on them of MOSes or chords or whatever). I made them myself by just generating all the ratios of some large odd limit (that is, a huge tonality diamond), finding the midpoints between them, and then finding the Gaussian probability for each ratio and plugging into the Shannon entropy formula. (I can show you the Python code if you're interested.)
>
> But I noticed this weird phenomenon that I haven't seen mentioned before, even though I just checked the HE list archives. As you increase the number of ratios in the "seed" or "basis" set, the HE curve has the same maxima and minima, as expected, and the same overall shape *except* that there's an increasing trend for "small" intervals (near the unison or octaves) to have higher entropy than "large" intervals (near the half octave). This is shown in the following plot:
>
> https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGZWVkYmVhNzgtMDJiNS00NzM5LTk2ZmEtNGI1Nzc0M2VhMDJh&hl=en
>
> (The entropies have all been normalized so the HE of 1/1 is 0 and the maximum HE is 1, for ease of comparison.)
>
> As you can see, with small bases the curve has a very reasonable overall shape, but as the basis gets larger the shape distorts and the ranking is no longer consistent. This is a big problem for what I was trying to do for the following reason: If you compare the HEs of, say, 7/6 and 7/5, for small bases they are about the same HE, which makes sense, but the curves for larger bases tell you that 7/5 has *much* less entropy than 7/6, even less than 6/5 or 5/4. So although the maxima and minima still make sense, if you want to compare a bunch of arbitrary intervals to each other it's no good.
>
> Digging a little deeper, I wondered if this was due to an actual nonuniformity in the asymptotic density of ratios in large tonality diamonds. If you plot the ordering of each ratio in an odd limit against the ratio itself (for example 8/7 is the 4th ratio of the 9-limit after 1/1, 10/9, 9/8, so in that case I would plot the point (231, 4)), then you get what looks like a perfectly straight line, which tells you the density is pretty close to being uniform. But if you subtract out the linear part and look at the deviation from a straight line, what you get is this:
>
> https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGMTIwZGU5ODQtNjk2NC00ZDY0LWE2MzAtNzk4MjRkN2FlMmFi&hl=en
>
> The little glitches at simple ratios are to be expected; they just tell you that around each simple ratio the other ratios become more sparse. The weird part is that you don't just see these glitches - instead the main thing you see is a giant sinusoid-like variation! It tells you that around 1/2, 1/1, 2/1... the ratios are more sparse in general, and around 1/sqrt(2), sqrt(2), 2*sqrt(2)... the ratios are more dense. This totally explains the shape of the HE curves, but what explains *this*?
>
> Does anybody have a clue? Digging around a little on the Internet leads me to believe it might be not-too-distantly related to the Riemann hypothesis. (!!!)
>
> And even if nobody knows a mathematical explanation for this, are there any suggestions how to get around it? I gather that a way to solve this problem for non-octave-equivalent HE curves is to use Tenney height n*d, instead of max(n,d), to limit the basis sets. However, I tried the obvious analog of this for octave-equivalent HE (namely, the largest odd factor of n*d), and the resulting curves looked bizarre - sort of like an HE curve but with really weird ranking of the intervals. Is there some other natural choice of basis set that might give me HE curves that don't get distorted?
>

🔗Mike Battaglia <battaglia01@gmail.com>

4/13/2011 6:38:07 AM

On Wed, Apr 13, 2011 at 7:02 AM, Keenan Pepper <keenanpepper@gmail.com> wrote:
>
> So, I wanted some really good octave-equivalent HE curves (to do some analysis based on them of MOSes or chords or whatever). I made them myself by just generating all the ratios of some large odd limit (that is, a huge tonality diamond), finding the midpoints between them, and then finding the Gaussian probability for each ratio and plugging into the Shannon entropy formula. (I can show you the Python code if you're interested.)

The series that you use to generate the curves will determine its
shape. The Farey series will give it a downward slope; the Tenney
series will give it a pretty horizontal, neutral slops, and if you
ever decide to use the Stern-Brocot tree, you'll find that that's just
ridiculous. For odd limit, the rule seems to be max(n',d') < N, where
n' and d' are n and d that are divided down by 2 as much as possible.
So I would expect the curve will have a slope that looks like a Farey
series looped back in on itself; i.e. the downward slope of a Farey
series HE curve will then become un-downward as it works back up to
2/1.

> As you can see, with small bases the curve has a very reasonable overall shape, but as the basis gets larger the shape distorts and the ranking is no longer consistent. This is a big problem for what I was trying to do for the following reason: If you compare the HEs of, say, 7/6 and 7/5, for small bases they are about the same HE, which makes sense, but the curves for larger bases tell you that 7/5 has *much* less entropy than 7/6, even less than 6/5 or 5/4. So although the maxima and minima still make sense, if you want to compare a bunch of arbitrary intervals to each other it's no good.

Is it that there starts to be the trend of a general downward slope?
Can you post the non-octave version? You're using a pretty interesting
series, and I haven't seen it much before.

> Digging a little deeper, I wondered if this was due to an actual nonuniformity in the asymptotic density of ratios in large tonality diamonds. If you plot the ordering of each ratio in an odd limit against the ratio itself (for example 8/7 is the 4th ratio of the 9-limit after 1/1, 10/9, 9/8, so in that case I would plot the point (231, 4)), then you get what looks like a perfectly straight line, which tells you the density is pretty close to being uniform. But if you subtract out the linear part and look at the deviation from a straight line, what you get is this:
>
> https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGMTIwZGU5ODQtNjk2NC00ZDY0LWE2MzAtNzk4MjRkN2FlMmFi&hl=en

It says:

Sorry, we are unable to generate a view of the document at this time.
Please try again later.

> The little glitches at simple ratios are to be expected; they just tell you that around each simple ratio the other ratios become more sparse. The weird part is that you don't just see these glitches - instead the main thing you see is a giant sinusoid-like variation! It tells you that around 1/2, 1/1, 2/1... the ratios are more sparse in general, and around 1/sqrt(2), sqrt(2), 2*sqrt(2)... the ratios are more dense. This totally explains the shape of the HE curves, but what explains *this*?

I think it's because you've built octave equivalence into the series
that you're using. I'm not sure how Paul did it originally - it seemed
rather that he had just generated Tenney series plots from 0-1200 and
then added a horizontally flipped version to the original.

> Does anybody have a clue? Digging around a little on the Internet leads me to believe it might be not-too-distantly related to the Riemann hypothesis. (!!!)

The distribution of the Farey numbers is subjected to the Riemann
hypothesis, and the distribution of this series is definitely related
to the distribution of the Fare numbers. But I'm not sure that's
what's at work here...

> And even if nobody knows a mathematical explanation for this, are there any suggestions how to get around it? I gather that a way to solve this problem for non-octave-equivalent HE curves is to use Tenney height n*d, instead of max(n,d), to limit the basis sets. However, I tried the obvious analog of this for octave-equivalent HE (namely, the largest odd factor of n*d), and the resulting curves looked bizarre - sort of like an HE curve but with really weird ranking of the intervals. Is there some other natural choice of basis set that might give me HE curves that don't get distorted?

This is why I'm a fan of just using impulses and convolving with a
Gaussian, because if you're trying to tweak the series that you're
using to get an HE curve of a certain shape, you might as well just
get that shape directly with the convolution. Why not first calculate
n'*d' < N, where n' and d' are just n and d with all factors of 2
removed? Maybe that'll do the trick.

-Mike

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 9:57:24 AM

--- In tuning-math@yahoogroups.com, Mike Battaglia <battaglia01@...> wrote:
> The series that you use to generate the curves will determine its
> shape. The Farey series will give it a downward slope; the Tenney
> series will give it a pretty horizontal, neutral slops, and if you
> ever decide to use the Stern-Brocot tree, you'll find that that's just
> ridiculous. For odd limit, the rule seems to be max(n',d') < N, where
> n' and d' are n and d that are divided down by 2 as much as possible.

This makes sense. By "Stern-Brocot tree", I assume you mean using the set of all ratios on the Stern-Brocot tree down to a certain fixed level? That is, perform the operation "add all mediants" N times?

> So I would expect the curve will have a slope that looks like a Farey
> series looped back in on itself; i.e. the downward slope of a Farey
> series HE curve will then become un-downward as it works back up to
> 2/1.

This is really far from obvious to me. Could you explain your reasoning here?

To me, it seems natural that the Farey sequence must have a density that goes down away from 1/1, because it's defined on the open-ended number line R. The density of ratios around 10^100 is definitely going to be much less than the density of ratios around 1. But octave-equivalent sequences are defined on the closed interval [1, sqrt(2)] or [0, 600] cents, so I see no reason the same thing should apply to them.

> Is it that there starts to be the trend of a general downward slope?
> Can you post the non-octave version? You're using a pretty interesting
> series, and I haven't seen it much before.

What non-octave version? I'm using odd limits as bases, which are naturally periodic at the octave. If I calculated the HE outside the range [0, 600] it would be an even, periodic function, so the new parts of the curve would just be reflections of what you've already seen.

In other words, I'm not doing anything to make it octave-equivalent, it just comes out that way. I guess I could artificially make it non-octave-equivalent by truncating the odd limit at some arbitrary point (e.g. by including 7/5 but not 10/7 and so on), but what purpose would that serve?

> It says:
>
> Sorry, we are unable to generate a view of the document at this time.
> Please try again later.

Drat. The other one works though? That's weird.

> I think it's because you've built octave equivalence into the series
> that you're using. I'm not sure how Paul did it originally - it seemed
> rather that he had just generated Tenney series plots from 0-1200 and
> then added a horizontally flipped version to the original.

See, that seems really ugly and artificial to me. If you added a version shifted by 1200 as well as the flipped version, or shifted and then flipped, it would also change it, right? So to do this properly you'd have to sum the infinite series of functions you get by applying all symmetry transformations.

> This is why I'm a fan of just using impulses and convolving with a
> Gaussian, because if you're trying to tweak the series that you're
> using to get an HE curve of a certain shape, you might as well just
> get that shape directly with the convolution. Why not first calculate
> n'*d' < N, where n' and d' are just n and d with all factors of 2
> removed? Maybe that'll do the trick.

You're talking about making a Gaussian kernel density plot of the basis, right? I don't see how that is supposed to solve my problem because you're still looking at the local density of ratios in the basis, and if that density is non-uniform the curve you get will still have that overall shape to it (and it will still get worse as you increase the basis size).

I did try using the obvious "odd Tenney limit" n' * d' < N (which is equivalent to (n*d)' < N because it doesn't matter whether you remove factors of 2 first or multiply first). That was the one I said looked really bizarre. I'll post a plot later.

Keenan

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 10:04:52 AM

--- In tuning-math@yahoogroups.com, "Kalle Aho" <kalleaho@...> wrote:
>
> So, does this kind of thing happen only with the octave-equivalent HE
> or is there a similar phenomenon with plain HE?

This is actually a really good question because, although I know that Farey-sequence-based HE curves have an overall shape to them, I never actually tried it out to see if that shape gets more pronounced as you increase the basis size.

That's really what's bothering me here. I wouldn't really care what the shape was as long as it converged to *something*. I guess the problem is that, if you just used the whole of the rational numbers Q as your basis set, the entropy of everything would be infinite. But we just want the finite variations on top of this infinite background entropy, so we do some "renormalization" in the manner of quantum field theory.

Keenan

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 10:39:37 AM

--- In tuning-math@yahoogroups.com, "Keenan Pepper" <keenanpepper@...> wrote:
>
>
>
> --- In tuning-math@yahoogroups.com, Mike Battaglia <battaglia01@> wrote:
> > It says:
> >
> > Sorry, we are unable to generate a view of the document at this time.
> > Please try again later.
>
> Drat. The other one works though? That's weird.

Here's a rasterized PNG version. The PDF version with millions of points was probably just too big for Google Docs.

https://docs.google.com/leaf?id=0B9CMyeCjAMQGYjA0ODkxODYtY2E1Ny00OWJkLWE1ZDEtMWM2ZWEwNjgwOGVh&hl=en

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 11:49:07 AM

--- In tuning-math@yahoogroups.com, "Keenan Pepper" <keenanpepper@...> wrote:
>
> --- In tuning-math@yahoogroups.com, "Kalle Aho" <kalleaho@> wrote:
> >
> > So, does this kind of thing happen only with the octave-equivalent HE
> > or is there a similar phenomenon with plain HE?
>
> This is actually a really good question because, although I know that Farey-sequence-based HE curves have an overall shape to them, I never actually tried it out to see if that shape gets more pronounced as you increase the basis size.

The slope definitely does get more pronounced for larger Farey bases:

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGMDliYjAxZGUtMDBlMi00MDE1LThiMTYtNTU5M2EzYzA2ZDg4&hl=en

But the thread subject still makes sense, I think, because for the non-octave-equivalent case it's obvious that the density must go down between e.g. 1 and 10^100. In the octave-equivalent case it's not obvious why the density should vary at all (unless I'm completely missing something which Mike will explain).

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 12:10:51 PM

--- In tuning-math@yahoogroups.com, "Keenan Pepper" <keenanpepper@...> wrote:
> I did try using the obvious "odd Tenney limit" n' * d' < N (which is equivalent to (n*d)' < N because it doesn't matter whether you remove factors of 2 first or multiply first). That was the one I said looked really bizarre. I'll post a plot later.

Here are some of those:

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGZjVmNGMyYTYtMjE2Yi00NDVjLWEyMDAtN2JmZDA1NmJiNTNm&hl=en

Notice that there are a lot of dips in the right places (4/3, 5/4, etc.), but the overall shape is totally weird. One especially weird thing that I can't explain at all is the sudden drop in entropy that gradually moves to the right as you increase N from about 4000-5000, then hangs out around 350 cents from then on.

When I first saw these I was sure I had a programming error, but I double checked and all my functions seem to be doing what they're supposed to.

Keenan

🔗Mike Battaglia <battaglia01@gmail.com>

4/13/2011 4:01:49 PM

On Wed, Apr 13, 2011 at 12:57 PM, Keenan Pepper <keenanpepper@gmail.com> wrote:
>
> --- In tuning-math@yahoogroups.com, Mike Battaglia <battaglia01@...> wrote:
> > The series that you use to generate the curves will determine its
> > shape. The Farey series will give it a downward slope; the Tenney
> > series will give it a pretty horizontal, neutral slops, and if you
> > ever decide to use the Stern-Brocot tree, you'll find that that's just
> > ridiculous. For odd limit, the rule seems to be max(n',d') < N, where
> > n' and d' are n and d that are divided down by 2 as much as possible.
>
> This makes sense. By "Stern-Brocot tree", I assume you mean using the set of all ratios on the Stern-Brocot tree down to a certain fixed level? That is, perform the operation "add all mediants" N times?

Right. It's ridiculous.

> > So I would expect the curve will have a slope that looks like a Farey
> > series looped back in on itself; i.e. the downward slope of a Farey
> > series HE curve will then become un-downward as it works back up to
> > 2/1.
>
> This is really far from obvious to me. Could you explain your reasoning here?

I'm just speculating, but it seemed like you were using max(n,d),
right? Well, when the rule is to use d, the slope goes down and to the
right. I'm simply speculating that since you're using max(n,d), the
slope will start to go down, reach a peak in the middle where all of
the ratios are things like 11/8 and 7/5 and so on, and then go back up
when you start to hit something like 2/1. It seemed like it would be
symmetrical. I dunno man, I was just waking up when I wrote that,
sorry :P

> To me, it seems natural that the Farey sequence must have a density that goes down away from 1/1, because it's defined on the open-ended number line R. The density of ratios around 10^100 is definitely going to be much less than the density of ratios around 1. But octave-equivalent sequences are defined on the closed interval [1, sqrt(2)] or [0, 600] cents, so I see no reason the same thing should apply to them.

Right, if what you're doing is going to cause the curve to reflect on
itself, is it not the case that the density will reach a minimum at
sqrt(2)? But I think you're aware of this, and are looking for a
concrete mathematical proof of what's going on. I was just trying to
provide you with some initial points of departure that might have been
useful.

> > I think it's because you've built octave equivalence into the series
> > that you're using. I'm not sure how Paul did it originally - it seemed
> > rather that he had just generated Tenney series plots from 0-1200 and
> > then added a horizontally flipped version to the original.
>
> See, that seems really ugly and artificial to me. If you added a version shifted by 1200 as well as the flipped version, or shifted and then flipped, it would also change it, right? So to do this properly you'd have to sum the infinite series of functions you get by applying all symmetry transformations.

You could convolve the normal HE curve, symmetricized about 0 cents,
with an impulse train of period 1200 cents.

> > This is why I'm a fan of just using impulses and convolving with a
> > Gaussian, because if you're trying to tweak the series that you're
> > using to get an HE curve of a certain shape, you might as well just
> > get that shape directly with the convolution. Why not first calculate
> > n'*d' < N, where n' and d' are just n and d with all factors of 2
> > removed? Maybe that'll do the trick.
>
> You're talking about making a Gaussian kernel density plot of the basis, right? I don't see how that is supposed to solve my problem because you're still looking at the local density of ratios in the basis, and if that density is non-uniform the curve you get will still have that overall shape to it (and it will still get worse as you increase the basis size).

I'm not sure what a Gaussian kernel density plot is - I was talking
more about my attempts to model HE as the convolution of a "basis"
function looking like this

http://en.wikipedia.org/wiki/Thomae%27s_function

and a Gaussian. The whole thing ended inconclusively. What is a
Gaussian kernel density plot? Is that what I was doing?

-Mike

🔗Keenan Pepper <keenanpepper@gmail.com>

4/13/2011 7:20:13 PM

--- In tuning-math@yahoogroups.com, Mike Battaglia <battaglia01@...> wrote:
> I'm just speculating, but it seemed like you were using max(n,d),
> right? Well, when the rule is to use d, the slope goes down and to the
> right. I'm simply speculating that since you're using max(n,d), the
> slope will start to go down, reach a peak in the middle where all of
> the ratios are things like 11/8 and 7/5 and so on, and then go back up
> when you start to hit something like 2/1. It seemed like it would be
> symmetrical. I dunno man, I was just waking up when I wrote that,
> sorry :P

I'm using the odd limit, that is, max(n', d') where n' and d' are numerator and denominator with all 2s factored out. So for ratios between 1/1 and 2/1 this works out to be the same as:

n, unless n is even, else d

I think there might be something to what you say, but I haven't quite figured it out yet.

> Right, if what you're doing is going to cause the curve to reflect on
> itself, is it not the case that the density will reach a minimum at
> sqrt(2)? But I think you're aware of this, and are looking for a
> concrete mathematical proof of what's going on. I was just trying to
> provide you with some initial points of departure that might have been
> useful.

That seems like it makes sense...

> You could convolve the normal HE curve, symmetricized about 0 cents,
> with an impulse train of period 1200 cents.

Right, but how do you actually do this with the infinite train? I guess there's nothing wrong with using a finite train as an approximation. That's something I should try, at least.

> I'm not sure what a Gaussian kernel density plot is - I was talking
> more about my attempts to model HE as the convolution of a "basis"
> function looking like this
>
> http://en.wikipedia.org/wiki/Thomae%27s_function
>
> and a Gaussian. The whole thing ended inconclusively. What is a
> Gaussian kernel density plot? Is that what I was doing?

If you have a set of real numbers and you want to visualize their distribution, the simplest thing is to put them in bins and make a histogram. But sometimes histograms have an unacceptable trade-off between poor resolution (from too large bins) and a noisy density curve (from to small bins). The second simplest thing you can do is make a kernel density plot by summing up a bunch of gaussians (or other kernel functions), one centered at each of your data points. So it's a continuous analog of a histogram.

I believe what you're talking about is exactly a kernel density plot. Now you know another name for it!

Keenan

🔗Carl Lumma <carl@lumma.org>

4/13/2011 7:39:05 PM

Keenan wrote:

>And even if nobody knows a mathematical explanation for this, are
>there any suggestions how to get around it? I gather that a way to
>solve this problem for non-octave-equivalent HE curves is to use
>Tenney height n*d, instead of max(n,d), to limit the basis sets.
>However, I tried the obvious analog of this for octave-equivalent HE
>(namely, the largest odd factor of n*d), and the resulting curves
>looked bizarre - sort of like an HE curve but with really weird
>ranking of the intervals. Is there some other natural choice of basis
>set that might give me HE curves that don't get distorted?

I don't believe any meaningful octave-equivalent harmonic entropy
is possible. Paul's version simply averaged the entropies of
octave equivalents. I never thought this made any sense.

>by just generating all the ratios of some large odd limit (that
>is, a huge tonality diamond), finding the midpoints between them

What is the justification for using these midpoints?

-Carl

🔗Carl Lumma <carl@lumma.org>

4/13/2011 7:56:39 PM

Keenan wrote:

>That's really what's bothering me here. I wouldn't really care what
>the shape was as long as it converged to *something*. I guess the
>problem is that, if you just used the whole of the rational numbers Q
>as your basis set, the entropy of everything would be infinite. But we
>just want the finite variations on top of this infinite background
>entropy, so we do some "renormalization" in the manner of quantum field
>theory.

Paul claimed it did, with either the Farey series or the Tenney
series. Here's a graph he made to illustrate this, though it's
hard to make out details

/tuning-math/files/PaulErlich/manuel.jpg

-Carl

🔗Carl Lumma <carl@lumma.org>

4/13/2011 8:10:16 PM

I wrote:

>>by just generating all the ratios of some large odd limit (that
>>is, a huge tonality diamond), finding the midpoints between them
>
>What is the justification for using these midpoints?

Sorry, I misunderstood what you were saying. This seems reasonable,
though AFAIK Paul always partitioned the space with mediants (which
are naturally compatible with the Farey series) or else used an
approximation based on Tenney height (naturally compatible with the
Tenney series).

So I guess my question is, if you approximate the widths by
Tenney height (or perhaps 1/max(n', d') to keep with the odd-limit
spirit) or use mediants, does the anomaly go away?

-Carl

🔗Keenan Pepper <keenanpepper@gmail.com>

4/18/2011 12:02:52 PM

--- In tuning-math@yahoogroups.com, Carl Lumma <carl@...> wrote:
>
> I wrote:
>
> >>by just generating all the ratios of some large odd limit (that
> >>is, a huge tonality diamond), finding the midpoints between them
> >
> >What is the justification for using these midpoints?
>
> Sorry, I misunderstood what you were saying. This seems reasonable,
> though AFAIK Paul always partitioned the space with mediants (which
> are naturally compatible with the Farey series) or else used an
> approximation based on Tenney height (naturally compatible with the
> Tenney series).
>
> So I guess my question is, if you approximate the widths by
> Tenney height (or perhaps 1/max(n', d') to keep with the odd-limit
> spirit) or use mediants, does the anomaly go away?

No, that doesn't help at all. Here's the one using 1/max(n', d') (odd limit width approximation):

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGYmViZjE2ZTQtYWZjZS00ZjNhLTgzZDgtMDNlN2ExNmQ1YjRj&hl=en

and here's another one using an "odd Tenney height" width approximation (1/sqrt(n'*d')):

https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9CMyeCjAMQGZTcwZTMzNTYtYTRhOC00YjBiLTlhN2UtMTQ2ZWRjNWQyOWVj&hl=en

Clearly, both still change shape as the basis gets larger.

I think what I'm going to do now is use an odd limit basis, but fit the overall density nonuniformity with a few Fourier terms and subtract the corresponding entropy, log(rho), from the HE curve. Conveniently, the density is guaranteed to be an even function, so I just need a cosine series.

It'd be much nicer if I had a real theoretical expression for the density, but as long as the HE curve looks as I expect it to, I'm not going to worry about it.

Keenan

🔗Carl Lumma <carl@lumma.org>

5/20/2011 11:32:06 AM

>I don't believe any meaningful octave-equivalent harmonic entropy
>is possible. Paul's version simply averaged the entropies of
>octave equivalents. I never thought this made any sense.

The reason it didn't make any sense is because it's not what
Paul did -- my mistake. Actually, he does seem to have used
such an approach on at least one occasion, but his primary
octave-equivalent entropy always used seed-by-odd-limit, just
like Keenan's.

Sorry for the confusion. -Carl