Diminished/Augmented Interval Classifier
Classify ascending spelled compound intervals by diatonic number and chromatic deviation, distinguishing augmented fourth from diminished fifth at identical semitone count; finite MIDI/domain limits exposed.
Description
Interval number follows letter distance while interval quality follows semitone distance.
Interval number follows letter distance while interval quality follows semitone distance. A tritone may be an augmented fourth or diminished fifth.1
Enter lower/upper scientific notes ascending in both staff index and sounding pitch. Allow diatonic steps 0–28 and semitones0–60. Return number, major/minor/perfect or multiplied augmented/diminished label and span.
When to use Diminished/Augmented Interval Classifier
Use Diminished/Augmented Interval Classifier when you need to evaluate the supplied records under the calculation and evidence rules below. No descending-interval conversion, inversion or harmonic interpretation is supplied.
Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
How to use Diminished/Augmented Interval Classifier and understand its results
- Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
- Enter lowerScientificNote, upperScientificNote using the field table and calculation rules, then run the tool.
- Read diatonicIntervalNumber, intervalQualityLabel, observedSemitoneDistance. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| lowerScientificNote | Lower scientific note | string | Required |
| upperScientificNote | Upper scientific note | string | Required |
Enter lower/upper scientific notes ascending in both staff index and sounding pitch. Allow diatonic steps 0–28 and semitones0–60. Return number, major/minor/perfect or multiplied augmented/diminished label and span.
number=diatonicSteps+1; deviation=semitones−major/perfect expected span Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| diatonicIntervalNumber | Diatonic interval number | number |
| intervalQualityLabel | Interval quality label | string |
| observedSemitoneDistance | Observed semitone distance | number |
{
"input": {
"lowerScientificNote": "C4",
"upperScientificNote": "F#4"
},
"output": {
"diatonicIntervalNumber": 4,
"intervalQualityLabel": "augmented",
"observedSemitoneDistance": 6
}
} Limitations and assumptions
No descending-interval conversion, inversion or harmonic interpretation is supplied.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Counterpoint Consonance Classifier: Elementary two-voice consonance uses spelled interval quality. Perfect fourths require context and are returned separately from accepted consonances. For a complementary task, use Transpose Note By Interval: Spelled transposition specifies both written-letter movement and semitone movement. A semitone shift alone cannot preserve interval spelling.
References
-
Diminished/Augmented Interval Classifier — tool.io
Similar or alternative tools
- Counterpoint Consonance Classifier
Elementary two-voice consonance uses spelled interval quality. Perfect fourths require context and are returned separately from accepted consonances.
- Transpose Note By Interval
Spelled transposition specifies both written-letter movement and semitone movement. A semitone shift alone cannot preserve interval spelling.