How to increase speed/rate of bangs arriving an inlet?
Howdy,
Im getting bangs in through an inlet from a sequencer, and i want to
double,triple etc the speed/ rate of it.
How to solve this problem? :)
Thanks for your time!
you're using signal rate stuff, [rate~] could do this.
I guess bang is not a signal? Or is it?
It's a message, literally "bang" which when received by an object causes the object to do an action, usually sending data out the objects output.
In order to triple or double the speed of a sequencer send it the message "start '2^X'" with X being 10 for normal speed (1024) or 11 (2048) if you want it double speed, 9 (512) if you want half speed, etc.
Thanks, but i do not want to change the speed of the sequencer, as it is sending pitch and gate information to multiple destinations.
I just want to alter the rate/speed of recieved bangs (note ons) arriving through an inlet.
cheers
Quote: petterdass wrote on Thu, 08 May 2008 15:33
----------------------------------------------------
> Thanks, but i do not want to change the speed of the sequencer, as it is sending pitch and gate information to multiple destinations.
>
> I just want to alter the rate/speed of recieved bangs (note ons) arriving through an inlet.
>
if it is a steady pulse you want to "speed up", you could measure the interval with timer, divide that by some value and use a metro to generate the new speeded up pulse
it will lag a bit on tempo changes though
Thanks, that whats also found out myself ( freakin wiz kid :)
It is generally more idiomatic in Max to have a fast master metro (LCM of all needed tempi) and divide it as needed. Something like the following.
This may not be exactly what you're looking for. But whatever you're looking for, it is essential to understand the difference between MSP signals and Max messages. Get thee to the tutorials.
On May 7, 2008, at 1:11 PM, petterdass wrote:
> Im getting bangs in through an inlet from a sequencer, and i want to
> double,triple etc the speed/ rate of it.
Is this a sequencer made in Max? If so, I would use a transport object
and a series of metro objects that were slaved to the transport at
various rhythmic intervals.
My NewThump example shows some of this: http://www.xfade.com/max/examples
-C
Chris Muir
cbm@well.com
http://www.xfade.com
yeah, it is an uber simple max sequencer, but it does what i need.
Thanks, im checking your example now !