back to list

Wave Convergents Problem solved

🔗rick <rick_ballan@...>

6/13/2010 1:16:44 AM

Hi everybody,

I finally found the missing piece of the puzzle. I ran it by Bill Sethares and he said that when I work out the consequences, perhaps relating it to harmonic entropy, then I should have something quite publishable (which was nice) and even an alternate explanation for Terhardt's theory.

Ok, previously I said that given a complex wave of the form

f(t) = sin[2pi at] + sin[2pi bt]

where a/b is either coprime or a is irrational from b, then the GCD between each of its convergents [p/q,....a/b] corresponds to extrema of f(t). By solving for the times between periodic peaks/troughs and inverting, I obtained the value GCD = (a + b)/(p + q). The problem was that I didn't know *why* this was. IOW, what was it in the wave that seemed to 'favour' these values above all others? This solves that problem.

Recall that the extrema of the original wave occurred at the times when it touched the envelope. That is,

sin[pi (a + b)t] = +/- 1 for t = (2k + 1)/2(a + b).

where k = 0,1,2,...Recall also that the envelope is at its maximum or minimum when

cos[pi (a - b)t] = +/- 1 and t = k/(a - b).

Now, since a/b are by definition coprime or irrational, then the sin and cos time solutions will never coincide. i.e. if t = (2k_1 + 1)/2(a + b) for sin and t = k_2/(a - b) for cos then no integer exists such that k_1 = k_2. However, for any given integer k_2, there exists one and only one integer k_1 such that the absolute value of the difference between the two times is smaller than any other. That is, defining

d_k = |(2k_1 + 1)/2(a + b) - k_2/(a - b)|

then d_(k - 1) > d_k < d_(k + 1).

It is easy to see that
d_(k +/- 1) =
|2(k_1 +/- 1) + 1)/2(a + b) - k_2/(a - b)| =
|(2k_1 + 1)/2(a + b) +/- [1/(a + b)] - k_2/(a - b)|.

IOW, they will be half a cycle of 2/(a - b) away from the original 'target' cycle at k_2, contra hype.

Next, we can extract unique integers (p, q) from K_2 in the following way:

a*k_2/(a - b) = [p] + r/(a - b),
b*k_2/(a - b) = [q] + r/(a - b),

where [] means 'round' and r = aq - pb.

Observe also that since only one k_1 corresponds to k_2 we then have

a*k_1/(a + b) = [p] + r/(a + b),
b*k_1/(a + b) = [q] - r/(a + b).

It is easy to see that k_2 = (p - q) and k_1 = (p + q) which can now be substituted back into our original two time equations.

If we form the ratios p/q starting from k_2 = 1, 2, 3,... we obtain a list of 'convergents' to a/b. However, unlike pure number theory, these convergents will correspond to extrema throughout the wave. And having solved the problem for simple dyads it is not difficult to extend them to more complex triads etc...

Eg: a/b = 81/64. k_2 = 1 gives

1*81/17 = 4 + 13/17 ~ 5 so [p] = 5 and 81/17 = 5 - 4/17,
1*61/17 = 3 + 13/17 ~ 4 so [q] = 4 and 64/17 = 4 - 4/17.

k_1 = (5 + 4) = 9, k_2 = (5 - 4) = 1 and r = aq - pb = 81*4 - 5*64 = 4.

k_2 = 2 gives

2*81/17 = 10 - 8/17,
2*64/17 = 8 - 8/17,

k_1 = (10 + 8) = 18 and k_2 = (10 - 8) = 2, r = 8 (= 2*4, our last one) and p/q = 5/4 once again.

Continuing we obtain the list of p/q's [5/4, 5/4, 14/11, 19/15, 24/19, 29/23, 33/26, 19/15 ...]. Observe that the 'stronger' intervals 5/4 and 19/15 appear more than once and earlier in the wave (since k_2 = 1 = 1st cycle, etc...).

