[LAU] ot-ish: musical scales question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LAU <Linux-audio-user@...>
Date: Monday, July 5, 2010 - 9:40 am

a program i'm making (yes that one) will benefit from knowing about
musical scales. i looked in the source code for non-sequencer (i'll
look at arpage next), and adapted an array there into the following
form:

{ "Major", { 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 }},
{ "Natural Minor", { 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0 }},
{ "Harmonic Minor", { 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1 }},
{ "Melodic Minor", { 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 }},
{ "Major Pentatonic", { 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0 }},
{ "Minor Pentatonic", { 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0 }},
{ "Chromatic", { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }}

(1 means a note is part of that scale, 0 means it is not).

so for C Major:

{ "Major", { 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 }},
c c# d d# e f f# g g# a a# b

(Unless I'm mistaken) all the above scales can be transposed to work
with any key.

Now I'm not very musical, and found my way to wikipedia, specifically this page:

http://en.wikipedia.org/wiki/Whole_tone_scale

Which says "In music, a whole tone scale is a scale in which each note
is separated from its neighbours by the interval of a whole step.
There are only two complementary whole tone scales, both six-note or
hexatonic scales:
* {C, D, E, F♯, G♯, A♯, C}
* {B, D♭, E♭, F, G, A, B}.
"

Which is confusing for me because it seems I can represent it in the array as:

{ "Whole Tone", { 1, 0, 1, 0, 1 ,0, 1, 0, 1, 0, 1, 0 }},

But goes on to say I it is impossible for any key other than "c" or
"b" but the array representation seems to show it could work for any
key.

Can anyone explain?

Cheers,
James.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] ot-ish: musical scales question, James Morris, (Mon Jul 5, 9:40 am)
Re: [LAU] ot-ish: musical scales question, Niels Mayer, (Mon Jul 5, 6:38 pm)
Re: [LAU] ot-ish: musical scales question, James Morris, (Tue Jul 6, 8:54 am)
Re: [LAU] ot-ish: musical scales question, James Morris, (Tue Jul 6, 11:53 am)
Re: [LAU] ot-ish: musical scales question, Niels Mayer, (Tue Jul 6, 3:25 am)
Re: [LAU] ot-ish: musical scales question, Paul Davis, (Tue Jul 6, 11:33 am)
Re: [LAU] ot-ish: musical scales question, Erik de Castro Lopo, (Tue Jul 6, 12:02 pm)
Re: [LAU] ot-ish: musical scales question, Paul Davis, (Tue Jul 6, 4:11 pm)
Re: [LAU] ot-ish: musical scales question, Gabriel M. Beddingfield, (Tue Jul 6, 4:29 pm)
Re: [LAU] ot-ish: musical scales question, Philipp Überbacher, (Mon Jul 5, 5:41 pm)
Re: [LAU] ot-ish: musical scales question, Atte André Jensen, (Mon Jul 5, 9:49 am)
Re: [LAU] ot-ish: musical scales question, James Morris, (Mon Jul 5, 10:27 am)
Re: [LAU] ot-ish: musical scales question, David, (Mon Jul 5, 10:33 am)
Re: [LAU] ot-ish: musical scales question, Dave Phillips, (Mon Jul 5, 11:11 am)
Re: [LAU] ot-ish: musical scales question, R. Mattes, (Mon Jul 5, 9:48 am)
Re: [LAU] ot-ish: musical scales question, Dave Phillips, (Mon Jul 5, 11:07 am)
Re: [LAU] ot-ish: musical scales question, James Morris, (Mon Jul 5, 9:46 am)