back to list

Properties of Vals assigned to the Stern-Brocot Tree

🔗Ryan Avella <domeofatonement@yahoo.com>

1/17/2012 6:39:40 PM

Suppose we have three vals, where each of the 3 entries within a val corresponds to the number of generators necessary to reach primes 2/1, 3/1 and 5/1:

V1 = <0 A B|
V2 = <0 C D|
V3 = <0 (A+C) (B+D)|

Where A/B and C/D are a farey pair, and therefore |AD-BC| = 1. These vals can then be assigned to a stern brocot tree, such that V3 is the freshman sum of V1 and V2, and one level below V1 and V2.

The simplest commas being tempered out by each of these are, respectively:
M1 = |* B -A>
M2 = |* D -C>
M3 = |* (B+D) -(C+A)>

Where * represents an unknown power of two.

HYPOTHESIS:
M1 and M2 are both generators for the temperament with comma M3.

PROOF:
What follows is a proof that M1 and M2 are both generators for the temperament which tempers out M3. I will only look at the case of M1 as the generator, because A/B and C/D are interchangeable as farey pairs. Therefore if M1 is a generator, M2 must also be a generator.

Let us define the Identity matrix as the following 3x3 matrix:
(2 3 5)
[0 0 0]
[0 1 0]
[0 0 1]

Where the columns represent powers of 2, 3 and 5, and where the rows represent the number of generators. This matrix represents all possible 5-limit ratios in the 2.3.5 lattice.

If we multiply each entry in the monzo of M1 by each entry in the val V3 (a.k.a. the outer product), this will give us a 3x3 matrix. Now if M1 is a valid generator for the temperament with comma M3, this means that the resulting 3x3 matrix will be identical to the Identity Matrix, with discrepancies accounted for by comma shifts and octave-equivalency. (e.g. in meantone, 81/16 is considered the same as 5/1, and 3/2 is considered to be the same as 3/1)

So to account for these discrepancies caused by comma shifts, we must subtract another 3x3 matrix from the outer product of M1 and V3. We will define this comma-matrix as the outer product between M3 (our comma) and V0, an unknown val.

Therefore we are left with the following equation:
M1V3 - M3V0 = +/- Identity Matrix

As long as we can find a val for V0 which satisfies the above equation, our hypothesis is trivially true. The entries of this val must be integers, however, because the distance between a stack of generators and a prime must be a whole number of commas.

If we substitute -V1 for V0, and skip a couple of simple algebraic steps, we get the following on the left hand side of the equation:

[0 0 0]
[0 J 0]
[0 0 J]

Where J = BC - AD.

As we can see, the absolute value of this matrix is equal to the identity matrix, because we know that J = AD - BC = +/- 1. Therefore our hypothesis is true --- M1 and M2 are both valid generators for the temperament with comma M3.

-Ryan

🔗Ryan Avella <domeofatonement@yahoo.com>

1/18/2012 12:21:57 AM

Mike told me that it is easier to prove this by using the inner product instead of the outer product. So here is the easier proof:

V1 = <0 A B|
V2 = <0 C D|
V3 = <0 (A+C) (B+D)|

M1 = |* B -A>
M2 = |* D -C>
M3 = |* (B+D) -(C+A)>

To prove that M1 is a generator for M3, we can take the inner product to see how many generators it maps to.

<M1|V3> = # Generators
<* B -A|0 (A+C) (B+D)> = #Generators
0 + B(A+C) - A(B+D) = #Generators
AB + BC - AB - AD = #Generators
#Generators = BC - AD
#Generators = +/- 1

Therefore, M1 is a valid generator for the temperament which tempers out M3. And because A/B and C/D are interchangeable farey pairs, M2 is also a valid generator.

-Ryan

🔗gbreed@gmail.com

1/18/2012 1:29:31 AM

That looks right because the Stern-Brocot tree can show generator:period ratios. The prime number three doesn't make it special though. What's your purpose in detailing it here?

Graham

------Original message------
From: Ryan Avella <domeofatonement@yahoo.com>
To: <tuning-math@yahoogroups.com>
Date: Wednesday, January 18, 2012 2:39:40 AM GMT-0000
Subject: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

Suppose we have three vals, where each of the 3 entries within a val corresponds to the number of generators necessary to reach primes 2/1, 3/1 and 5/1:

