Convert signal values to numbers
snapshot~ outputs a value from the most recent input signal vector when it receives a . This object uses the Max time format syntax; the auto-reporting time interval used in the snapshot~ object can be be set to fixed or tempo-relative output.
|internal-clock-interval and sample-number
|| The first argument sets the internal clock interval. If it is 0, the internal clock is not used, so snapshot~ will only output data when it receives a message. By default, the interval is 0. The second argument sets the sample number within a signal vector that is reported.
|| Sends out a report of a sample from the most recent signal vector. The index of the sample within the vector is specified by an offset that can be set using the
||internal-clock-enable-flag (0 or nonzero) [int]
|| In left inlet: Any non-zero number turns on the object's internal clock,
turns it off. The internal clock is on initially by default, if a positive clock interval has been provided. |
In right inlet: Sets the interval in milliseconds for the internal clock that triggers the automatic output of values from the input signal. If the interval is 0, the clock stops. If it is a positive integer, the interval changes the rate of data output.
||internal-clock-enable-flag (0 or nonzero) [float]
|| Converted to
|| In right inlet: A list may be used to specify time in one of the Max time formats.
|| Eqivalent to
|| The word snapshot~ sends its output. The number is constrained between 0 (least recent, the default) and the current signal vector size minus one (most recent).
, followed by a number, sets the number of the sample within a signal vector that will be reported when |
||internal-clock-interval (samples) [int]
|| In right inlet: Sets the interval in samples for the triggered automatic output of values from the input signal.
|| In left inlet: The signal whose values will be sampled and sent out the outlet.
|| The word
will start the output triggered by the internal clock. |
|| The word
will stop the output triggered by the internal clock. |
|| Toggles the active mode for the snapshot~ object.
|| Sets the sampling interval for the object. The sampling interval can be specified in any of the time formats used in Max.
See a sample of a signal at a given moment