back to list

Alternatives to TOP weighting for 7- and higher-limit temperaments?

🔗Herman Miller <hmiller@IO.COM>

5/25/2008 6:45:26 PM

TOP is a theoretically nice measure for optimization, but it has limitations especially when dealing with the "less accurate" temperaments. The problem boils down to the fact that intervals like 7/4, 11/8, 9/7, 13/11, and so on are more musically useful than the 7/1, 11/1, 13/1 intervals that TOP is optimized for. Theoretically it makes sense that the error in 7/1 should be similar to the error of 6/1 or 8/1, but in practice, 7/1 and 4/1 can frequently have errors in opposite directions, so the musically useful 7/4 is worse than either of them.

So it might make sense for purpose of badness estimation and tuning optimization to look at a different basis for the prime intervals and a different set of weights. A simple matrix multiply can convert the temperament to a different set of prime vectors, e.g.:

| 1 0 0 0 | | 1 0 | | 1 0 |
| -1 1 0 0 | | 2 -1 | | 1 -1 |
| -2 0 1 0 | X | 4 -4 | = | 2 -4 |
| -2 0 0 1 | | 7 -10 | | 5 -10 |

Now we have 7-limit meantone remapped to use the prime intervals 2/1 [1, 0, 0, 0>, 3/2 [-1, 1, 0, 0>, 5/4 [-2, 0, 1, 0>, and 7/4 [-2, 0, 0, 1>. We can find the unweighted TOP-RMS using the pseudoinverse technique, which gives us a period of 1202.03 cents and a generator of 504.14 cents. The weighted TOP-RMS can also be calculated, but the question is what weights should be used?

One possibility is to use the base 2 logarithms of the new prime vectors: 1, 0.58, 0.32, 0.81. This gives us a period off 1204.39 cents and a generator of 505.44 cents. The problem with this is clear: it gives higher priority to the accuracy of the smallest interval (5/4 in this case), at the expense of the larger intervals, particularly the octave.

It might work out better to use the base 2 logs of the original primes: 1, 1.58, 2.32, 2.81, especially considering the importance of the octave. The generators are 1200.91 and 503.51 cents. Or you could arbitrarily weight them: 1.0, 2.0, 3.0, 4.0 (generators: 1200.59, 503.33).

The real test is what happens when you try a problematic temperament, like sharptone [<1, 2, 4, 4], <0, -1, -4, -3]>. The errors in this are such that a 4:5:6:7 sounds like an added 6th chord (21/20 is tempered out). But the TOP-RMS tuning (1204.75, 501.84) doesn't look that bad. Unfortunately, the remapped sharptone [<1, 1, 2, 2], <0, -1, -4, -3]>, with TOP-RMS generators of (1203.01, 498.03), isn't much better.

So it seems like it's back to trying out temperaments by ear to find flaws that aren't apparent from the usual badness scores (sharptone has a reasonably good badness, yet as a 7-limit temperament it's hardly usable). And if temperaments like beep and sharptone are too highly rated, there may also be overlooked temperaments that for one reason or another don't look good with the usual badness scores. So it would be nice to find a better measure of badness, since tuning up and trying hundreds of temperaments by ear can be very time-consuming.

🔗Graham Breed <gbreed@gmail.com>

5/25/2008 7:26:16 PM

Herman Miller wrote:
> TOP is a theoretically nice measure for optimization, but it has > limitations especially when dealing with the "less accurate" > temperaments. The problem boils down to the fact that intervals like > 7/4, 11/8, 9/7, 13/11, and so on are more musically useful than the 7/1, > 11/1, 13/1 intervals that TOP is optimized for. Theoretically it makes > sense that the error in 7/1 should be similar to the error of 6/1 or > 8/1, but in practice, 7/1 and 4/1 can frequently have errors in opposite > directions, so the musically useful 7/4 is worse than either of them.

So 7/1 and 4/1 have errors in the opposite direction. Fine. Let's say 4/1 is sharp and 7/1 flat. The result is that 7/4 is very flat. Well, you can stretch the octave to compensate -- but that means octaves become very sharp!

TOP implicitly considers all those intervals by optimizing the scale stretch. I don't see a problem that needs to be solved by choosing different prime intervals. That can run into problems as well. If you optimize for 7/4 and 2/1 then it implies that 16/7 and 7/1 are equally important. Is that what you want?

Graham

🔗Herman Miller <hmiller@IO.COM>

5/26/2008 12:22:39 PM

Graham Breed wrote:
> Herman Miller wrote:
>> TOP is a theoretically nice measure for optimization, but it has >> limitations especially when dealing with the "less accurate" >> temperaments. The problem boils down to the fact that intervals like >> 7/4, 11/8, 9/7, 13/11, and so on are more musically useful than the 7/1, >> 11/1, 13/1 intervals that TOP is optimized for. Theoretically it makes >> sense that the error in 7/1 should be similar to the error of 6/1 or >> 8/1, but in practice, 7/1 and 4/1 can frequently have errors in opposite >> directions, so the musically useful 7/4 is worse than either of them.
> > So 7/1 and 4/1 have errors in the opposite direction. Fine. > Let's say 4/1 is sharp and 7/1 flat. The result is that > 7/4 is very flat. Well, you can stretch the octave to > compensate -- but that means octaves become very sharp!

Yes, that's a sign of a temperament that isn't suitable for close 7-limit harmony. You may be able to work around those limitations by suitable spacing, but it may not be worth the effort. If you're interested in harmony, intervals less than the size of an octave will be commonplace. A badness score that gives more weight to the intervals around the size of an octave might be a better guide to finding good temperaments.

> TOP implicitly considers all those intervals by optimizing > the scale stretch. I don't see a problem that needs to be > solved by choosing different prime intervals. That can run > into problems as well. If you optimize for 7/4 and 2/1 then > it implies that 16/7 and 7/1 are equally important. Is that > what you want?

7/1 might occur in widely-spaced chords (e.g. 1:3:5:7) but the 7 is so far above the low notes that the accuracy of the 7:5 may have more of an effect on the perception of the chord. 16/7 could occur in an inversion of a 7th chord (e.g. 7:10:12:16), although here too, the inner intervals may be more critical. 7-limit is a bit of a borderline case since the 7/1 is still a potentially useful interval, but ranking 16/7 as important as 7/1 doesn't seem to be much of a flaw.

When you start looking at 11- and higher-limit temperaments, the problems get worse. Neutral seconds and thirds are critical to the 11-limit character, but the exact tuning of 11/1 is less likely to be of interest.

It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:

2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)

🔗Graham Breed <gbreed@gmail.com>

5/26/2008 11:21:14 PM

Herman Miller wrote:
> Graham Breed wrote:
>> Herman Miller wrote:
>>> TOP is a theoretically nice measure for optimization, but it has >>> limitations especially when dealing with the "less accurate" >>> temperaments. The problem boils down to the fact that intervals like >>> 7/4, 11/8, 9/7, 13/11, and so on are more musically useful than the 7/1, >>> 11/1, 13/1 intervals that TOP is optimized for. Theoretically it makes >>> sense that the error in 7/1 should be similar to the error of 6/1 or >>> 8/1, but in practice, 7/1 and 4/1 can frequently have errors in opposite >>> directions, so the musically useful 7/4 is worse than either of them.
>> So 7/1 and 4/1 have errors in the opposite direction. Fine. >> Let's say 4/1 is sharp and 7/1 flat. The result is that >> 7/4 is very flat. Well, you can stretch the octave to >> compensate -- but that means octaves become very sharp!
> > Yes, that's a sign of a temperament that isn't suitable for close > 7-limit harmony. You may be able to work around those limitations by > suitable spacing, but it may not be worth the effort. If you're > interested in harmony, intervals less than the size of an octave will be > commonplace. A badness score that gives more weight to the intervals > around the size of an octave might be a better guide to finding good > temperaments.

But as long as you can optimize the scale stretch it doesn't make any difference. It's the scale stretch that balances small and large intervals.

>> TOP implicitly considers all those intervals by optimizing >> the scale stretch. I don't see a problem that needs to be >> solved by choosing different prime intervals. That can run >> into problems as well. If you optimize for 7/4 and 2/1 then >> it implies that 16/7 and 7/1 are equally important. Is that >> what you want?
> > 7/1 might occur in widely-spaced chords (e.g. 1:3:5:7) but the 7 is so > far above the low notes that the accuracy of the 7:5 may have more of an > effect on the perception of the chord. 16/7 could occur in an inversion > of a 7th chord (e.g. 7:10:12:16), although here too, the inner intervals > may be more critical. 7-limit is a bit of a borderline case since the > 7/1 is still a potentially useful interval, but ranking 16/7 as > important as 7/1 doesn't seem to be much of a flaw.

If 5/4 and 3/2 are prime intervals, you'll also have 6/5 with equal weight to 15/4. Maybe that's a problem.

> When you start looking at 11- and higher-limit temperaments, the > problems get worse. Neutral seconds and thirds are critical to the > 11-limit character, but the exact tuning of 11/1 is less likely to be of > interest.

What problems?

Are you interested in the tuning or the badness of the temperament class? Either way I don't think it matters. See

http://x31eq.com/composite.pdf

They results for Farey and Tenney limits are very similar, so the size of the intervals doesn't really matter. But I do propose a measure with a free parameter to take account of the interval size that you could look into further.

> It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best > alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:
> > 2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
> 2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)

And how about complexity? That makes more sense with prime intervals equal to prime numbers.

Graham

🔗Herman Miller <hmiller@IO.COM>

5/27/2008 6:18:05 PM

Graham Breed wrote:
> But as long as you can optimize the scale stretch it doesn't > make any difference. It's the scale stretch that balances > small and large intervals.

Well, there are two variables (the generator sizes), so I don't see how adjusting one variable (a scale stretch) is going to account for all the possibilities. Sharptone could be a case where TOP-MAX is less misleading than TOP-RMS -- the TOP-MAX octave is 1214.253642 cents, which is pretty stretched. Adjusting the generator can improve the 7/4 at the cost of the 5/4. Actually sharptone is a pretty messed-up temperament in the first place: 7/5 is equivalent to 4/3. No matter what you do with it, you won't get a reasonable 4:5:6:7.

>>> TOP implicitly considers all those intervals by optimizing >>> the scale stretch. I don't see a problem that needs to be >>> solved by choosing different prime intervals. That can run >>> into problems as well. If you optimize for 7/4 and 2/1 then >>> it implies that 16/7 and 7/1 are equally important. Is that >>> what you want?
>> 7/1 might occur in widely-spaced chords (e.g. 1:3:5:7) but the 7 is so >> far above the low notes that the accuracy of the 7:5 may have more of an >> effect on the perception of the chord. 16/7 could occur in an inversion >> of a 7th chord (e.g. 7:10:12:16), although here too, the inner intervals >> may be more critical. 7-limit is a bit of a borderline case since the >> 7/1 is still a potentially useful interval, but ranking 16/7 as >> important as 7/1 doesn't seem to be much of a flaw.
> > If 5/4 and 3/2 are prime intervals, you'll also have 6/5 > with equal weight to 15/4. Maybe that's a problem.

True. Well, I'm not so concerned about the weight of 15/4 as long as I can look at a number and have a reasonable idea how good the basic n-limit consonances might be. I might have a temperament with a reasonable tuning of 7/4, or one with a 7/4 that's 5.6 times as far off as the tuning of the octave. I don't care that its 7/1 is only 2.8 times as bad, but the 7/2 may be of some interest.

>> When you start looking at 11- and higher-limit temperaments, the >> problems get worse. Neutral seconds and thirds are critical to the >> 11-limit character, but the exact tuning of 11/1 is less likely to be of >> interest.
> > What problems?

You can't tell whether an 11-limit temperament has reasonable neutral intervals or not. You can end up with a so-called 11-limit temperament with an 11/8 that sounds more like 7/5 or 4/3. That means you have to test each temperament by ear. Which you should probably do anyway, once you have a few candidates that look interesting, but it takes time to set each one up and test it.

> Are you interested in the tuning or the badness of the > temperament class? Either way I don't think it matters. See
> > http://x31eq.com/composite.pdf
> > They results for Farey and Tenney limits are very similar, > so the size of the intervals doesn't really matter. But I > do propose a measure with a free parameter to take account > of the interval size that you could look into further.
> >> It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best >> alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:
>>
>> 2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
>> 2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)
> > And how about complexity? That makes more sense with prime > intervals equal to prime numbers.

What I want from a complexity measurement is an indication of how big a block I might need in a tuning table or on a generalized keyboard.

🔗Graham Breed <gbreed@gmail.com>

5/29/2008 8:10:52 PM

Herman Miller wrote:
> Graham Breed wrote:
>> But as long as you can optimize the scale stretch it doesn't >> make any difference. It's the scale stretch that balances >> small and large intervals.
> > Well, there are two variables (the generator sizes), so I don't see how > adjusting one variable (a scale stretch) is going to account for all the > possibilities. Sharptone could be a case where TOP-MAX is less > misleading than TOP-RMS -- the TOP-MAX octave is 1214.253642 cents, > which is pretty stretched. Adjusting the generator can improve the 7/4 > at the cost of the 5/4. Actually sharptone is a pretty messed-up > temperament in the first place: 7/5 is equivalent to 4/3. No matter what > you do with it, you won't get a reasonable 4:5:6:7.

Yes, there are two variables, so you can choose one of them to be the scale stretch and the other to be the octave-equivalent generator. The scale stretch has the most impact on large intervals, and none at all as intervals approach a unison. As all primes are used with the same frequency for all sizes of intervals (you could call this a fractal) you can ignore the scale stretch and only optimize for infinitely small intervals. That gives you a value for the generator. Then you optimize the scale stretch to get the larger intervals to work out.

Alternatively, optimize for the prime intervals. It'll give pretty much the same results.

TOP-max will obviously have no problems with the choice of intervals because it gives exactly the same result for any set of intervals that includes a basis.

So is this sharptone?

5/12

1204.750 cents period
501.839 cents generator

mapping by period and generator:
<1, 2, 4, 4]
<0, -1, -4, -3]

