Jump to content

Recommended Posts

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)


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By AM
      dear all
      is there a quick way to import (or filter) only pitches and chords from a midi-file? if i only use these (nothing else from midi/xml)
      thanx for a hint
    • By AM
      hi all
      i'm looking for different SORTING ALGORITHMS in LISP - no problem to find (different) in the WWW... but: i would like to have as OUTPUT-result ALL generations of the SORTING-process and not only the LAST one  - i'm interested in the PROCESS!!
      thanks for some help or any idea? (for once i do not want to code it myself :-))
    • By PatrickMimran
      I try to map a  tonality on a very simple chord suite  1  4  5   from Major to natural minor in the folowing way 
      (Setq chordlist  (tonality-map '(natural-minor :root a4 )  '(c3c4e4g4c5   f3f4a4c5f5  G3G4b4d5g5) ))
      But it doesn't seems to work the way i want , i am just looking to transform degree 1 4 5 from c major to  1 4 5  a minor with no success 
      there is probably something i am missing or another easiest way 
  • Create New...