In music, a scale is any set of musical notes ordered by fundamental frequency or pitch. A scale ordered by increasing pitch is an ascending scale, while descending scales are ordered by decreasing pitch. Some scales contain different pitches when ascending than when descending (for instance, see Melodic minor scale). Often, especially in the context of the common practice period, part or all of a musical work including melody and/or harmony, is built using the notes of a single scale, which can be conveniently represented on a staff with a standard key signature. Due to the principle of octave equivalence, scales are generally considered to span a single octave, with higher or lower octaves simply repeating the pattern. A musical scale represents a division of the octave space into a certain number of scale steps, a scale step being the recognizable distance (or interval) between two successive notes of the scale. A measure of the width of each scale step provides a method to classify scales. For instance, in a chromatic scale each scale step represents a semitone interval, while a major scale is defined by the interval pattern T–T–S–T–T–T–S, where T stands for whole tone (an interval spanning two semitones), and S stands for semitone. Based on their interval patterns, scales are divided into categories including diatonic, chromatic, major, minor, and others. A specific scale is defined by its characteristic interval pattern and by a special note, known as its first degree (or tonic). The tonic of a scale is the note selected as the beginning of the octave, and therefore as the beginning of the adopted interval pattern. Typically, the name of the scale specifies both its tonic and its interval pattern. For example, C-major indicates a major scale in which C is the tonic.