mapping by steps:
<5, 8, 12, 14]
<7, 11, 16, 19]

scalar complexity: 0.626
RMS weighted error: 11.653 cents/octave
max weighted error: 19.713 cents/octave

The true TOP-max error is 14.3 cents/octave. Not much different from the TOP-RMS really. The TOP-RMS favors 2 and 3 at the expense of 5 and 7.

> True. Well, I'm not so concerned about the weight of 15/4 as long as I > can look at a number and have a reasonable idea how good the basic > n-limit consonances might be. I might have a temperament with a > reasonable tuning of 7/4, or one with a 7/4 that's 5.6 times as far off > as the tuning of the octave. I don't care that its 7/1 is only 2.8 times > as bad, but the 7/2 may be of some interest.

Why do you care about the errors relative to the octave? The error in the optimal octave gives you an idea of how the errors in the primes are distributed for pure octaves. It's the absolute errors that matter and the absolute weighted errors of the primes give you an idea of the errors of other intervals.

>>> When you start looking at 11- and higher-limit temperaments, the >>> problems get worse. Neutral seconds and thirds are critical to the >>> 11-limit character, but the exact tuning of 11/1 is less likely to be of >>> interest.
>> What problems?
> > You can't tell whether an 11-limit temperament has reasonable neutral > intervals or not. You can end up with a so-called 11-limit temperament > with an 11/8 that sounds more like 7/5 or 4/3. That means you have to > test each temperament by ear. Which you should probably do anyway, once > you have a few candidates that look interesting, but it takes time to > set each one up and test it.

