back to list

need formula for stretch-tuning

🔗Monz <MONZ@JUNO.COM>

9/29/2000 8:53:15 PM

The following values are taken from the stretch-tuning chart
in the _Rhodes Keyboard Instruments USA Service Manual_,
(c) 1979, which came with my Rhodes electric piano.

The letter-name with the number immediately after the
letter-name indicates the 'MIDI-note' number, and the
+/- value after it is the amount of tuning deviation
from 12-tET, in cents. 'A5' is supposed to be A440 Hz,
and 'C5' is 'middle-C'.

The _Rhodes Service Manual_ gives these numbers with
a graph which shows the amount of detuning, and it looks
to me like calculus could be used to obtain the formula.
The graph clearly shows an analog type of progression in
the deviation from 12-tET, while the actual cent values
have been rounded to the nearest cent, or the nearest
0.5 cent in a few cases.

I'm interested in deriving the formula to calculate these
values, so that I can apply the same procedure to JI notes
and create a stretch-JI tuning. Would a mathematician
out there please provide it? Thanks.

Rhodes Service Manual
Stretch Tuning chart

C9 +30
B8 +27
A#8 +25
A8 +23
G#8 +21
G8 +19
F#8 +17
F8 +15
E8 +13
D#8 +12
D8 +11
C#8 +10
C8 +9
B7 +8
A#7 +7
A7 +6
G#7 +6
G7 +5
F#7 +5
F7 +4
E7 +4
D#7 +3
D7 +3
C#7 +3
C7 +2
B6 +2
A#6 +2
A6 +2
G#6 +2
G6 +1
F#6 +1
F6 +1
E6 +1
D#6 +1
D6 0
C#6 0
C6 0
B5 0
A#5 0
A5 0
G#5 -1
G5 -1
F#5 -1
F5 -1
E5 -1
D#5 -1.5
D5 -2
C#5 -2
C5 -2
B4 -2
A#4 -2
A4 -2
G#4 -2
G4 -2.5
F#4 -2.5
F4 -3
E4 -3
D#4 -3
D4 -3
C#4 -3
C4 -3
B3 -3
A#3 -3
A3 -3
G#3 -3
G3 -4
F#3 -4
F3 -4
E3 -4
D#3 -4
D3 -5
C#3 -5
C3 -6
B2 -6
A#2 -7
A2 -8
G#2 -9
G2 -10
F#2 -11
F2 -12
E2 -13
D#2 -14
D2 -15
C#2 -16
C2 -17
B1 -18
A#1 -19
A1 -20

-monz
http://www.ixpres.com/interval/monzo/homepage.html

🔗Monz <MONZ@JUNO.COM>

9/29/2000 9:18:58 PM

--- In tuning@egroups.com, " Monz" <MONZ@J...> wrote:
> http://www.egroups.com/message/tuning/13830
>
> The following values are taken from the stretch-tuning chart
> in the _Rhodes Keyboard Instruments USA Service Manual_,
> (c) 1979, which came with my Rhodes electric piano.

Figuring that someone familiar with calculus might recognize
the key to the formula quickly by seeing a graph of the values,
I made one and uploaded it to:

http://www.egroups.com/files/tuning/monz/rhodes.jpg

Thanks.

-monz
http://www.ixpres.com/interval/monzo/homepage.html

🔗Monz <MONZ@JUNO.COM>

9/30/2000 2:36:05 PM

--- In tuning@egroups.com, " Monz" <MONZ@J...> wrote:
> http://www.egroups.com/message/tuning/13830
>
> The graph clearly shows an analog type of progression in
> the deviation from 12-tET, while the actual cent values
> have been rounded to the nearest cent, or the nearest
> 0.5 cent in a few cases.
>
> I'm interested in deriving the formula to calculate these
> values, so that I can apply the same procedure to JI notes
> and create a stretch-JI tuning. Would a mathematician
> out there please provide it? Thanks.

I wanted to point out that it's not necessary to calibrate the
formula to produce the rounded results. I'm interested in using
MIDI pitch-bend for this, which has far finer resolution than
cents (4096 units per semitone, rather than 100).

