back to list

Re: javascript cents and ratios

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

2/28/2001 11:01:16 PM

Here it is:
http://homepage.ntlworld.com/robertwalker/tree/tree.htm
See the third one, and also added a bit to the meantone scale
section - shows the tempered major and minor thirds, and wolf
thirds in cents, as well as the fifths.

Robert

🔗Graham Breed <graham@microtonal.co.uk>

3/1/2001 2:12:43 AM

Robert wrote:

> Here it is:
> http://homepage.ntlworld.com/robertwalker/tree/tree.htm
> See the third one, and also added a bit to the meantone scale
> section - shows the tempered major and minor thirds, and wolf
> thirds in cents, as well as the fifths.

Is this meant for the FAQ? I don't thing we should be including
JavaScript. There has to be a plain text version to be e-mailed.

One thing. You say

"""
To do this on a calculator, use the formula

ab = exp(b log(a)).

2cents/1200 = exp((cents/1200)*log 2).
"""

(superscripts being lost in the text conversion)

If a newbie does that on a calculator, it won't work. They'll use
common instead of natural logarithms. That should be pointed out.
Something like "if your calculator has an `ln' key, use that instead
of the `log' key".

I have a Java applet to do similar things at
<http://x31eq.com/mos.htm>. At least I think it uses the
same algorithm. I don't seem to have published the source code, but
can dig it out if anybody wants it.

Graham

🔗Haresh BAKSHI <hareshbakshi@hotmail.com>

3/1/2001 3:25:22 AM

--- In tuning@y..., "Graham Breed" <graham@m...> wrote:

.........................
>
> I have a Java applet to do similar things at
> <http://x31eq.com/mos.htm>. At least I think it uses the
> same algorithm. I don't seem to have published the source code, but
> can dig it out if anybody wants it.
>
>
> Graham

Hi Graham, please, if it is not too much trouble.
Thanks.
Haresh.

🔗Graham Breed <graham@microtonal.co.uk>

3/1/2001 4:06:05 AM

Okay, source code should be at <http://x31eq.com/mos.zip>

I think it's up to date.

Graham

--- In tuning@y..., "Haresh BAKSHI" <hareshbakshi@h...> wrote:
> --- In tuning@y..., "Graham Breed" <graham@m...> wrote:
>
> .........................
> >
> > I have a Java applet to do similar things at
> > <http://x31eq.com/mos.htm>. At least I think it uses
the
> > same algorithm. I don't seem to have published the source code,
but
> > can dig it out if anybody wants it.
> >
> >
> > Graham
>
>
> Hi Graham, please, if it is not too much trouble.
> Thanks.
> Haresh.