speedlim
Description
Limit the throughput speed of incoming messages to a fixed time limit. The time can be specified in milliseconds or using a tempo-relative interval.
Examples

Discussion
speedlim takes one optional argument which is a speedlimiting time. This object uses the Max time format syntax, and the interval that the speedlim object uses can be either fixed or tempo-relative. Its output can be also be quantized using tempo-relative syntax.
The left inlet takes any message and outputs it according to the argument value. The right inlet takes to change the speedlimiting time.
Arguments
delta-time [int, float, symbol]
Sets an initial minimum time between outputs. Time can be specified in any of the time formats used in Max. If there is no argument, the minimum time is 0 milliseconds.
Attributes
defer [float]
Turn this on to send output in the low-priority queue.
quantize [10 atoms]
Send output only on the specified time-boundary if appropriate. This is achieved by making internal adjustments to the times used for sending output. The quantization can be specified in the following time formats: bars.beats.units, ticks or note values.
threshold [10 atoms]
Time threshold under which only one message may pass. Time can be specified in any of the time formats used in Max.
Common Box Attributes
Messages
bang
int
Arguments
In right inlet: The number is stored as the minimum amount of time, in milliseconds, between successive outputs.
float
Arguments
list
Arguments
In right inlet: A list may be used to specify time in one of the Max time formats.
anything
Arguments
Output
anything
A message received in the left inlet is sent out the outlet, provided the specified minimum amount of time has elapsed since the previous output. Otherwise, speedlim waits until that amount of time has passed, then sends out the last message it has received since the previous output.
See Also
Name | Description |
---|---|
delay | |
mousefilter | |
thresh | |
timer | |
transport | |
Max MIDI Tutorial 3: MIDI Parsing | Max MIDI Tutorial 3: MIDI Parsing |