So if the formula agrees with the analog shape on the graph,
I'd prefer to retain the actual results rather than round them off.

The graph is at:
http://www.egroups.com/files/tuning/monz/rhodes.jpg

-monz
http://www.ixpres.com/interval/monzo/homepage.html

🔗Allan Myhara <amyhara@mb.sympatico.ca>

9/30/2000 5:46:21 PM

Hello!
A rare opportunity for me to contribute here! If you re-label the
horizontal axis as -48, -36, -24, -12, 0, 12, 24, 36, 48 then you can
use exponential functions and an accurate formulation is exp^0.085 -
exp^-0.062. I hope this is useful to you!

" Monz" wrote:
> > The following values are taken from the stretch-tuning chart
> > in the _Rhodes Keyboard Instruments USA Service Manual_,
> > (c) 1979, which came with my Rhodes electric piano.
>
>
> Figuring that someone familiar with calculus might recognize
> the key to the formula quickly by seeing a graph of the values,
> I made one and uploaded it to:
>
> http://www.egroups.com/files/tuning/monz/rhodes.jpg
>
> Thanks
--
Bye for now

Allan Myhara
Winnipeg, Manitoba, Canada

🔗Monz <MONZ@JUNO.COM>

10/1/2000 12:08:43 AM

Thanks Allan! But... I still don't understand how to use this
information. I'm using Microsoft Excel to compute the values.

'exp' means 'e' raised to the powers 0.085 to -0.062, right?

Can you please explain how the numbers '-48' to '48' fit into
the formula, and how I use the range from '0.085' to '-0.062'?
Does that decrement in some way?

When I use the Excel formula EXP(x), where 'x' is the decremented
range from 0.085 to -0.062, I get ratios with cents-values that
are quite a bit larger than those on the graph, and the the
graph of these values is linear, which is not the case with the
values given in the Rhodes manual. And, the 'horizontal axis'
numbers 48 to -48 are not part of the calculation.

???

Thanks.

-monz

--- In tuning@egroups.com, Allan Myhara <amyhara@m...> wrote:
> http://www.egroups.com/message/tuning/13863
>
> Hello!
> A rare opportunity for me to contribute here! If you
> re-label the horizontal axis as -48, -36, -24, -12, 0, 12, 24,
> 36, 48 then you can use exponential functions and an accurate
> formulation is exp^0.085 - exp^-0.062. I hope this is useful
> to you!
>
> " Monz" wrote:
> > > The following values are taken from the stretch-tuning chart
> > > in the _Rhodes Keyboard Instruments USA Service Manual_,
> > > (c) 1979, which came with my Rhodes electric piano.
> >
> >
> > Figuring that someone familiar with calculus might recognize
> > the key to the formula quickly by seeing a graph of the values,
> > I made one and uploaded it to:
> >
> > http://www.egroups.com/files/tuning/monz/rhodes.jpg

-monz
http://www.ixpres.com/interval/monzo/homepage.html

🔗Allan Myhara <amyhara@mb.sympatico.ca>

10/1/2000 8:43:52 AM

From: " Monz" <MONZ@JUNO.COM>

> Thanks Allan! But... I still don't understand how to use this
> information. I'm using Microsoft Excel to compute the values.
>
> 'exp' means 'e' raised to the powers 0.085 to -0.062, right?

I just looked at what I sent. Sorry, the formula should have been
e^0.085x - e^-0.062x. I neglected to type the variable, x. Yes, e raised
to those powers, the products of the constants and the variable. I
didn't mean to imply a range of values. There are two exponentials in
the function: e^0.085x minus e^-0.062x. Simply feed it the numbers -48
to 48.

> Can you please explain how the numbers '-48' to '48' fit into
> the formula, and how I use the range from '0.085' to '-0.062'?
> Does that decrement in some way?
>
> When I use the Excel formula EXP(x), where 'x' is the decremented
> range from 0.085 to -0.062, I get ratios with cents-values that
> are quite a bit larger than those on the graph, and the the
> graph of these values is linear, which is not the case with the
> values given in the Rhodes manual. And, the 'horizontal axis'
> numbers 48 to -48 are not part of the calculation.
>
> ???
--
Bye for now

Allan Myhara
Winnipeg, Manitoba, Canada

🔗Monz <MONZ@JUNO.COM>

10/1/2000 2:10:24 PM

--- In tuning@egroups.com, Allan Myhara <amyhara@m...> wrote:
> http://www.egroups.com/message/tuning/13879
>
> I just looked at what I sent. Sorry, the formula should have
> been e^0.085x - e^-0.062x. I neglected to type the variable, x.
> Yes, e raised to those powers, the products of the constants
> and the variable. I didn't mean to imply a range of values.
> There are two exponentials in the function: e^0.085x minus
> e^-0.062x. Simply feed it the numbers -48 to 48.

Thanks, Allan! It fits the Rhodes numbers like a glove!!

If one numbers the variable _x_ from 1 to 88, as piano keys,
then the precise formula in Excel format is:

=EXP(0.085*(x-48))-EXP(-0.062*(x-48))

In Excel, 'EXP()' means 'e^'.

Would you mind explaining to us how you derived it, step by
step? I need it in 'remedial calculus 001'.

In case anyone's wondering why I wanted this: be on the lookout
for a new retuning of an old piece I did originally in 12-tET.
It features a piano timbre, so it's going to be retuned in a
stretch pseudo-JI.

I need the formula so that after I calculate the amount of
MIDI pitch-bend to add or subtract from the 12-tET MIDI-note
number, I can simply plug these in as the variables in Allan's
formula to get the amount of additional pitch-bend needed for
the proper amount of stretch.

-monz
http://www.ixpres.com/interval/monzo/homepage.html

🔗Allan Myhara <amyhara@mb.sympatico.ca>

10/1/2000 5:05:54 PM

Monz wrote:

> > I just looked at what I sent. Sorry, the formula should have
> > been e^0.085x - e^-0.062x. I neglected to type the variable, x.
> > Yes, e raised to those powers, the products of the constants
> > and the variable. I didn't mean to imply a range of values.
> > There are two exponentials in the function: e^0.085x minus
> > e^-0.062x. Simply feed it the numbers -48 to 48.

> Thanks, Allan! It fits the Rhodes numbers like a glove!!

I thought it should do quite well.

> If one numbers the variable _x_ from 1 to 88, as piano keys,
> then the precise formula in Excel format is:
>
> =EXP(0.085*(x-48))-EXP(-0.062*(x-48))
>
> In Excel, 'EXP()' means 'e^'.
>
> Would you mind explaining to us how you derived it, step by
> step? I need it in 'remedial calculus 001'.

I really didn't have to apply any calculus (although exponentials are
quite common in calculus). At first I thought of approximating it with
polynomials, but I soon realized that the horizontal axis was labelled
arbitrarily and that the shape of the graph was an exponential function
on both sides of the graph from the zero crossing point from which the
graph trends negative to the left and positive to the right. An
exponential function, on its own, never decreases to zero nor is ever
negative, it can only get really small as its exponent gets negatively
big. (But it can be forced negative by multiplying it by -1, in other
words by putting a minus sign in front of it.) So, setting the variable
to -48, the positive term, with its negative exponent, could be ignored
as I adjusted the constant in the exponent of the negative term, with
its positive exponent, to make the negative term agree with the left end
of the graph. Then, setting the variable to +40, I followed the same
procedure with the positive term, ignoring the contribution of the
negative term. After finding suitable constants, I plugged in the
different variable values of -36 through +36 into the two term function
to see if it matched the numbers indicated by the graph, and lo and
behold, it looked nice. Of course this is a just-so-story, things like
this are not reasoned out quite so smoothly!

> In case anyone's wondering why I wanted this: be on the lookout
> for a new retuning of an old piece I did originally in 12-tET.
> It features a piano timbre, so it's going to be retuned in a
> stretch pseudo-JI.
>
> I need the formula so that after I calculate the amount of
> MIDI pitch-bend to add or subtract from the 12-tET MIDI-note
> number, I can simply plug these in as the variables in Allan's
> formula to get the amount of additional pitch-bend needed for
> the proper amount of stretch.

--
Bye for now

Allan Myhara
Winnipeg, Manitoba, Canada