halfstep
A half step, also called a semitone, is the smallest interval used in most Western tonal music. It is the pitch difference between two adjacent notes, such as C and C-sharp or E and F. In standard equal temperament, a half step corresponds to a frequency ratio of about 2^(1/12) (approximately 1.05946). There are 12 semitones in an octave.
In terms of categorization, semitones can be chromatic or diatonic. A chromatic semitone occurs between notes
The half step is a fundamental unit for building scales, melodies, and harmonies. It defines the pattern
Tuning systems and historical practice can alter the exact size of a semitone. In just intonation or