Turn/Mordent Ornament Sequence Generator
Generate explicit turn/mordent written-note order from caller principal and actual chromatic neighbors, avoiding assumed key signature or historical mordent naming ambiguity; no timing or performance prescription.
Description
An ornament’s written sequence depends on actual upper/lower neighbors.
An ornament’s written sequence depends on actual upper/lower neighbors. Explicit neighbor pitches avoid assuming a key signature.1
Enter scientific principal/upper/lower notes and exact turn/inverted-turn/upper-mordent/lower-mordent type. Neighbors must be adjacent written letters and sound strictly above/below. Return normalized ordered sequence.
When to use Turn/Mordent Ornament Sequence Generator
Use Turn/Mordent Ornament Sequence Generator when you need to evaluate the supplied records under the calculation and evidence rules below. No durations, execution technique or historical naming convention beyond these explicit labels 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 Turn/Mordent Ornament Sequence Generator 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 principalScientificNote, upperNeighborScientificNote, lowerNeighborScientificNote, ornamentType using the field table and calculation rules, then run the tool.
- Read ornamentScientificSequence. 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 |
|---|---|---|---|
| principalScientificNote | Principal scientific note | string | Required |
| upperNeighborScientificNote | Upper neighbor scientific note | string | Required |
| lowerNeighborScientificNote | Lower neighbor scientific note | string | Required |
| ornamentType | Ornament type | string | Required |
Enter scientific principal/upper/lower notes and exact turn/inverted-turn/upper-mordent/lower-mordent type. Neighbors must be adjacent written letters and sound strictly above/below. Return normalized ordered sequence.
turn=upper,principal,lower,principal; mordent=principal,selectedNeighbor,principal Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| ornamentScientificSequence | Ornament scientific sequence | list of string |
{
"input": {
"principalScientificNote": "C4",
"upperNeighborScientificNote": "D4",
"lowerNeighborScientificNote": "B3",
"ornamentType": "turn"
},
"output": {
"ornamentScientificSequence": [
"D4",
"C4",
"B3",
"C4"
]
}
} Limitations and assumptions
No durations, execution technique or historical naming convention beyond these explicit labels 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 Transpose Note By Interval: Spelled transposition specifies both written-letter movement and semitone movement. A semitone shift alone cannot preserve interval spelling. For a complementary task, use Ledger Line Count For Pitch: Ledger lines follow written staff height, while spaces outside the staff need fewer added lines. Accidentals leave vertical placement unchanged.
References
-
Turn/Mordent Ornament Sequence Generator — tool.io
Similar or alternative tools
- Transpose Note By Interval
Spelled transposition specifies both written-letter movement and semitone movement. A semitone shift alone cannot preserve interval spelling.
- Ledger Line Count For Pitch
Ledger lines follow written staff height, while spaces outside the staff need fewer added lines. Accidentals leave vertical placement unchanged.