Counterpoint Consonance Classifier
Screen ascending spelled intervals under elementary two-voice consonance convention; fourth remains context-dependent with bass role explicit, not universal counterpoint legality or enharmonic interval collapse.
Description
Elementary two-voice consonance uses spelled interval quality.
Elementary two-voice consonance uses spelled interval quality. Perfect fourths require context and are returned separately from accepted consonances.1
Enter ascending scientific notes within interval bounds0–28 letter steps/0–60 semitones and lower-voice-is-bass flag. Reduce compound number to simple class; label fourth context and return convention flag.
When to use Counterpoint Consonance Classifier
Use Counterpoint Consonance Classifier when you need to evaluate the supplied records under the calculation and evidence rules below. Perfect fourths return false in this screening even when labeled upper-voice context. No complete counterpoint legality is assessed.
Enter the written notes, explicit grouping, pitch observations or supported chord tokens requested. Keep scientific octaves, accidentals and caller evidence consistent.
How to use Counterpoint Consonance 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, lowerVoiceIsBass using the field table and calculation rules, then run the tool.
- Read counterpointIntervalClass, consonantUnderTwoVoiceConvention, spelledSimpleIntervalNumber. 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 |
| lowerVoiceIsBass | Lower voice is bass | boolean | Required |
Enter ascending scientific notes within interval bounds0–28 letter steps/0–60 semitones and lower-voice-is-bass flag. Reduce compound number to simple class; label fourth context and return convention flag.
perfect unison/fifth classes→perfect; major/minor thirds/sixths→imperfect Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| counterpointIntervalClass | Counterpoint interval class | string |
| consonantUnderTwoVoiceConvention | Consonant under two voice convention | boolean |
| spelledSimpleIntervalNumber | Spelled simple interval number | number |
{
"input": {
"lowerScientificNote": "C4",
"upperScientificNote": "F4",
"lowerVoiceIsBass": true
},
"output": {
"counterpointIntervalClass": "context-dependent-fourth-over-bass",
"consonantUnderTwoVoiceConvention": false,
"spelledSimpleIntervalNumber": 4
}
} Limitations and assumptions
Perfect fourths return false in this screening even when labeled upper-voice context. No complete counterpoint legality is assessed.
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. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Diminished/Augmented Interval Classifier: Interval number follows letter distance while interval quality follows semitone distance. A tritone may be an augmented fourth or diminished fifth. For a complementary task, use Voice-Leading Motion Classifier: Two-voice motion distinguishes direction from interval size. Crossing requires reversal of the voices’ relative pitch order.
References
-
Counterpoint Consonance Classifier — tool.io
Similar or alternative tools
- Diminished/Augmented Interval Classifier
Interval number follows letter distance while interval quality follows semitone distance. A tritone may be an augmented fourth or diminished fifth.
- Voice-Leading Motion Classifier
Two-voice motion distinguishes direction from interval size. Crossing requires reversal of the voices’ relative pitch order.