0
Find all enharmonic equivalences of an arbitrary EDO
music code-golf
Given integers n and s, print all pairs of enharmonically equivalent pitch classes in n-EDO, such that each note of a pair has at most s sharps and flats.
Note names are assigned such that F, C, G, D, A, E, and B form a chain of...