sig~ Reference

Convert numbers into audio signals

sig~

Examples

Arguments

value [number]

Optional

Number to be sent as a signal

Inlets

value [number]

Number to be sent as a signal

impulse [number]

The right inlet will generate an impulse from the outlet (a value of 1 followed by a value of 0). Sending a number to this inlet will generate an impulse of that duration in either ms or samples, depending on the unit attribute.

Outlets

out [signal]

The signal or impulse to be generated from the input.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

unit [enum] (default: ms)

Set the unit of the impulse length. An argument of ms will set the unit to milliseconds, and an argument of samples will set the unit to samples.

Possible values:

0 = 'ms'
1 = 'samples'

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

impulse [number]

The right inlet will generate an impulse from the outlet (a value of 1 followed by a value of 0). Sending a number to this inlet will generate an impulse of that duration in either ms or samples, depending on the unit attribute.

value [number]

Number to be sent as a signal

See Also

Name Description
sig~ Convert numbers into audio signals
line~ Linear ramp generator
snapshot~ Convert signal values to numbers