Jump to content

Irrational tuplet pieces


Recommended Posts

Hello,

 

I am trying to get a rhythm out of the following function:

 

(quantize (length-adjust 8/4 (vector-to-length '1/24 4 1 v1b)) '(1 2 3 4 6))

                      (v1b is a predefined half-sine vector)

Despite using quantization I keep getting results that include unplayable tuplets, such as single tuplet notes followed by e.g. an eigth note:

 

image.png.ecc7a207dfa01f70bf08d52eb836244e.png

 

How can I prevent this from happening and get a rationally quantized rhythm?

Link to comment
Share on other sites

(setf n1b (midi-to-pitch (rnd-variance
                          (sort-asc (rnd-sample (rnd1 :low 15 :high 25) (gen-integer 81 91)))
                          0.04) :quantize 1/2))
                          
(setf v1b (list-plot (half-sine (get-count n1b) 1) :join-points t))
(setf l1b (quantize (length-adjust 8/4 (vector-to-length '1/24 4 1 v1b)) '(1 2 3 4 6)))
(setf m1b (make-omn :pitch n1b :length l1b))

 

Link to comment
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