Posted May 15, 20196 yr Is there built-in functionality to sort a chord-progression using the top note? The following example uses the bottom note: (sort-asc '(a2a3 a2a4 a2e4))
May 15, 20196 yr What would be the result here: '(a2a3 a2a4 a2e4 c3f4 f4cs4 d4e4) Please make a few examples with the input and the output you are looking for.
May 15, 20196 yr Author 2 hours ago, opmo said: What would be the result here: '(a2a3 a2a4 a2e4 c3f4 f4cs4 d4e4) Please make a few examples with the input and the output you are looking for. The result when sorting ascending on top note would in the above case be: '(a2a3 a2e4 d4e4 c3f4 f4cs4 a2a4) When the top note is the same, the bottom note decides. Another example: ; sorting on bottom note ; '(g2g3 g2d4 g2g4 a2a3 a2e4 a2a4) ; sorting on top note ; '(g2g3 a2a3 g2d4 a2e4 g2g4 a2a4)
May 15, 20196 yr Here it is: (chord-progression '(g2g3 a2a4 a2a3 g2d4 g2g4 a2e4)) => (g2g3 g2d4 g2g4 a2a3 a2e4 a2a4) (chord-progression '(g2g3 a2a4 a2a3 g2d4 g2g4 a2e4) :sort 'high) => (g2g3 a2a3 g2d4 a2e4 g2g4 a2a4) The CHORD-PROGRESSION function will be part of the next release.
Create an account or sign in to comment