Finally, we obtain the ~ GCD by taking (2k_1 + 1)/2(a + b) - 1/2(a + b) = (p + q)/(a + b) or ~ GCD = (a + b)/(p + q) = g. So, for the first p/q we have g = 145/9 = 16.111...p*g = 5*16.111... = 80.555...~= 81 and q*g = 4*16.111... = 64.444...~= 64. For the third convergent 14/11, g = 145/25 = 5.8, 14*5.8 = 81.2 and 11*5.8 = 63.8 and so on. Already we see that the g is small compared to a and b.

As I said earlier, the original function can now be analysed into a set of 'simpler' intervals p/q with a slowly modulating amplitude (envelope) of frequency r/(p + q). The approximate GCD between a/b represents the exact GCD between p*g and q*g. These values I propose as a possible candidate for virtual pitch. It also implies that our more complex intervals that initially seem distant from the fundamental are merely slightly detuned JI intervals after all.

Thanks

Rick

🔗Michael <djtrancendance@...>

6/13/2010 7:50:53 AM

Rick>"Observe that the 'stronger' intervals 5/4 and 19/15 appear more than
once and earlier in the wave (since k_2 = 1 = 1st cycle, etc...)."
Now this is REALLY interesting as it seems to challenge odd limit theory and, perhaps, I've already found evidence that in some cases odd-limit theory does not work ideally. For example, 22/15 I've also found is ideal as an alternative to the perfect 5th, despite being so "high limit". Just wondering...what are the convergents of 3/2 via your formula?

🔗caleb morgan <calebmrgn@...>

6/13/2010 7:59:01 AM

Yikes. 22/15? (Plays on Pianoteq keyboard.) 1.46666? Hideous if played with a piano sound too low. Heck, even in a high register, it beats like crazy.

On Jun 13, 2010, at 10:50 AM, Michael wrote:

>
> Rick>"Observe that the 'stronger' intervals 5/4 and 19/15 appear more than once and earlier in the wave (since k_2 = 1 = 1st cycle, etc...)."
> Now this is REALLY interesting as it seems to challenge odd limit theory and, perhaps, I've already found evidence that in some cases odd-limit theory does not work ideally. For example, 22/15 I've also found is ideal as an alternative to the perfect 5th, despite being so "high limit". Just wondering...what are the convergents of 3/2 via your formula?
>
>
>

🔗Michael <djtrancendance@...>

6/13/2010 8:25:56 AM

Caleb>"Yikes.
22/15? (Plays on Pianoteq keyboard.) 1.46666? Hideous if played
with a piano sound too low. Heck, even in a high register, it beats
like crazy."
I'm not quite sure that's the most realistic test, since piano timbres are relatively in-harmonic sounds.

Also, if you think that "perfect fifth convergent" sounds tense, try the other alternatives, like 17/11 and 16/11. What then, between about 13/9 and 47/30 would you suggest as an alternative 5th (IE something not within 10 cents of a perfect fifth)? The only other ones I can think that sound relatively ok to me are 50/33 and 13/9.

-Michael

🔗caleb morgan <calebmrgn@...>

6/13/2010 8:52:01 AM

You're right, I'm basing my reaction on the sound of an instrument with harmonic partials.

One of these days, I hope to be able to explore non-harmonic partials, but the big obstacle is sound synthesis.

(I was thinking some combination of Little Miss Scale Oven and Metasynth might be worth trying, for a Mac user.)

