Jump to content

Featured Replies

Posted

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

  • Author

Is there one working with OMN?

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.

  • Author

Thanks a lot. I found another one as well:

quantum

 

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.

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy