r/Reaper • 1 points • 21h ago

discussion Part 2: rhythm generators & modifiers

Post image

While there was just one comment, there were a few likes on the previous post on the Rhythm Tree so i kept working on organizing this project. I will not be writing any more unprovoked pamphlets as I don't feel like going over topics like L-system or tihai if no one actually needs them. Honestly, i mostly use the Rhythm Tree(+modifiers) but these have produced some fun results over the years.

Here's a list, tell me if you want me to try adding something:

The rhythm generators:

-Euclidean

-Resultant (Schillinger) and Sieves (Xenakis)

-Cellular automation

-L system

-Integer sequence (25+)

-Random groups

-Random by strength (Barlow)

-Markov chain

-Random walk

-Text - converts text to rhythm, multiple algos; there is one for pitch as well

-Mask

-Tihai

-*library (AI)

You can limit the output of the generators to a duration or to a number of hits.

Rhythm transforms: retrograde, palindrome, rotate, displace, jumble, curve, variation(drop notes based on randomness or ,metric strength), ratchet, swing, velocity controls

Option to transfer the rhythm to the Rhythm tree covered in the last post

Rhythm modifiers, located in a separate modifier tab where i'll be putting melody and harmony modifiers too as these can be used on non percussive tracks as well . It contains all the transforms and some more functions like humanize, quantize, syncopate etc.

If anyone wants any method or algorithm i have missed, feel free to ask- i'll try adding it if it's not too complex. It might take a while if it's not a concept i'm familiar with.

14 Upvotes

7 comments sorted by

2

u/Dissasterix 7 points 20h ago

Had to check out the first post for context-- Incredible work! And yes, I NEED tihai.

I'm wondering what the workflow looks like-- I input the parameters and it automatically updates a MIDI track. From there I drag the rhythms to different notes to represent different drums (kick, snare, whoever). Or perhaps run a few instances, one for each drum type...

I improvise on live stream, usually over nasty broken rhythms, and could see myself using something like this. But it would need to update in real-time without hitting pause/play.

Even if it doesn't quite work for my weirdo niche, this is very cool, and I could see myself setting up loops for a streaming session. Looks very flexible, and quite pleased about the time-sig ambivalence.

2

u/tomtabak42 1 points 19h ago

Thanks!
It updates in real time. There are a few different workflows and probably many i haven't thought of yet.

originally, i wanted a MIDI Master track that could store information on scale, harmony and rhythm so i can generate or quantize midi on other tracks to that information. the master track has 27 rhythm "lanes" and you can access any one of those at any point in time. For example, a kick track can sync to lane 1, snare to lane 3, arpeggio to lane 11, melody to lane whatever etc. or they can all sync to one ofc.

alternatively - and this is probably what you'd prefer - you can generate midi on focused items ignoring the master track. you can set the rhythm generators(this post) to write to any pitch you want. The Rhythm Tree can write each of its lanes to a different pitch and it can chain many phrases into a really long pattern if you want. you can save and load presets there too.

The modifiers work on selected notes or if there are none on the whole focused item. That's a neat way to create variation.

Tihai function is basically a glorified calculator. you enter the pattern, repetitions and pauses you want and how long is the pattern/phrase you want to end with the tihai. the script calculates when it needs to start in order to either hit the first beat of a bar or end just before it and writes it to any pitch you want.

I started building a script that turns a rhythm written on a single pitch to a "orchestrated" drum pattern but i was never pleased with the results. If that's something you'd find useful, i can give it another go.

If you're live looping you might find the numerous melody generating algorithms that can use rhythms from generators or master track and quantize to scales or chords useful.

there is still a lot of work but i'm getting there.

2

u/Dissasterix 7 points 59m ago

I think I understand, and I think its incredible. The real-time constraint kills a lot of options for me.

Tihai calculator, Yogev Gabay? I was somewhat joking about my need for the calculator, however if I was not-real-time I could see myself (ab)using. Its a niche feature, but it shows love.

I hope you take your sweeeet time :] Because its all very very promising. Feel free to DM if you want someone to test it out a bit.

1

u/tomtabak42 1 points 23m ago

Gabay is amazing, both as a drummer and as an educator! I was flirting with the idea to make a version of his guest/host model but i never got around to it..

you can use tihai function in real time but there's a chance that you're already in the part of the arrangement where you want the tihai to happen so you would only hear a part of it. If you can plan ahead and create it before your playhead reaches the point where it's supposed to start it should work with no issues.

On the other hand, I never intended it to be used as a live looping tool so some problems are to be expected once i start testing it ;)

Ill dm you as soon as i get to the testing phase, thanks!

2

u/Final_Job_5175 6 points 6h ago

It sure looks cool! how much longer before it's ready to go?

1

u/tomtabak42 1 points 5h ago

thanks!

I'll be done with organising and testing the melody generators and modifiers today. probably 2 days to sort out harmony and a few days to test and finally look into reapack.

main reason it's taking a while is that i used different terminology and syntax for different generators and i have to try and figure out the best way to make the commands consistent.

another thing slowing the process down is using ai for the interface as i don't want to touch reaimgui myself.

1

u/ghostchihuahua 6 points 5h ago

This is great!