What's so special about neutral intervals?

>>> It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best >>> alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:
>>>
>>> 2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
>>> 2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)
>> And how about complexity? That makes more sense with prime >> intervals equal to prime numbers.
> > What I want from a complexity measurement is an indication of how big a > block I might need in a tuning table or on a generalized keyboard.

For what intervals? The simple badness formula assumes the same intervals with the same weights for both error and complexity.

Graham

🔗Herman Miller <hmiller@IO.COM>

5/30/2008 5:51:26 PM

Graham Breed wrote:
> TOP-max will obviously have no problems with the choice of > intervals because it gives exactly the same result for any > set of intervals that includes a basis.

Right, which is why I'm considering alternatives for weighting.

> So is this sharptone?
> > 5/12
> > 1204.750 cents period
> 501.839 cents generator
> > mapping by period and generator:
> <1, 2, 4, 4]
> <0, -1, -4, -3]
> > mapping by steps:
> <5, 8, 12, 14]
> <7, 11, 16, 19]

That's the one.

> scalar complexity: 0.626
> RMS weighted error: 11.653 cents/octave
> max weighted error: 19.713 cents/octave
> > The true TOP-max error is 14.3 cents/octave. Not much > different from the TOP-RMS really. The TOP-RMS favors 2 and > 3 at the expense of 5 and 7.

Also not much worse than dimisept [<4, 6, 9, 11], <0, 1, 1, 1]> with 13.7 cents/octave. But dimisept has a much better 7/4 (28.23 cents sharp, as opposed to 68.52 cents flat). The 4:5:6:7 in flattone sounds like the open strings of a ukulele.

>> True. Well, I'm not so concerned about the weight of 15/4 as long as I >> can look at a number and have a reasonable idea how good the basic >> n-limit consonances might be. I might have a temperament with a >> reasonable tuning of 7/4, or one with a 7/4 that's 5.6 times as far off >> as the tuning of the octave. I don't care that its 7/1 is only 2.8 times >> as bad, but the 7/2 may be of some interest.
> > Why do you care about the errors relative to the octave? > The error in the optimal octave gives you an idea of how the > errors in the primes are distributed for pure octaves. It's > the absolute errors that matter and the absolute weighted > errors of the primes give you an idea of the errors of other > intervals.

I don't understand what you mean by "the errors relative to the octave". The TOP weighting is biased against intervals like 7/4 or 9/7, while it tries to optimize widely spaced intervals like 13/1 (which are less critical because of the size of the interval: any harmonics of the lower note that might beat are likely to be weak enough to not be a problem). What I'm looking for is a weighting that gives priority to intervals with the numerator and denominator closer together in the harmonic series: 9/7 or 13/11 for instance.

