Jump to content

Explode music "handbell choir" style?


Recommended Posts

Hello!  I am trying to solve what is probably a simple problem.

 

I would like to take a single line of music (or two) and explode it to a set of instruments that each only play 1 or 2 pitches.  The rhythmic position of each note needs to be preserved, so for example:

q c4 d4 e4 f4

exploded to four instruments that play [c4, d4, e4, f4]

gives me four staves:

q c4 -q -q -q

-q q d4 -q -q

-q -q e4 -q

-q -q -q f4

 

This is like a handbell choir.  I need to be able to specify how many instruments and what pitches each of them are responsible for.  I would love to be able to go the other way too, and implode to a single staff.

 

Any ideas about how to approach this?

 

Thanks!

Elliot

Link to post
Share on other sites

Here it is:

(pitch-mix '((c4 d4 e4 gb4) (c4 b3 gb4 c4) (c4 b3 g4 ab4)))
=> (c4 d4b3 e4gb4g4 gb4c4ab4)

(pitch-demix 1 '(c4 d4b3 e4fs4g4 gb4c4gs4))
=> (c4 d4 e4 gs4)

(pitch-demix 2 '(c4 d4b3 e4fs4g4 fs4c4gs4))
=> (b3 fs4 fs4)

 

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.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy