uzi
send many bang messages
Description
Outputs a specified number of bang messages quickly. uzi is designed for rapid-fire output of a large number of bang messages.
Arguments
count [number]
Sets the number of bangs to be sent when the left inlet receives a bang.
base [number]
Sets the base value for the right outlet indexing. The base value defaults to 1 when not specified.
Inlets
start [bang, number]
When a bang or number is sent to the left inlet, uzi sends out bang messages as fast as possible, one after another. The number of bang messages to send is determined by the last number received in either inlet.
count [number]
Sets the number of bangs to be sent when the left inlet receives a bang.
Outlets
out [bang]
Outputs bangs, one after another, until the count is reached.
carry [bang]
Outputs a bang after the last bang has been send out the left outlet.
index [number]
Outputs the index number for each bang. Numbering begins from 1 (or from the base value specified by the optional second argument or
attribute) each time an int or bang is received in the left inlet. If uzi is being restarted with a resume or continue message, numbering begins wherever it left off.Dynamic Attributes
These attributes can be modified in the code during execution using the set object
base [number] (default: 1)
Sets the base value for the right outlet indexing. The base value defaults to 1 when not specified.
count [number]
Sets the number of bangs to be sent when the left inlet receives a bang.
pause [bang]
Causes uzi to stop in the midst of sending its output. (Since uzi sends its output as fast as possible, this message must be triggered in some way by the output of uzi itself.) uzi keeps track of how many bang messages it has sent, and if it receives the
message before sending out all its bang messages, it can then be caused to send out the rest of its bang messages with a or message.resume [bang]
If uzi has been stopped by a pause message in the midst of sending its output, resume causes it to send out the rest of its output.
start [bang, number]
When a bang or number is sent to the left inlet, uzi sends out bang messages as fast as possible, one after another. The number of bang messages to send is determined by the last number received in either inlet.
See Also
Name | Description |
---|---|
metro | metronome |
counter | keep count based on input events |
line~ | Linear ramp generator |
bline | Generates ramps using bang |