How to increase speed/rate of bangs arriving an inlet?

petterdass's icon

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!

DonK's icon

you're using signal rate stuff, [rate~] could do this.

petterdass's icon

I guess bang is not a signal? Or is it?

Eli's icon

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.

petterdass's icon

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

kjg's icon

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

petterdass's icon

Thanks, that whats also found out myself ( freakin wiz kid :)

Peter Castine's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

Chris Muir's icon

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

petterdass's icon

yeah, it is an uber simple max sequencer, but it does what i need.

Thanks, im checking your example now !