Increasing tempos in increments with bangs?

Dec 10, 2010 at 8:01pm

Increasing tempos in increments with bangs?

I’m making a patch to use with my electronic drum kit, I’m looking to make two of the toms increase and decrease (respectively) the tempo of a sample. For example when a tom is hit the tempo will increase by 0.05 and then by the same amount again each time the drum is hit. I’ve tried several methods and can’t seem to figure it out.

Any ideas?

#53691
Dec 10, 2010 at 8:43pm

Sounds interesting; I guess you’re using the midi note# from the electronic kit to trigger the sample, and also using either [play~] or [groove~] to read from the sample [buffer~]? Or maybe not. Anyway, the first thing you need is the [counter] object to count how many times that note number comes in, and use a [+ 0.05] or [incdec] object to increase the playback speed; this will, however, also increase/decrease the perceived pitch of the sample.

?

Brendan

#193115
Dec 10, 2010 at 8:57pm

Use bonk~ to sense & transport to control tempo?

#193116
Dec 10, 2010 at 9:35pm

and if you want to preserve pitch you can use gizmo~, give it the reciprocal of the sig~ value by running through [!/ 1.]

so a signal rate of 1.2 would give you 0.8333. try patch below:

– Pasted Max Patch, click to expand. –
#193117
Dec 10, 2010 at 11:47pm

is it the ‘increase and decrease’ aspect that you wanted help with?

– Pasted Max Patch, click to expand. –
#193118
Dec 13, 2010 at 1:26pm

Thats awesome! Exactly what I was trying to do! Cheers dude :)

#193119

You must be logged in to reply to this topic.