born Posted April 2 Share Posted April 2 Lets say I have 2 measures of music. I want to make random variations of the rhythms (not the pitches) The result should fit in the initial 2 measures. What is the function called for this. I cannot remember ... Thanks for help, Achim Quote Link to comment Share on other sites More sharing options...
opmo Posted April 2 Share Posted April 2 (rhythm-series 4 3 3/8) Quote Link to comment Share on other sites More sharing options...
born Posted April 3 Author Share Posted April 3 Is there one working with OMN? Quote Link to comment Share on other sites More sharing options...
PatrickMimran Posted April 5 Share Posted April 5 yes Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted April 6 Share Posted April 6 Several possibilities depend what kind of variations you want. The simplest one is random order applied only to lengths. (setf mat '((e d4 e4 fs4 gs4 q a4)(s b4 c5 b4 gs4 q a4 e fs4 e4))) (rnd-order mat :type :length) Another way I appreciate particularly is length divide: (length-divide '((3 4)(1 2)) mat :set 'max) but this last one add some intervals so it may be not what you're searching for... S. Quote Link to comment Share on other sites More sharing options...
born Posted April 7 Author Share Posted April 7 Thanks a lot. I found another one as well: quantum Quote Link to comment Share on other sites More sharing options...
opmo Posted April 8 Share Posted April 8 length-invert produces great results as well: (length-invert '(1/8 1/8 -1/8 1/4 1/4 -1/8)) => (-1/8 -1/8 1/8 -1/4 -1/4 1/8) (length-invert '(1/8 1/8 -1/8 1/4 1/4 -1/8) :swap t) => (1/8 1/8 1/4 -1/8 -1/8 1/4) and works with omn sequence. 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.