Scale/Mode calculator 
Author Message
 Scale/Mode calculator

Hi all,

I've just written a first draft of a scale/mode calculator
in perl. It only has a web-based interface for now, but
I'm going to add a command line interface soon.

    http://www.*-*-*.com/

Here's all the scales and modes that it knows how to do
now:
     I Ionian (major) (wwhwwwh)
     II Dorian (whwwwhw)
     III Phrygian (hwwwhww)
     IV Lydian (wwwhwwh)
     V Mixolydian (wwhwwhw)
     VI Aeolian (rel. minor) (whwwhww)
     VII Locrian (rare) (hwwhwww)
     Diminished w/h (whwhwhwh)
     Diminished h/w (hwhwhwhw)
     Arabian (hhwwwww)
     Harmonic minor (whwwh3h)
     Jazz melodic min ascending (whwwwwh)
     Jazz melodic min descending (whwwwwh)
     Lydian 7b (wwwhwhw)
     Whole tone (wwwwww)
     Blues (3whh3w)
     Maj pentatonic (ww3w3)

You can download the source code if you'd like to play
with it. Send me any bug fixes or enhancements.

Here's what I will be adding soon:

  "periodic table" of scales (from 12 sharps to 12 flats),
  graphically generate scale on staff, keyboard,
    and guitar neck (non standard tunings supported, other
    than 6 strings will be supported too)
  make a .wav or .au file (or midi?) of the scale


Enjoy!
Bill

--

Lovers of Peace and freedom only: http://www.*-*-*.com/

"Protozoa are small, and bacteria are small, but viruses are smaller
than the both put together."



Fri, 15 Jun 2001 03:00:00 GMT  
 Scale/Mode calculator
At 22:01:48 on Mon, 28 Dec 1998, our lives were enlightened by the words
of Bill Huston, as follows:

Quote:
>  "periodic table" of scales (from 12 sharps to 12 flats),
>  graphically generate scale on staff, keyboard,
>    and guitar neck (non standard tunings supported, other
>    than 6 strings will be supported too)
>  make a .wav or .au file (or midi?) of the scale

What will the periodic table look like? Wouldn't you be better off with
a cycle of fifths?

Samuel Hogarth

'It's not my fault, I'm only ickle'

(to reply, replace 'up' with 'down')



Sat, 16 Jun 2001 03:00:00 GMT  
 Scale/Mode calculator

Quote:

> At 22:01:48 on Mon, 28 Dec 1998, our lives were enlightened by the words
> of Bill Huston, as follows:
> >  "periodic table" of scales (from 12 sharps to 12 flats),

> What will the periodic table look like? Wouldn't you be better off
> with a cycle of fifths?

I tried this with key signatures recently. At six sharps/six flats
the cycle of fifths "wraps around" (six sharps and six flats are
enharmonic keys, and seven sharps and five flats are also enharmonic
and vice versa).

Are key signatures beyond seven sharps/flats used at all (in which
case double sharps or double flats would need to be used) or are
they simply avoided by spelling the key signature in an enharmonic
key? I would suspect the latter as I have never seen key signatures
using double sharps or flats.

--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



Sat, 16 Jun 2001 03:00:00 GMT  
 Scale/Mode calculator
One can write in "super-7" keys (like my new term?) but is avoided. If you
are in Db (5 b's) and go into the minor, you'll have, either in the sig or
due to accidentals, a Bbb. If you're in B and you go to the relative minor
(g#), the accidental on the leading tone is Fx. If a modulation to major
occurred, I would sneakily make it Ab minor instead.
Quote:


>> At 22:01:48 on Mon, 28 Dec 1998, our lives were enlightened by the words
>> of Bill Huston, as follows:
>> >  "periodic table" of scales (from 12 sharps to 12 flats),

>> What will the periodic table look like? Wouldn't you be better off
>> with a cycle of fifths?

>I tried this with key signatures recently. At six sharps/six flats
>the cycle of fifths "wraps around" (six sharps and six flats are
>enharmonic keys, and seven sharps and five flats are also enharmonic
>and vice versa).

>Are key signatures beyond seven sharps/flats used at all (in which
>case double sharps or double flats would need to be used) or are
>they simply avoided by spelling the key signature in an enharmonic
>key? I would suspect the latter as I have never seen key signatures
>using double sharps or flats.

>--
>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



Sun, 17 Jun 2001 03:00:00 GMT  
 Scale/Mode calculator
At 22:34:58 on Tue, 29 Dec 1998, our lives were enlightened by the words
of Mike McManus, as follows:
Quote:

>> At 22:01:48 on Mon, 28 Dec 1998, our lives were enlightened by the words
>> of Bill Huston, as follows:
>> >  "periodic table" of scales (from 12 sharps to 12 flats),

>> What will the periodic table look like? Wouldn't you be better off
>> with a cycle of fifths?

>I tried this with key signatures recently. At six sharps/six flats
>the cycle of fifths "wraps around" (six sharps and six flats are
>enharmonic keys, and seven sharps and five flats are also enharmonic
>and vice versa).

>Are key signatures beyond seven sharps/flats used at all (in which
>case double sharps or double flats would need to be used) or are
>they simply avoided by spelling the key signature in an enharmonic
>key? I would suspect the latter as I have never seen key signatures
>using double sharps or flats.

Not used for key signatures as such, AFAIK, but they may be used in
sections of pieces. If you modulate from Gb major to Cb major and then
down another fifth, you would probably go into Fb major - assuming you
weren't planning on staying there very long :-). Check out a piece by
Rachmaninov that starts in G# minor for solo piano - unfortunately I
can't remember the title but someone else may do. It is full of double
accidentals.

Samuel Hogarth

'It's not my fault, I'm only ickle'

(to reply, replace 'up' with 'down')



Sun, 17 Jun 2001 03:00:00 GMT  
 Scale/Mode calculator

Quote:

> Check out a piece by Rachmaninov that starts in G# minor for solo
> piano - unfortunately I can't remember the title but someone else may
> do. It is full of double accidentals.

It's the imaginitively titled "Prelude (in G# minor)" (Op. 32 No. 11)
- and a pretty fine piece it is too :-)

Simon

--
* * * Visit my Rachmaninov website!                                * * *
http://website.lineone.net/~simon_smith/                           * * *

* * *                                ICQ UIN  -  17019720          * * *



Sun, 17 Jun 2001 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Canvas->Scale and Tk::Scale conflict?

2. Enhanced cperl-mode.el (Perl editing mode for Emacs)

3. cperl-mode: Another perl mode for Gnuemacs

4. Character-mode client versus line-mode server

5. converting mode from stat into ls style mode string

6. **Need Calculator Script*

7. How to optimize this? (a check-sum calculator)

8. HP-style calculator in perl

9. Limited form of eval() - just a calculator

10. Date subroutines and calculator

11. Perl as a pocket calculator

12. gtkperl finacial calculator NEW!

 

 
Powered by phpBB® Forum Software