C major, #C major, D major, bE major, E major, F major, #F major, G major, bA major, A major, bB Major, B major, and the minor keys C, #C, D, bE, E, F, #F, G, bA, A, bB, B minor with the same tonic, 24 in total.
Western music terminology. The 24 major and minor keys are also called Tonality. Basically, Western music is based on the heptatonic scale. You can understand it from the staff. The notes are arranged in the order between the lines and the spaces. The result is only C, D, E, F, G, A, B. Different sound names.
The commonly used syllables have twelve different tones. This is because the intervals between the above seven tones are not all semitones. Taking the key of C major as an example, the arrangement of C, D, E, F, G, A, B, C* except for the semitone intervals between E, F and B, C*, the intervals between the other notes are all It's whole tone.
Extended information
The twelve equal temperaments are:
Major key: whole and half whole and whole and half
Minor key: whole and half Whole, half, whole and whole
That is to say, there are semitones between EF and BC, and the others are all whole tones, so any one tone can be used as the tonic to form a major or minor key.
C major is: C D E F G A B C;
A minor is: A B C D E F G A;
Similarly, D major is: D E #F G A B #C D;
B minor is: B #C D E #F G A B;
Note that in D major and b minor, there must be #F#C (sharp 4 sharp 1) in order to form twelve equal temperaments. relationship.
C major and a minor have no sharps and flats;
D major and b minor have sharps 4 and 1;
E major, # C minor is sharp 4 sharp 1 sharp 5 sharp 2;
F major, d minor is flat 7;
G major, e minor is sharp 4;
A major, #f minor is sharp 4 sharp, 1 sharp 5;
B major, #g minor is flat 7, flat 3.
Baidu Encyclopedia-Twenty-Four Majors