>>>> When you start looking at 11- and higher-limit temperaments, the >>>> problems get worse. Neutral seconds and thirds are critical to the >>>> 11-limit character, but the exact tuning of 11/1 is less likely to be of >>>> interest.
>>> What problems?
>> You can't tell whether an 11-limit temperament has reasonable neutral >> intervals or not. You can end up with a so-called 11-limit temperament >> with an 11/8 that sounds more like 7/5 or 4/3. That means you have to >> test each temperament by ear. Which you should probably do anyway, once >> you have a few candidates that look interesting, but it takes time to >> set each one up and test it.
> > What's so special about neutral intervals?

They're characteristic of the 11-limit sound. Without that you just have what sounds like a 5- or 7-limit temperament.

>>>> It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best >>>> alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:
>>>>
>>>> 2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
>>>> 2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)
>>> And how about complexity? That makes more sense with prime >>> intervals equal to prime numbers.
>> What I want from a complexity measurement is an indication of how big a >> block I might need in a tuning table or on a generalized keyboard.
> > For what intervals? The simple badness formula assumes the > same intervals with the same weights for both error and > complexity.

A similar set of intervals: roughly (x + y) / x where y is relatively small (< x? < 2x?) and x < the prime limit of the temperament.

🔗Graham Breed <gbreed@gmail.com>

5/30/2008 11:29:58 PM

Herman Miller wrote:
> Graham Breed wrote:
>> TOP-max will obviously have no problems with the choice of >> intervals because it gives exactly the same result for any >> set of intervals that includes a basis.
> > Right, which is why I'm considering alternatives for weighting.

You want to change it *because* it works fine already?

>> So is this sharptone?
>>
>> 5/12
>>
>> 1204.750 cents period
>> 501.839 cents generator
>>
>> mapping by period and generator:
>> <1, 2, 4, 4]
>> <0, -1, -4, -3]
>>
>> mapping by steps:
>> <5, 8, 12, 14]
>> <7, 11, 16, 19]
> > That's the one.
> >> scalar complexity: 0.626
>> RMS weighted error: 11.653 cents/octave
>> max weighted error: 19.713 cents/octave
>>
>> The true TOP-max error is 14.3 cents/octave. Not much >> different from the TOP-RMS really. The TOP-RMS favors 2 and >> 3 at the expense of 5 and 7.
> > Also not much worse than dimisept [<4, 6, 9, 11], <0, 1, 1, 1]> with > 13.7 cents/octave. But dimisept has a much better 7/4 (28.23 cents > sharp, as opposed to 68.52 cents flat). The 4:5:6:7 in flattone sounds > like the open strings of a ukulele.

Dimisept has 4.9 cents TOP-RMS error (5.9 cents TOP-max).

>>> True. Well, I'm not so concerned about the weight of 15/4 as long as I >>> can look at a number and have a reasonable idea how good the basic >>> n-limit consonances might be. I might have a temperament with a >>> reasonable tuning of 7/4, or one with a 7/4 that's 5.6 times as far off >>> as the tuning of the octave. I don't care that its 7/1 is only 2.8 times >>> as bad, but the 7/2 may be of some interest.
>> Why do you care about the errors relative to the octave? >> The error in the optimal octave gives you an idea of how the >> errors in the primes are distributed for pure octaves. It's >> the absolute errors that matter and the absolute weighted >> errors of the primes give you an idea of the errors of other >> intervals.
> > I don't understand what you mean by "the errors relative to the octave". > The TOP weighting is biased against intervals like 7/4 or 9/7, while it > tries to optimize widely spaced intervals like 13/1 (which are less > critical because of the size of the interval: any harmonics of the lower > note that might beat are likely to be weak enough to not be a problem). > What I'm looking for is a weighting that gives priority to intervals > with the numerator and denominator closer together in the harmonic > series: 9/7 or 13/11 for instance.

You're talking about the error of 7/4 as a function of the error of the octave. I don't think that's at all relevant.

You keep talking about this bias but don't give any evidence. I've used standard deviations to give priority to small intervals and found it barely makes a difference.

>>>>> When you start looking at 11- and higher-limit temperaments, the >>>>> problems get worse. Neutral seconds and thirds are critical to the >>>>> 11-limit character, but the exact tuning of 11/1 is less likely to be of >>>>> interest.
>>>> What problems?
>>> You can't tell whether an 11-limit temperament has reasonable neutral >>> intervals or not. You can end up with a so-called 11-limit temperament >>> with an 11/8 that sounds more like 7/5 or 4/3. That means you have to >>> test each temperament by ear. Which you should probably do anyway, once >>> you have a few candidates that look interesting, but it takes time to >>> set each one up and test it.
>> What's so special about neutral intervals?
> > They're characteristic of the 11-limit sound. Without that you just have > what sounds like a 5- or 7-limit temperament.

Yes, and as 11-limit intervals, why are they uniquely being neglected?

>>>>> It's likely that 2/1, 3/2, 5/4, 7/4, 11/8, etc. aren't the best >>>>> alternatives to 2/1, 3/1, 5/1, 7/1, 11/1. Other possibilities might include:
>>>>>
>>>>> 2/1, 3/2, 5/3, 7/5, 11/7, 13/11, 17/13, ... (ratios of adjacent primes)
>>>>> 2/1, 3/2, 5/4, 7/6, 11/10, 13/12, 17/16, ... (superparticular ratios)
>>>> And how about complexity? That makes more sense with prime >>>> intervals equal to prime numbers.
>>> What I want from a complexity measurement is an indication of how big a >>> block I might need in a tuning table or on a generalized keyboard.
>> For what intervals? The simple badness formula assumes the >> same intervals with the same weights for both error and >> complexity.
> > A similar set of intervals: roughly (x + y) / x where y is relatively > small (< x? < 2x?) and x < the prime limit of the temperament.

With those superparticular prime intervals you get 14/13 as equal in complexity to 91/72. I don't buy that.

Graham

🔗Herman Miller <hmiller@IO.COM>

5/31/2008 12:12:26 PM

Graham Breed wrote:
> Herman Miller wrote:
>> Graham Breed wrote:
>>> TOP-max will obviously have no problems with the choice of >>> intervals because it gives exactly the same result for any >>> set of intervals that includes a basis.
>> Right, which is why I'm considering alternatives for weighting.
> > You want to change it *because* it works fine already?

"Fine" is a matter of opinion. It has its uses, but it also can be misleading. Not "change", but looking for alternatives for specific purposes that TOP doesn't seem very well suited for.

>>> The true TOP-max error is 14.3 cents/octave. Not much >>> different from the TOP-RMS really. The TOP-RMS favors 2 and >>> 3 at the expense of 5 and 7.
>> Also not much worse than dimisept [<4, 6, 9, 11], <0, 1, 1, 1]> with >> 13.7 cents/octave. But dimisept has a much better 7/4 (28.23 cents >> sharp, as opposed to 68.52 cents flat). The 4:5:6:7 in flattone sounds >> like the open strings of a ukulele.
> > Dimisept has 4.9 cents TOP-RMS error (5.9 cents TOP-max).

Oops, I was looking at the wrong file. I've been messing around with my temperament program and made a couple of lists with wrong data.

> You're talking about the error of 7/4 as a function of the > error of the octave. I don't think that's at all relevant.

I'm interested in the error of 7/4 in cents, in case that wasn't clear. Nothing to do with octaves. Let's go back to the original point. 7/4 is a musically useful interval; it occurs in numerous chords including 4:5:6:7. 7/5 and 7/6 are also important, but 7/1 is of more marginal importance. The differences are even more apparent in 11- and higher limits.

> You keep talking about this bias but don't give any > evidence. I've used standard deviations to give priority to > small intervals and found it barely makes a difference.

7/4 is considered as a product of 2^-2 * 7^1, so it can be way more inaccurate than an interval such as 5/2. 7/5 and 7/6 have even worse scores according to TOP weighting based on complexity. 7/6 has the same complexity as 14/3, 21/2, and 42/1. While 14/3 may be of some use, I think it's safe to assume that 7/6 is more important.

>>> What's so special about neutral intervals?
>> They're characteristic of the 11-limit sound. Without that you just have >> what sounds like a 5- or 7-limit temperament.
> > Yes, and as 11-limit intervals, why are they uniquely being Nothing unique about them. The problem just gets worse with each higher limit.

> With those superparticular prime intervals you get 14/13 as > equal in complexity to 91/72. I don't buy that.

Weight, not complexity. Certainly it would be nice to have similar weights for 13/12 and 14/13. It might end up being necessary to calculate the errors of all the superparticular intervals, not just the primes....

🔗Graham Breed <gbreed@gmail.com>

6/1/2008 7:58:29 AM

Herman Miller wrote:

> I'm interested in the error of 7/4 in cents, in case that wasn't clear. > Nothing to do with octaves. Let's go back to the original point. 7/4 is > a musically useful interval; it occurs in numerous chords including > 4:5:6:7. 7/5 and 7/6 are also important, but 7/1 is of more marginal > importance. The differences are even more apparent in 11- and higher limits.

The error of the 7/4 is determined by the error in the 7/1 and the error in the 2/1 -- the octave. Make those errors small and the error in 7/4 is bound to be small. That's the point of prime weighting and I don't see any problems with it.

>> You keep talking about this bias but don't give any >> evidence. I've used standard deviations to give priority to >> small intervals and found it barely makes a difference.
> > 7/4 is considered as a product of 2^-2 * 7^1, so it can be way more > inaccurate than an interval such as 5/2. 7/5 and 7/6 have even worse > scores according to TOP weighting based on complexity. 7/6 has the same > complexity as 14/3, 21/2, and 42/1. While 14/3 may be of some use, I > think it's safe to assume that 7/6 is more important.