Until I can make non-harmonic sounds (not just FM bells, which were already a cliche in the 80's) these intervals just seem out-of-tune to me, and
therefore off-limits. Hence my interest in and surprise at what Sethares has done, I think.

What are you using for synthesis?

Sorry for derail, but clearly, Michael, you're hearing something different from me, using different sounds.

Caleb

On Jun 13, 2010, at 11:25 AM, Michael wrote:

>
>
> Caleb>"Yikes. 22/15? (Plays on Pianoteq keyboard.) 1.46666? Hideous if played with a piano sound too low. Heck, even in a high register, it beats like crazy."
> I'm not quite sure that's the most realistic test, since piano timbres are relatively in-harmonic sounds.
>
> Also, if you think that "perfect fifth convergent" sounds tense, try the other alternatives, like 17/11 and 16/11. What then, between about 13/9 and 47/30 would you suggest as an alternative 5th (IE something not within 10 cents of a perfect fifth)? The only other ones I can think that sound relatively ok to me are 50/33 and 13/9.
>
>
>
> -Michael
>
>
>
>

🔗Michael <djtrancendance@...>

6/13/2010 9:24:34 AM

Me>"I'm not quite sure that's the most realistic test, since piano timbres are relatively in-harmonic sounds. "
Caleb>"You're right, I'm basing my reaction on the sound of an instrument with harmonic partials."
Hehehe...actually, like I said above, I'm saying the piano you tested with leans toward in-harmonic, not harmonic. Try the same ratio with a more harmonic-timbre guitar sound and you'll likely get a far different result (I know I did).
For the in-harmonic piano timbre I found 13/9 AKA 1.44444 to be about the clearest sounding "alternative/convergent" fifth.

-------------------------------------

Caleb>"One of these days, I hope to be able to explore non-harmonic partials, but the big obstacle is sound synthesis."
(completely different topic from said above experiment, which concerned mostly harmonic partial instruments, but)...
If for some odd reason you want in-harmonic partials, I agree using bells is a good way to go. Unless you want to go nuts and use things like the sounds of rocks clashing. :-D

>"Hence my interest in and surprise at what Sethares has done, I think."
Right (as in, for example) he made several tunings based on optimization for bell and (yes) rock timbres.

-----------------------
Caleb>"Sorry for derail, but clearly, Michael, you're hearing something different from me, using different sounds."
Well just for sake of variety, using (as a timbre, for each case)
A) a guitar (harmonic)
B) a piano (fairly non-harmonic)
C) a bell (very non-harmonic)
......which ratios greater than about 12 cents from 3/2 do you see as being good alternative fifths? Obviously, different instruments will yield different results, but I have a feeling some ratios, such as 13/9, will do well "across the board".

_._,___

🔗rick <rick_ballan@...>

6/14/2010 3:11:02 AM

--- In tuning@yahoogroups.com, Michael <djtrancendance@...> wrote:
>
> Rick>"Observe that the 'stronger' intervals 5/4 and 19/15 appear more than
> once and earlier in the wave (since k_2 = 1 = 1st cycle, etc...)."
> Now this is REALLY interesting as it seems to challenge odd limit theory and, perhaps, I've already found evidence that in some cases odd-limit theory does not work ideally. For example, 22/15 I've also found is ideal as an alternative to the perfect 5th, despite being so "high limit". Just wondering...what are the convergents of 3/2 via your formula?
>
Well 3/2 wont so much 'have' convergents but will 'be' convergent to other intervals. But let's try 22/15 to see if 3/2 is one or more of its convergents (I haven't done it before). 22 - 15 = 17 so with a = 22, b = 15, k = 1,2,3,..., then ak/(a - b) and rounding gives p = 3, 6, 9... for the first three, bk/(a - b) gives q = 2, 4, 6. Therefore, p/q = [3/2, 3/2, 3/2,...]. So yes, the wave contains strong maxima at the perfect fifth.

Rick

🔗rick <rick_ballan@...>

6/14/2010 8:50:49 PM

Steve pointed out a typo. I meant to say that the distance from k_1 to k_1 +/- 1 is 1/(a + b) which is half the average cycle.

--- In tuning@yahoogroups.com, Michael <djtrancendance@...> wrote:
>
> Rick>"Observe that the 'stronger' intervals 5/4 and 19/15 appear more than
> once and earlier in the wave (since k_2 = 1 = 1st cycle, etc...)."
> Now this is REALLY interesting as it seems to challenge odd limit theory and, perhaps, I've already found evidence that in some cases odd-limit theory does not work ideally. For example, 22/15 I've also found is ideal as an alternative to the perfect 5th, despite being so "high limit". Just wondering...what are the convergents of 3/2 via your formula?
>