capture~
Description
Use the capture object to collect signal values for signal debugging or investigation. To record signal values, use the record~ or sfrecord~ object.
Examples

Arguments
behavioral-flag (f) [symbol]
If the first argument is the letter capture~ stores the first signal samples it receives, and then ignores subsequent samples once its storage buffer is full. If the letter is not present, capture~ stores the most recent signal samples it has received, discarding earlier samples if necessary.
,maximum-samples [int]
Limits the number of samples (and thus the length of the excerpt) that can be held by capture~. If no number is typed in, capture~ stores 4096 samples. The maximum possible number of samples is limited only by the amount of memory available to the Max application. A second number argument may be typed in to set the precision (the number of digits to the right of the decimal point) with which samples will be shown in the editing window. When set to mc mode (mc.capture~), the maximum-samples value applies to each channel. Captured values are displayed in sequence by channel number.
signal-vector-indices (up to 10 ints) [list]
A list of up to 10 indices within a signal vector. If no indices present, capture~ records the entire vector.
Attributes
Common Box Attributes
Messages
clear
(mouse)
open
signal
wclose
write
Arguments
Output
(text)
capture~ outputs nothing and has no outlet but the signal which it captures into text can be saved to a file or copied and pasted elsewhere for editing.
See Also
Name | Description |
---|---|
scope~ | |
MSP Analysis Tutorial 1: Signals and Meters | MSP Analysis Tutorial 1: Signals and Meters |
MSP Analysis Tutorial 3: Using the FFT | MSP Analysis Tutorial 3: Using the FFT |