ecole Posted January 11, 2017 Share Posted January 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted January 11, 2017 Share Posted January 11, 2017 Hi, you can experiment with pitch-demix function. Also try ambitus-filter function. Have a look to this function docs and if you have problem and/or want more help, don't hesitate to ask here. Best wishes Stéphane Quote Link to comment Share on other sites More sharing options...
opmo Posted January 11, 2017 Share Posted January 11, 2017 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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.