check_species_rules
Analyze a counterpoint line against a cantus firmus and detect rule violations in first through fifth species counterpoint.
Instructions
Check species counterpoint rules.
Analyzes a counterpoint line against a cantus firmus for rule violations.
Args: cantus_firmus: List of pitches for the cantus firmus (e.g., ["C4", "D4", "E4"]) counterpoint: List of pitches for the counterpoint line species: Species number (1-5): 1 = Note against note 2 = Two notes against one 3 = Four notes against one 4 = Syncopation/suspensions 5 = Florid (free)
Returns: Analysis with intervals and rule violations
Examples: - First species: check_species_rules(["C4", "D4", "E4"], ["G4", "A4", "C5"], species=1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cantus_firmus | Yes | ||
| counterpoint | Yes | ||
| species | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||