V1 = <0 A B|
V2 = <0 C D|
V3 = <0 (A+C) (B+D)|

Where A/B and C/D are a farey pair, and therefore |AD-BC| = 1. These vals can then be assigned to a stern brocot tree, such that V3 is the freshman sum of V1 and V2, and one level below V1 and V2.

The simplest commas being tempered out by each of these are, respectively:
M1 = |* B -A>
M2 = |* D -C>
M3 = |* (B+D) -(C+A)>

Where * represents an unknown power of two.

HYPOTHESIS:
M1 and M2 are both generators for the temperament with comma M3.

PROOF:
What follows is a proof that M1 and M2 are both generators for the temperament which tempers out M3. I will only look at the case of M1 as the generator, because A/B and C/D are interchangeable as farey pairs. Therefore if M1 is a generator, M2 must also be a generator.

Let us define the Identity matrix as the following 3x3 matrix:
(2 3 5)
[0 0 0]
[0 1 0]
[0 0 1]

Where the columns represent powers of 2, 3 and 5, and where the rows represent the number of generators. This matrix represents all possible 5-limit ratios in the 2.3.5 lattice.

If we multiply each entry in the monzo of M1 by each entry in the val V3 (a.k.a. the outer product), this will give us a 3x3 matrix. Now if M1 is a valid generator for the temperament with comma M3, this means that the resulting 3x3 matrix will be identical to the Identity Matrix, with discrepancies accounted for by comma shifts and octave-equivalency. (e.g. in meantone, 81/16 is considered the same as 5/1, and 3/2 is considered to be the same as 3/1)

So to account for these discrepancies caused by comma shifts, we must subtract another 3x3 matrix from the outer product of M1 and V3. We will define this comma-matrix as the outer product between M3 (our comma) and V0, an unknown val.

Therefore we are left with the following equation:
M1V3 - M3V0 = +/- Identity Matrix

As long as we can find a val for V0 which satisfies the above equation, our hypothesis is trivially true. The entries of this val must be integers, however, because the distance between a stack of generators and a prime must be a whole number of commas.

If we substitute -V1 for V0, and skip a couple of simple algebraic steps, we get the following on the left hand side of the equation:

[0 0 0]
[0 J 0]
[0 0 J]

Where J = BC - AD.

As we can see, the absolute value of this matrix is equal to the identity matrix, because we know that J = AD - BC = +/- 1. Therefore our hypothesis is true --- M1 and M2 are both valid generators for the temperament with comma M3.

-Ryan

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

Yahoo! Groups Links

🔗Ryan Avella <domeofatonement@yahoo.com>

1/18/2012 10:59:55 AM

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> That looks right because the Stern-Brocot tree can show generator:period ratios. The prime number three doesn't make it special though. What's your purpose in detailing it here?
>
>
> Graham

I'm not sure what you mean about the prime number 3. Are you saying that my choices of primes are arbitrary? Because if that is what you meant to say, you would be correct. I could choose any two primes in addition to 2/1 and still come up with the same results.

I'm not sure what you mean about the generator:period ratios though. As far as I know, the stern-brocot tree is generally used for JI and MOS structures, and has not been used for assigning vals.

-Ryan

🔗Carl Lumma <carl@lumma.org>

1/18/2012 11:22:33 AM

Excellent work! This is handy for a number of things, including
the generalized diatonic search I described recently. -Carl

Ryan wrote: //two posts spliced together

>Suppose we have three vals, where each of the 3 entries within a val
>corresponds to the number of generators necessary to reach primes 2/1,
>3/1 and 5/1:
>
>V1 = <0 A B|
>V2 = <0 C D|
>V3 = <0 (A+C) (B+D)|
>
>Where A/B and C/D are a farey pair, and therefore |AD-BC| = 1. These
>vals can then be assigned to a stern brocot tree, such that V3 is the
>freshman sum of V1 and V2, and one level below V1 and V2.
>
>The simplest commas being tempered out by each of these are, respectively:
>M1 = |* B -A>
>M2 = |* D -C>
>M3 = |* (B+D) -(C+A)>
>
>Where * represents an unknown power of two.
>
>HYPOTHESIS:
>M1 and M2 are both generators for the temperament with comma M3.
>
>PROOF: //splice!
>To prove that M1 is a generator for M3, we can take the inner product
>to see how many generators it maps to.
>
><M1|V3> = # Generators
><* B -A|0 (A+C) (B+D)> = #Generators
>0 + B(A+C) - A(B+D) = #Generators
>AB + BC - AB - AD = #Generators
>#Generators = BC - AD
>#Generators = +/- 1
>
>Therefore, M1 is a valid generator for the temperament which tempers
>out M3. And because A/B and C/D are interchangeable farey pairs, M2
>is also a valid generator.

