Open r0colita opened 4 months ago
This function is not working with Piston's Example 11-1 because there is a neighbor note within the cadence. Might be best to learn how a music21.tree works to see if this can be taken into account.
There is a property called Horizontality.hasNeighborTone that can aid with this. But to get this property you need to do a process of making a music21.tree and extracting verticalities. It's very specific.
Proposition: There exists one or more sections inside a given piece where cadential formulae are present.
Chapter 11 of the Adler is exclusively dedicated to cadences, so it would help to go back from the modulation finder and find a function that detects the different kinds of cadence.
Algorithm should detect: