Jump to content

Recommended Posts

Does Opusmodus perhaps already have some quantisation function that expects a list of floats and that basically rounds these floats into a metric rhythm, including using tuplets? 

 

I am aware of vector-to-length – that implements a simple form of what I am looking for, but it does not support tuplets. Other algorithmic composition systems have more sophisticated quantisation facilities. For example, OpenMusic provides the box omquantify (among other functions in the Kant library). 

 

  http://support.ircam.fr/docs/om/om6-manual/co/Quantification.html

 

I am aware that quantification is a complex process, but perhaps that is already there in Opusmodus.

 

Best,

Torsten

 

 

Link to comment
Share on other sites

18 hours ago, opmo said:

Achim Bornhoeft and I we had a brain storming session on quantisation here in Venice for two days.

The code will be ready for testing in few days.

The holidays might delay the release a bit.

The test are already very promising :-)

Looks interesting ! Looking forward ! Best. Merry Xmas, Janusz !

Link to comment
Share on other sites

Few QUANTIZE examples:
 

(setf val1 (gen-white-noise 19 :seed 56))
=> (0.42731586 0.21048035 0.14944322 0.05199222 0.33933866 0.8851649
               0.93565786 0.93476516 0.3839242 0.03127964 0.39819628
               0.18478736 0.9568939 0.6663358 0.26542348 0.4052874
               0.68264747 0.95090246 0.12790146)

(quantize val1 '(3 5 7))
=> (7h. 7q 7q 7q 7q_3q 3h_t e. t_e.. t_s t s. t t_5w 5q_e s s_5q 5h. 5q_e. s)

Screen Shot 2017-12-25 at 09.02.56.png

 

(setf val2 (gen-white-noise 19 :scale 2.2 :seed 875))
=> (0.5896695 1.3854954 1.7601246 0.15660097 1.0577743 2.005573 0.8151905
              0.83697665 0.17089269 1.5035293 0.97181803 0.54288834
              1.810276 1.551678 2.1626956 0.7790575 1.5867842 1.6030518 1.3905888)
              
(quantize val2 '(3 5 7))
=> (e e_e.. t_q_7wq 7q 7q_e.. t_q_e.. t_3h 3q_e s s_q_e
      e_s e s_q_e e_q_s e._q_e e_5q 5w_e e_q_e e_q)

Screen Shot 2017-12-25 at 09.03.30.png

 

(setf val3 (vector-range -1.0  1.0 (gen-white-noise 19 :seed 154)))
=> (-0.24158841 -0.9634026 -0.99552864 -0.4178778 0.9713292 -0.58351946
                -0.77635634 0.532539 0.4349326 -0.85446167 -0.9610649
                -0.9799211 1.000001 -0.4322123 0.3123653 -1.0 0.74611676
                0.66992795 -0.034718752)

(quantize val3 '(3 5 7))
=> (-3q -3h -3q -3h -3q -3q 3q_e -e -7q -7wq 7q_3q
        3q -3q -3h -3q -e -e -e e_e -e -s s -e -e e_e e)

Screen Shot 2017-12-25 at 09.03.43.png

 

Best wishes, J

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