🔗gbreed@gmail.com

1/18/2012 11:24:56 AM

Yes the Stern-Brocot tree is used with MOS scales. But the generator of a linear temperament is also the generator of an MOS. What you've shown is a special case where the generator matches a prime.

Graham

------Original message------
From: Ryan Avella <domeofatonement@yahoo.com>
To: <tuning-math@yahoogroups.com>
Date: Wednesday, January 18, 2012 6:59:55 PM GMT-0000
Subject: [tuning-math] Re: Properties of Vals assigned to the Stern-Brocot Tree

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> That looks right because the Stern-Brocot tree can show generator:period ratios. The prime number three doesn't make it special though. What's your purpose in detailing it here?
>
>
> Graham

I'm not sure what you mean about the prime number 3. Are you saying that my choices of primes are arbitrary? Because if that is what you meant to say, you would be correct. I could choose any two primes in addition to 2/1 and still come up with the same results.

I'm not sure what you mean about the generator:period ratios though. As far as I know, the stern-brocot tree is generally used for JI and MOS structures, and has not been used for assigning vals.

-Ryan

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

Yahoo! Groups Links

🔗Mike Battaglia <battaglia01@gmail.com>

1/18/2012 5:17:04 PM

On Wed, Jan 18, 2012 at 4:29 AM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> That looks right because the Stern-Brocot tree can show generator:period ratios. The prime number three doesn't make it special though. What's your purpose in detailing it here?

These aren't generator:period ratios, they're monzos. He's taking
octave-equivalent monzos as commas (or 3.5 monzos), and taking the
coefficients for the e3 and e5 basis elements, and then turning them
into e3/e5 fractions on the Stern-Brocot tree. Then he figured out
that, for any pair of ratios which are adjacent on the tree - e.g.
which are a Farey pair - one ratio is a generator for the temperament
that eliminates the other. Which is pretty neat, I think.

I was thinking about how we could extend this to higher-dimensional
temperaments. The interesting thing is that any fractions which are a
Farey pair end up forming a unimodular matrix if you perform the
following operation: if a/b and c/d are a Farey pair, then <|a b> |c
d>| is unimodular.

This opens up the question: does this principle apply for arbitrary
temperaments of arbitrary rank and limit? If you work with 11-limit
octave-inequivalent temperaments, will this still hold for any
collection of commas which forms a unimodular matrix in the same way,
that the ones you don't temper out are generators for the temperament
defined by the ones that you do?

The answer is yes. If you've managed to form a unimodular matrix,
you've managed to form something that has a valid basis for the entire
limit, without any saturation or contorsion issues, by definition. So
if you take a collection of monzos in the p-limit that forms such a JI
basis, and then you temper out some number of them, the remaning ones
can generate the rest of the JI lattice besides the things you just
tempered out by definition.

So it's a very neat concept. Yay unimodularity!

-Mike

🔗gbreed@gmail.com

1/18/2012 11:35:53 PM

I know exactly what he did and I explained why it works. I also know how to find the generator:period ratio for an arbitrary pair of vals. What I don't see is a question that needs a new answer

Graham

------Original message------
From: Mike Battaglia <battaglia01@gmail.com>
To: <tuning-math@yahoogroups.com>
Date: Wednesday, January 18, 2012 8:17:04 PM GMT-0500
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

On Wed, Jan 18, 2012 at 4:29 AM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> That looks right because the Stern-Brocot tree can show generator:period ratios. The prime number three doesn't make it special though. What's your purpose in detailing it here?

These aren't generator:period ratios, they're monzos. He's taking
octave-equivalent monzos as commas (or 3.5 monzos), and taking the
coefficients for the e3 and e5 basis elements, and then turning them
into e3/e5 fractions on the Stern-Brocot tree. Then he figured out
that, for any pair of ratios which are adjacent on the tree - e.g.
which are a Farey pair - one ratio is a generator for the temperament
that eliminates the other. Which is pretty neat, I think.

