Jump to content

Featured Replies

Posted

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))

 

  • 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)

 

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy