Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Request: a gen-divide-attack function only to positive rhythmic values

Featured Replies

Dear friends,

 

A cool idea to implement would be to have a gen-divide like function for dividing rhythm lists, filtering just the positive values, like this:

 

(setf rhy '(q -q -e e e e q q -s s s s))

;;;Standard gen divide

(gen-divide 3 rhy)
;;result:
(q -q -e) (e e e) (q q -s) (s s s)

;;; (gen-divide-attack 3 rhy)

;;;result
(q -q -e e e) (e q q) (-s s s s)

 

To me, would be very useful.

 

All the best !

Julio

Done 🙂
 

(gen-divide 3 '(q -q -e e e e q q -s s s s))
=> ((1/4 -1/4 -1/8) (1/8 1/8 1/8) (1/4 1/4 -1/16) (1/16 1/16 1/16))

(gen-divide 3 '(q -q -e -e -e e q q -s s s s) :omit-rest t)
=> ((1/4 -1/4 -1/8 -1/8 -1/8 1/8 1/4) (1/4 -1/16 1/16 1/16) (1/16))

(gen-divide 3 '(q -q -e -e -e e q q -s s s s) :omit-rest t :omn t)
=> ((q - -e - - = q) (q -s = =) (s))

(gen-divide 3 '(q c4 -q -e d4 e e4 e f4 e g4 q a4 q b4 -s s c5 d5 e5))
=> ((q c4 mf - -e) (e d4 mf e4 f4) (e g4 mf q a4 b4) (-s c5 mf d5) (s e5 mf))

(gen-divide 3 '(q c4 -q -e d4 e e4 e f4 e g4 q a4 q b4 -s s c5 d5 e5) :omit-rest t)
=> ((q c4 mf - -e d4 e4) (e f4 mf g4 q a4) (q b4 mf -s c5 d5) (s e5 mf))

 

  • Author

Yes !! This is great !

 

Thank you, Janusz !]

Just a keyword did the job.

Very interesting for controlling the number of rhythmic attacks in a time span, without having to measure a time span so strictly.

As a consequence, the harmony can be better controlled also, because I use lists of compatible harmonies.

 

All the best !

Julio

  • Author

Dear Stephane, 

 

I´m planning to do a little video sooner or later.

But basically, it´s the same stuff/template I´m working for some time. 

Inside this template, some ideas about music and composition are emerging, 

alongside with the constraints of my imagination and the different ways of realizing all

 this with this wonderful Opusmodus tool.

Thanks in advance to all the support and inspiration you and Janusz bring to me

and all the people in this forum.

 

All the best !

Julio

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.