Answer:
For the diatonic scales, there are 7 different notes, but 8 if you count the upper octave, whatever it happens to be. This is independent of the color of the keys, since the major scale can start on any of the 12 distinct notes/keys on the keyboard.
C D E F G A B C
1 2 3 4 5 6 7
There are (as noted in the discussion) 12 distinct notes in a chromatic octave of the standard western scale, 13 if you count the lower and upper octave notes. This arrangement represents a compromise arrived at over centuries, and need for the compromise stems basically from the fact that when using a circle of fourths and fifths to tune notes, it is physically impossible to tune every note as a perfect interval. Several different tuning systems have been developed over the years, but western musics have generally settled on the equal
temperament made popular by Bach.
_______________________________________________________________
New Answer By 7D8f Octavian:
If you arranged the TEN NATURAL fingers in two rows they would look thus:
________L Index_____L Ring_____R Little_____R Middle
L Thumb_____L Middle_____L Little_____R Ring_____R Index_____R Thumb
Left little finger is in the LOWER row
Right little finger is in the UPPER row
If you call the little finger as DEVIL there are TWO DEVILS !
You call the lower row fingers as "NATURALS"
and the UPPER ROW fingers as "ACCIDENTALS"!
WONDERFUL, MOST 'SCIENTIFIC', "OCCIDENTALS" YOU ARE !!!
If you arranged the FOURTEEN NATURAL notes in two rows they would be :
____d_____e_____f_____g_____a_____b
C1____D_____E_____F_____G_____A_____B_____C2
If you call the seventh note as DEVIL, there are TWO DEVILS
For, the seventh note leftwards from the right C2 is g ( diminished fifth)
{C1____D____E____F } is the DIATONIC (WHITE) TRITONE 45/32
Conversely
{ C2____b____a____g }is the CHROMATIC (BLACK) TRITONE 64/45
2 divided by 64/45 is 45/32 and 2 divided by 45/32 is 64/45
If you call 45/32 as devil 64/45 is EQUALLY DEVIL, too
In Indian music both of them are DIVINES
45/32 is called the KALYANI Madhyama and
64/45 is called the VARALI Madhyama
The Indians learnt from your KEYBOARD (HARMONIUM)
But you have maimed and mangled your keyboard and
your Christian music and now are learning from the Indian "Karnatic" musicians
who are the products of
TAMIL ONAMAOPOEIC MONOSYLLABLES ( Sa-Ri-Ga-Ma-Pa-Dha-Ni)
and the western twelve note keyboard and fretboard
but will store their every new knowledge in the "Bharata's Natya Sastra"
and throw it back in time as many millenniums as possible
WHAT AN IRONY !
P.S. Please visit "divinity-musicalkeyboard.blogspot.com' and
VDDdayalan's channel in You Tube