Jump to content

Remove Unison from Chord


Recommended Posts

Hi Everyone,

This should be an easy one, yet I can't seem to figure it out: How do I remove double notes from a chord?

I'm starting with this:

(setf chords '(gs3gs4ds5ds5 ab3ab3ab3gs4))

And I would like the output to be this:

'(gs3gs4ds5 ab3gs4)

 

Thanks!

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.

Guest
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 born
      Hi,
      how could I automatically split chords for a further piano notation?
      Achim
    • By Stoney
      I've been playing around with Rangarajan's "Constraint Programming with Screamer" file, and ran across what looks like a bug.
       
      The program generates this chord sequence (which I assigned to chords-1):
      (setf chords-1 '((h. c3e3g3 ff -q) (h. d3f3a3 ff -q) (h. g3b3d4 ff -q) (h. a3c4e4 ff -q) (h. e3g3b3 ff -q) (h. g3b3d4 ff -q) (h. a3c4e4 ff -q) (h. c3e3g3 ff -q)))
       
      If I just cmd-1 on that, it displays and plays just fine. If I evaluate this, though:
      (ps 'gm :treble chords-1 :time-signature '(4 4) :tempo 120)
       
      I get this mess:

      It plays one chord (or rather, discord).
       
      This seems ok:
      (get-time-signature chords-1)
      => ((4 4 8))
       
      This looks ok:
      (disassemble-omn chords-1)
      => (:length ((3/4 -1/4) (3/4 -1/4) (3/4 -1/4) (3/4 -1/4) (3/4 -1/4) (3/4 -1/4) (3/4 -1/4) (3/4 -1/4)) :pitch ((c3e3g3) (d3f3a3) (g3b3d4) (a3c4e4) (e3g3b3) (g3b3d4) (a3c4e4) (c3e3g3)) :velocity ((ff) (ff) (ff) (ff) (ff) (ff) (ff) (ff)) :articulation ((-) (-) (-) (-) (-) (-) (-) (-)))
       
      What's going on here?
       
      Thanks!
    • By Jorvd
      Hi everyone, this one should be pretty simple but I can't seem to figure it out yet.
      I am trying to notate this (see attachment) first bar in OM.
      So far I have this:
      (h e3c4g4e5 f3f4a4d5 z^q g4 f4 h g3d4b4 c3c4e4c5 ) Which doesn't work yet, although it's close.
      Additionally, I would love to use the same figured bass notation (with the brackets and everything).
      I know how to use the text attribute for Instruments but it seems to map everything based on white-space between the text, maybe I'm missing something?

      Thanks!
      - Jor
       

×
×
  • Create New...