Forums > MaxMSP

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

May 7, 2008 | 8:11 pm

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!


May 7, 2008 | 9:16 pm

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


May 8, 2008 | 11:28 am

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



Eli
May 8, 2008 | 1:00 pm

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.


May 8, 2008 | 1:33 pm

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
May 8, 2008 | 1:42 pm

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


May 8, 2008 | 1:53 pm

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


May 8, 2008 | 5:15 pm

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. –

May 8, 2008 | 5:41 pm

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


May 8, 2008 | 6:31 pm

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

Thanks, im checking your example now !


Viewing 10 posts - 1 through 10 (of 10 total)