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

May 7, 2008 at 8:11pm

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? :)

#37623
May 7, 2008 at 9:16pm

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

#130089
May 8, 2008 at 11:28am

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

#130090
May 8, 2008 at 1:00pm

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.

#130091
May 8, 2008 at 1:33pm

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

#130092
May 8, 2008 at 1:42pm

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

#130093
May 8, 2008 at 1:53pm

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

#130094
May 8, 2008 at 5:15pm

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.

– Pasted Max Patch, click to expand. –

#130095
May 8, 2008 at 5:41pm

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