back to list

Feature request for Graham's scripts

🔗Keenan Pepper <keenanpepper@gmail.com>

7/30/2011 10:41:52 AM

The scripts at x31eq.com/temper are so damn useful, but there's one thing I find myself wanting to do that there's no option for. I'd like to be able to search for subgroup temperaments tempering out a given unison vector. For example, I want to be able to put in 121/120 and have it spit out all the 2.3.5.11 temperaments that temper that out, but ignoring the prime 7.

Keenan

🔗Ryan Avella <domeofatonement@yahoo.com>

7/30/2011 2:56:56 PM

--- In tuning-math@yahoogroups.com, "Keenan Pepper" <keenanpepper@...> wrote:
>
> The scripts at x31eq.com/temper are so damn useful, but there's one thing I find myself wanting to do that there's no option for. I'd like to be able to search for subgroup temperaments tempering out a given unison vector. For example, I want to be able to put in 121/120 and have it spit out all the 2.3.5.11 temperaments that temper that out, but ignoring the prime 7.
>
> Keenan
>

I agree, I have the same issue when I am looking for a 2.3.7.11.13 temperament using a specific comma. The first few it shows have good approximations to 5, but I could care less about 5. I just want it to optimize the primes other than 5.

Ryan

🔗Graham Breed <gbreed@gmail.com>

7/31/2011 9:18:53 AM

"Keenan Pepper" <keenanpepper@gmail.com> wrote:
> The scripts at x31eq.com/temper are so damn useful, but
> there's one thing I find myself wanting to do that
> there's no option for. I'd like to be able to search for
> subgroup temperaments tempering out a given unison
> vector. For example, I want to be able to put in 121/120
> and have it spit out all the 2.3.5.11 temperaments that
> temper that out, but ignoring the prime 7.

It's something I've thought about but it generally makes a
mess of the interface. Firstly, there has to be a box to
enter the limit where currently there isn't. There still
has to be a way of assuming a default if the user doesn't
enter anything. Then, the script has to check that the
prime limit is valid for the commas entered, and produce a
readable error if it isn't. And it has to work out what
other limits can be given as options.

Note that the Python modules I used to implement it can
handle other limits, and you can download them and run them
in an interpreter. If you want to improve the CGI I can
send you the source code for that. The unison vector page
is about 130 lines.

Graham

🔗Mike Battaglia <battaglia01@gmail.com>

7/31/2011 8:18:37 PM

On Sun, Jul 31, 2011 at 12:18 PM, Graham Breed <gbreed@gmail.com> wrote:
>
> It's something I've thought about but it generally makes a
> mess of the interface.

Hm...

> Firstly, there has to be a box to
> enter the limit where currently there isn't.

Put your commas in this box:
<form action="/cgi-bin/uv.cgi" method="post">
<div>
<textarea name="uvs" rows="10"></textarea>
</div>
<div>
<input type="text" name="limit">limit</input>
</div>

<input type="submit" value="Submit" />
</form>

:)

>There still has to be a way of assuming a default if the user doesn't
> enter anything.

If the user doesn't enter anything, you could always just have it
default to the full-limit corresponding to the highest prime of any
comma entered, just like they do now.

> Then, the script has to check that the
> prime limit is valid for the commas entered

I can think of some clever ways to do this, but I've been assuming
that you or Gene know some standard, canonical method to figure out if
an element belongs to a group...

> and produce a
> readable error if it isn't. And it has to work out what
> other limits can be given as options.

You could either just have it crash with "invalid limit," and/or then
have it default to the full limit corresponding to the highest prime
entered in any one of the commas.

Just a few suggestions. You said before that you didn't have the time
to do it, but if it's more just a matter of logistics, maybe you'd
find the above suggestions helpful.

-Mike

🔗genewardsmith <genewardsmith@sbcglobal.net>

8/1/2011 12:13:25 PM

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

> I can think of some clever ways to do this, but I've been assuming
> that you or Gene know some standard, canonical method to figure out if
> an element belongs to a group...

I might if I knew what you meant.