dsptime~ Reference

Report milliseconds of audio processed

dsptime~

Description

dsptime~ reports the time in milliseconds since the audio was last turned on when triggered by a bang.

Examples

Shut audio processing off automatically after 40 seconds have been processed

Arguments

None.

Attributes

Common Box Attributes

Messages

bang

When dsptime~ receives a bang, it reports the number of milliseconds corresponding to the number of audio samples that have currently been processed.

signal

If a signal is connected to the dsptime~ object's inlet, dsptime~ reports the number of milliseconds corresponding to the number of audio samples that have currently been processed within the connected signal.

Output

float

The number of milliseconds corresponding to the number of audio samples that have currently been processed. The value is based on the processed audio sample count, not the real time of the millisecond timer. This means you can use the dsptime~ object as a sort of clock in conjunction with the NonRealTime audio driver.

See Also

Name Description
adstatus