Skip to content
View in the app

A better way to browse. Learn more.

Learn more

length-span producing odd note values

Featured Replies

I am trying to get a random series of lengths from the list (4/14 5/14 6/14) to span over a certain time, in this case 4 bars.

(length-span '4 (rnd-sample 40 '(4/14 5/14 6/14)))

The result keeps including tied sixteenth notes, although I want to limit the score and rhythm to two eighth septuplets per bar (with ties).

I also tried to include quantize as a second grid which didn't help to "clean" the result.

Am I making a mistake here or is this some kind of bug?

image.png.994151616cbc9823f941c9fa175997d7.png

My results are different. What version you are using?

 

(length-span 4 (rnd-sample 40 '(4/14 5/14 6/14)) :omn t)
=> (7d. 7d = 7d. = 7d 7dh = = 7d. 7dh)

 

With random selection it is possibile, at the end, you endup with 1/14 value:
(2/7 3/7 2/7 2/7 3/7 5/14 5/14 2/7 2/7 2/7 2/7 5/14 1/14)

  • Author

Thank you for the hint; I now updated my version and it works just fine.

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.