I was thinking about how we could extend this to higher-dimensional
temperaments. The interesting thing is that any fractions which are a
Farey pair end up forming a unimodular matrix if you perform the
following operation: if a/b and c/d are a Farey pair, then <|a b> |c
d>| is unimodular.

This opens up the question: does this principle apply for arbitrary
temperaments of arbitrary rank and limit? If you work with 11-limit
octave-inequivalent temperaments, will this still hold for any
collection of commas which forms a unimodular matrix in the same way,
that the ones you don't temper out are generators for the temperament
defined by the ones that you do?

The answer is yes. If you've managed to form a unimodular matrix,
you've managed to form something that has a valid basis for the entire
limit, without any saturation or contorsion issues, by definition. So
if you take a collection of monzos in the p-limit that forms such a JI
basis, and then you temper out some number of them, the remaning ones
can generate the rest of the JI lattice besides the things you just
tempered out by definition.

So it's a very neat concept. Yay unimodularity!

-Mike

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

Yahoo! Groups Links

🔗genewardsmith <genewardsmith@sbcglobal.net>

1/19/2012 12:27:35 AM

--- In tuning-math@yahoogroups.com, Mike Battaglia <battaglia01@...> wrote:

> The answer is yes. If you've managed to form a unimodular matrix,
> you've managed to form something that has a valid basis for the entire
> limit, without any saturation or contorsion issues, by definition. So
> if you take a collection of monzos in the p-limit that forms such a JI
> basis, and then you temper out some number of them, the remaning ones
> can generate the rest of the JI lattice besides the things you just
> tempered out by definition.
>
> So it's a very neat concept. Yay unimodularity!

There are a bunch of postings on this sort of thing in the archives of this list. If someone wants to experiment with this, an example would be the comma list [441/440, 896/891, 176/175, 540/539, 385/384]. Take the monzo matrix for this, invert it, and transpose, and you get the patent val list [22, 31, 41, 46, 58]. So, for example, 22&31 gives orwell, and referring to the comma list, we see it must have 176/175, 540/539 and 385/384 as commas, and 441/440 and 896/891 as generators.

🔗Mike Battaglia <battaglia01@gmail.com>

1/19/2012 12:35:54 AM

On Thu, Jan 19, 2012 at 2:35 AM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> I know exactly what he did and I explained why it works.

It seemed like you were saying that he was only showing cases where
generators match primes, but I don't see how that's true. How can
looking at octave-equivalent commas and plotting them on the
Stern-Brocot tree only yield generators that match primes? What about
something like porcupine?

> I also know how to find the generator:period ratio for an arbitrary pair of vals.

I don't get this either. An arbitrary pair of vals ought to be able to
have any generator:period ratio, shouldn't it? I can tune the
generator to the pair of vals |<1 1 0| <0 1 4|> to anything I want.

> What I don't see is a question that needs a new answer

Well, that's two above for you.

-Mike

🔗Ryan Avella <domeofatonement@yahoo.com>

1/19/2012 12:51:12 AM

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> I know exactly what he did and I explained why it works. I also know how to find the generator:period ratio for an arbitrary pair of vals. What I don't see is a question that needs a new answer
>
>
> Graham

What do you mean by "generator:period" ratio? I never mentioned the word "period" once in my post, and I don't see what that has to do with anything at all.

Ryan

🔗gbreed@gmail.com

1/19/2012 1:17:25 AM

For the strict case of a linear temperament, the period equals the octave. Sometimes, though, the octave gets divided into equal parts called periods. Try 10&12. You'll get a two where you expected a one but follow it through.

Graham

------Original message------
From: Ryan Avella <domeofatonement@yahoo.com>
To: <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 8:51:12 AM GMT-0000
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> I know exactly what he did and I explained why it works. I also know how to find the generator:period ratio for an arbitrary pair of vals. What I don't see is a question that needs a new answer
>
>
> Graham

What do you mean by "generator:period" ratio? I never mentioned the word "period" once in my post, and I don't see what that has to do with anything at all.

Ryan

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

Yahoo! Groups Links

🔗gbreed@gmail.com

1/19/2012 1:22:12 AM

The special case he defined is where the generator is a prime. If you know the rules for the general case, the validity of the special case is obvious.

Graham

------Original message------
From: Mike Battaglia <battaglia01@gmail.com>
To: <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 3:35:54 AM GMT-0500
Subject: Re: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

On Thu, Jan 19, 2012 at 2:35 AM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> I know exactly what he did and I explained why it works.

It seemed like you were saying that he was only showing cases where
generators match primes, but I don't see how that's true. How can
looking at octave-equivalent commas and plotting them on the
Stern-Brocot tree only yield generators that match primes? What about
something like porcupine?

> I also know how to find the generator:period ratio for an arbitrary pair of vals.

I don't get this either. An arbitrary pair of vals ought to be able to
have any generator:period ratio, shouldn't it? I can tune the
generator to the pair of vals |<1 1 0| <0 1 4|> to anything I want.

> What I don't see is a question that needs a new answer

Well, that's two above for you.

-Mike

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

Yahoo! Groups Links

🔗Ryan Avella <domeofatonement@yahoo.com>

1/19/2012 1:39:28 AM

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> The special case he defined is where the generator is a prime. If you know the rules for the general case, the validity of the special case is obvious.
>
>
> Graham

I am not sure why you keep insisting that my case is a special case with primes. But here is an example where the generator is not a prime:

On the Stern-Brocot tree, we can assign Bug to the position 2/3 and Porcupine to the position 3/5. Porcupine is thus the "child" of Bug. Therefore, according to the theorem, 250/243 is a valid generator for Bug, and 27/25 is a valid generator for Porcupine. Neither of these generators are primes however.

Ryan

🔗Mike Battaglia <battaglia01@gmail.com>

1/19/2012 1:43:44 AM

On Thu, Jan 19, 2012 at 4:22 AM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> The special case he defined is where the generator is a prime. If you know the rules for the general case, the validity of the special case is obvious.

I still don't get why you say this. He noted that for any two
octave-equivalent, 5-limit commas, if you assign commas like |* a b>
to fractions of the form b/a on the Stern-Brocot tree, that any two
fractions which are adjacent have the relationship that the monzo
defined by one is a generator for the temperament defined by the monzo
defined by the other. Which is true, because the more general rule is
that the two underlying monzos will form a unimodular matrix, and
everything I said in my initial reply to you still holds.

So I don't see what generators having to be primes has to do with
anything. Ryan noticed this pattern for the limited special case of
octave-equivalent, 5-limit monzos, which can be expressed by 2
coordinates, but this is true in general for any set of monzos which
defines a unimodular matrix. For octave-equivalent, 5-limit monzos,
which is what Ryan's example was, it holds even if you're comparing
non-prime monzos, like porcupine and bug temperament - porcupine being
a "child" of bug on the SB tree. 27/25 is a generator of the
temperament that eliminates 250/243, and 250/243 is a generator of the
temperament that eliminates 27/25. What generator here is a prime?

-Mike

🔗gbreed@gmail.com

1/19/2012 5:23:16 AM

Sorry, I wasn't reading carefully. Your condition is |AD - BC| = 1 and I'm not sure what that means. I don't know why you have vals with an octave part of zero. It looks like you define A/B and C/D to be generator/period ratios but it can't be that. I'm back to a position of not understanding.

Graham

------Original message------
From: Ryan Avella <domeofatonement@yahoo.com>
To: <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 9:39:28 AM GMT-0000
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> The special case he defined is where the generator is a prime. If you know the rules for the general case, the validity of the special case is obvious.
>
>
> Graham

I am not sure why you keep insisting that my case is a special case with primes. But here is an example where the generator is not a prime:

On the Stern-Brocot tree, we can assign Bug to the position 2/3 and Porcupine to the position 3/5. Porcupine is thus the "child" of Bug. Therefore, according to the theorem, 250/243 is a valid generator for Bug, and 27/25 is a valid generator for Porcupine. Neither of these generators are primes however.

Ryan

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

Yahoo! Groups Links

🔗gbreed@gmail.com

1/19/2012 6:00:07 AM

Oh I think I get it again. V3 is the generator mapping and M1 is the unison vector. Then you look for a vector of a single generator step and show that it's tied to the SB tree.
That is clever. Vals have been linked to the SB tree but not like this.

Graham

------Original message------
From: Ryan Avella <domeofatonement@yahoo.com>
To: <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 9:39:28 AM GMT-0000
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> The special case he defined is where the generator is a prime. If you know the rules for the general case, the validity of the special case is obvious.
>
>
> Graham

I am not sure why you keep insisting that my case is a special case with primes. But here is an example where the generator is not a prime:

On the Stern-Brocot tree, we can assign Bug to the position 2/3 and Porcupine to the position 3/5. Porcupine is thus the "child" of Bug. Therefore, according to the theorem, 250/243 is a valid generator for Bug, and 27/25 is a valid generator for Porcupine. Neither of these generators are primes however.

Ryan

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

Yahoo! Groups Links

🔗genewardsmith <genewardsmith@sbcglobal.net>

1/19/2012 10:11:36 AM

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> Oh I think I get it again. V3 is the generator mapping and M1 is the unison vector. Then you look for a vector of a single generator step and show that it's tied to the SB tree.
> That is clever. Vals have been linked to the SB tree but not like this.

You don't actually need link to the SB tree to extract commas from the generator list; you can use the wedgie method from here:
http://xenharmonic.wikispaces.com/The+wedgie
or linear algebra methods.

Suppose we want to find the comma for the chain <0 1 4|. We can look at a basis for what is tempered out, {2, 81/5}. We can octave-reduce 81/5 to 81/80, and ditch the 2, and there we are. This works just as well for <0 1 4 10|, etc. Alternatively, we can wedge <1 log2(3) log2(5)| with <0 1 4|, getting <<1 4 4.0179||; rounding that off gives <<1 4 4||, and taking the dual gives |4 -4 1>. Again, it extends to higher limits, except now you just keep the wedgie. I've gotten the two provably complete temperament lists (with more to come) using this sort of thing.

🔗gbreed@gmail.com

1/19/2012 12:36:02 PM

Yes, I thought we'd both known that for several years. What's new here is the algorithm for finding a single generator. You can derive it algebraically but it's clever that it relates to the tree. I'm not sure how it generalizes to higher dimensions.

Graham

------Original message------
From: genewardsmith <genewardsmith@sbcglobal.net>
To: <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 6:11:36 PM GMT-0000
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

--- In tuning-math@yahoogroups.com, "gbreed@..." <gbreed@...> wrote:
>
> Oh I think I get it again. V3 is the generator mapping and M1 is the unison vector. Then you look for a vector of a single generator step and show that it's tied to the SB tree.
> That is clever. Vals have been linked to the SB tree but not like this.

You don't actually need link to the SB tree to extract commas from the generator list; you can use the wedgie method from here:
http://xenharmonic.wikispaces.com/The+wedgie
or linear algebra methods.

Suppose we want to find the comma for the chain <0 1 4|. We can look at a basis for what is tempered out, {2, 81/5}. We can octave-reduce 81/5 to 81/80, and ditch the 2, and there we are. This works just as well for <0 1 4 10|, etc. Alternatively, we can wedge <1 log2(3) log2(5)| with <0 1 4|, getting <<1 4 4.0179||; rounding that off gives <<1 4 4||, and taking the dual gives |4 -4 1>. Again, it extends to higher limits, except now you just keep the wedgie. I've gotten the two provably complete temperament lists (with more to come) using this sort of thing.

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

Yahoo! Groups Links

🔗Mike Battaglia <battaglia01@gmail.com>

1/19/2012 1:00:21 PM

On Jan 19, 2012, at 3:36 PM, "gbreed@gmail.com" <gbreed@gmail.com> wrote:

Yes, I thought we'd both known that for several years. What's new here is
the algorithm for finding a single generator. You can derive it
algebraically but it's clever that it relates to the tree. I'm not sure how
it generalizes to higher dimensions.

See my response about unimodularity.

-Mike

🔗gbreed@gmail.com

1/19/2012 1:34:28 PM

Unimodular matrices are another old idea. They give you a new basis for JI. I think Gene called them a notation.
You'll have to remind me if there was anything else in one of your messages. I've got a small screen. It's easy to miss things.

Graham

------Original message------
From: Mike Battaglia <battaglia01@gmail.com>
To: "tuning-math@yahoogroups.com" <tuning-math@yahoogroups.com>
Date: Thursday, January 19, 2012 4:00:21 PM GMT-0500
Subject: Re: [tuning-math] Properties of Vals assigned to the Stern-Brocot Tree

On Jan 19, 2012, at 3:36 PM, "gbreed@gmail.com" <gbreed@gmail.com> wrote:

Yes, I thought we'd both known that for several years. What's new here is
the algorithm for finding a single generator. You can derive it
algebraically but it's clever that it relates to the tree. I'm not sure how
it generalizes to higher dimensions.

See my response about unimodularity.

-Mike

🔗Mike Battaglia <battaglia01@gmail.com>

1/19/2012 1:59:55 PM

On Thu, Jan 19, 2012 at 4:34 PM, gbreed@gmail.com <gbreed@gmail.com> wrote:
>
> Unimodular matrices are another old idea. They give you a new basis for JI. I think Gene called them a notation.
> You'll have to remind me if there was anything else in one of your messages. I've got a small screen. It's easy to miss things.

I was just pointing out that the reason that Ryan's idea worked is
that if you treat the coefficients of each fraction as a column
vector, and then you concatenate two any two adjacent SB tree
fractions into a square matrix, the square matrix will be unimodular.
This means they're a basis for all of JI. So if you then "temper out"
one of these column vectors, the other one will still generate all of
JI minus the thing you just tempered out. So the remaining vector will
serve as a generator for the temperament defined by the vector you
tempered out.

This is why Ryan's example works, but it applies to any unimodular
matrix at all, not just the SB tree.

-Mike

🔗Ryan Avella <domeofatonement@yahoo.com>

1/21/2012 3:17:22 PM

> I was just pointing out that the reason that Ryan's idea worked is
> that if you treat the coefficients of each fraction as a column
> vector, and then you concatenate two any two adjacent SB tree
> fractions into a square matrix, the square matrix will be unimodular.
> This means they're a basis for all of JI. So if you then "temper out"
> one of these column vectors, the other one will still generate all of
> JI minus the thing you just tempered out. So the remaining vector will
> serve as a generator for the temperament defined by the vector you
> tempered out.
>
> This is why Ryan's example works, but it applies to any unimodular
> matrix at all, not just the SB tree.
>
> -Mike
>

I'd be interested in seeing how this generalizes to the 7-limit. Right now it is very simple because we only have two entries in the val to worry about - e3 and e5, which can be turned into a fraction on a SB-tree. A 3-dimensional SB tree might be possible for the 7-limit, but I am not sure what it would look like.

-Ryan

🔗genewardsmith <genewardsmith@sbcglobal.net>

1/21/2012 4:20:12 PM

--- In tuning-math@yahoogroups.com, "Ryan Avella" <domeofatonement@...> wrote:

> I'd be interested in seeing how this generalizes to the 7-limit. Right now it is very simple because we only have two entries in the val to worry about - e3 and e5, which can be turned into a fraction on a SB-tree. A 3-dimensional SB tree might be possible for the 7-limit, but I am not sure what it would look like.

Can you find three 7-limit linear temperaments A, B, C such that the octave equivalent part of the wedgie is <<a1 a2 a3...|| for A, <<b1 b2 b3 ...|| for B, and <<c1 c2 c3 ...|| for C, and the matrix

[[a1 a2 a3], [b1, b2, b3], [c1 c2 c3]]

is unimodular?

🔗genewardsmith <genewardsmith@sbcglobal.net>

1/22/2012 5:00:24 AM

--- In tuning-math@yahoogroups.com, "genewardsmith" <genewardsmith@...> wrote:

> Can you find three 7-limit linear temperaments A, B, C such that the octave equivalent part of the wedgie is <<a1 a2 a3...|| for A, <<b1 b2 b3 ...|| for B, and <<c1 c2 c3 ...|| for C, and the matrix
>
> [[a1 a2 a3], [b1, b2, b3], [c1 c2 c3]]
>
> is unimodular?

I've cooked up an actual example:

A = <<1 4 10 4 13 12||
B = <<3 5 -6 1 -18 -28||
C = <<3 6 -1 3 -10 -19||

C is a fairly dubious temperament, tempering out 10/9 and 1029/1024, but finding examples is not so easy.

Form a unimodular matrix:

[<1 4 10|, <3 5 -6|, <3 6 -1|]

Take the transpose-inverse:

[|31 -15 3>, |64 -31 6>, |-74 36 -7>]

Add in octaves:

[|-21 31 -15 3>, |-46 64 -31 6>, |53 -74 36 -7>]

These three monzos have the property that each is a generator for one temperament, with the last two a torsional basis for the commas of meantone. With other choices for the octave parts, you can similarly get torsional bases for the other two.