Yes, and 9/4 can never be more accurate than 3/2. The weighting is generally proportional to the complexity. You can try different weightings for a finite set of intervals if you like -- and I've done it. With enough intervals it doesn't actually matter much what the weighting is any more than it matters which intervals you chose (as long as it's a reasonable rule and you let a lot of them through).

I've done Farey limits, so you can exclude the 14/3. They don't make much difference to the results.

>>>> What's so special about neutral intervals?
>>> They're characteristic of the 11-limit sound. Without that you just have >>> what sounds like a 5- or 7-limit temperament.
>> Yes, and as 11-limit intervals, why are they uniquely being > > Nothing unique about them. The problem just gets worse with each higher > limit.

What problem? I still don't see a problem.

>> With those superparticular prime intervals you get 14/13 as >> equal in complexity to 91/72. I don't buy that.
> > Weight, not complexity. Certainly it would be nice to have similar > weights for 13/12 and 14/13. It might end up being necessary to > calculate the errors of all the superparticular intervals, not just the > primes....

I said the weight has to match the complexity for the simple badness to work.

Graham

🔗Herman Miller <hmiller@IO.COM>

6/1/2008 7:49:59 PM

Graham Breed wrote:
> Herman Miller wrote:
> >> I'm interested in the error of 7/4 in cents, in case that wasn't clear. >> Nothing to do with octaves. Let's go back to the original point. 7/4 is >> a musically useful interval; it occurs in numerous chords including >> 4:5:6:7. 7/5 and 7/6 are also important, but 7/1 is of more marginal >> importance. The differences are even more apparent in 11- and higher limits.
> > The error of the 7/4 is determined by the error in the 7/1 > and the error in the 2/1 -- the octave. Make those errors > small and the error in 7/4 is bound to be small. That's the > point of prime weighting and I don't see any problems with it.

If you don't care about the error of the 7/1, there doesn't seem to be much point in optimizing for it. You might as well determine the error of the 7/1 by the error in the 7/4 and the error in the 2/1. Any chord containing a 7/1 is likely to have other notes between the 1 and the 7; if those smaller intervals (e.g. 3/1, 5/3, 7/5 in a 1:3:5:7 chord) are optimized for error, the overall chord should be fine.

>>> You keep talking about this bias but don't give any >>> evidence. I've used standard deviations to give priority to >>> small intervals and found it barely makes a difference.
>> 7/4 is considered as a product of 2^-2 * 7^1, so it can be way more >> inaccurate than an interval such as 5/2. 7/5 and 7/6 have even worse >> scores according to TOP weighting based on complexity. 7/6 has the same >> complexity as 14/3, 21/2, and 42/1. While 14/3 may be of some use, I >> think it's safe to assume that 7/6 is more important.
> > Yes, and 9/4 can never be more accurate than 3/2. The > weighting is generally proportional to the complexity. You > can try different weightings for a finite set of intervals > if you like -- and I've done it. With enough intervals it > doesn't actually matter much what the weighting is any more > than it matters which intervals you chose (as long as it's a > reasonable rule and you let a lot of them through).

Who said anything about 9/4? Finding an appropriate set of intervals and weightings is what I was originally looking for. Where to draw the line is another question ... clearly you get different errors and different optimized generators for different sets of intervals, which is one of the advantages of TOP. What I want from an alternative error measure is a second opinion.

> I've done Farey limits, so you can exclude the 14/3. They > don't make much difference to the results.
> >>>>> What's so special about neutral intervals?
>>>> They're characteristic of the 11-limit sound. Without that you just have >>>> what sounds like a 5- or 7-limit temperament.
>>> Yes, and as 11-limit intervals, why are they uniquely being >> Nothing unique about them. The problem just gets worse with each higher >> limit.
> > What problem? I still don't see a problem.

Say you want to write a piece of music in an 11-limit temperament. Instead, what you intend to be heard as 11-limit intervals (say, 11/9 or 11/8) are so sharp or so flat that they sound like different intervals entirely. You might choose a different tuning or even a different temperament if you have an error score based on intervals more similar to the ones you're intending to use.

>>> With those superparticular prime intervals you get 14/13 as >>> equal in complexity to 91/72. I don't buy that.
>> Weight, not complexity. Certainly it would be nice to have similar >> weights for 13/12 and 14/13. It might end up being necessary to >> calculate the errors of all the superparticular intervals, not just the >> primes....
> > I said the weight has to match the complexity for the simple > badness to work.

The badness might need to be a different function of error and complexity, right. By whatever measure of error and complexity you pick, it should be possible to find the few best temperaments (what I'm calling the gold medal temperaments, the ones lower in error than all less complex temperaments) and use those to evaluate the rest.

🔗genewardsmith <genewardsmith@sbcglobal.net>

7/5/2010 6:05:26 AM

--- In tuning-math@yahoogroups.com, Herman Miller <hmiller@...> wrote:

> We can find the unweighted TOP-RMS using the pseudoinverse technique,
> which gives us a period of 1202.03 cents and a generator of 504.14
> cents. The weighted TOP-RMS can also be calculated, but the question is
> what weights should be used?

I forget what we were calling TOP-RMS back then, which unfortunately doesn't seem to be what we are calling TOP-RMS now. But the true, authentic Graham version of TOP-RMS can also be computed using pseudoinverses. If we take a matrix M whose rows are weighted vals derived by weighting the rows of what Graham on the temperament finder website calls "Reduced Mapping" or any similar mapping to generators, then JIP.pseudoinverse(M) will give the tuning of the generators.