13.07.2015 Views

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tutorial 23Analysis:Viewing signal dataThis object is useful for seeing precisely what has occurred in a signal over time. (4096samples is about 93 milliseconds at a sampling rate of 44.1 kHz.) You can type in anargument to specify how many samples you want to view, <strong>and</strong> capture~ will store thatmany samples (assuming there is enough RAM available in Max. There are variousarguments <strong>and</strong> messages for controlling exactly what will be stored by capture~. See itsdescription in the MSP Reference Manual for details.SummaryThe capture~ object stores a short excerpt of a signal to be viewed as text. The meter~object periodically displays the peak level of a signal <strong>and</strong> sends the peak level out its outletas a float. The snapshot~ object sends out a float to report the current value of a signal.snapshot~ reports the signal value once when it receives a bang, <strong>and</strong> it can also report thesignal value periodically if it receives a non-zero interval time in its right inlet.The number~ object is like a combination of a float number box, sig~, <strong>and</strong> snapshot~, all atonce. A signal received in its left inlet is sent out the right outlet as a float, as withsnapshot~. A float or int received in its left inlet sets the value of the signal going out its leftoutlet, as with sig~. Both of these activities can go on at once in the same number~ object,although number~ can only display one value at a time. When number~ is in SignalMonitor Mode, it displays the value of the incoming signal. When number~ is in SignalOutput Mode, it displays the value of the outgoing signal.number~ can also function as a signal ramp generator, like the line~ object. If a non-zeronumber has been received in the right inlet (representing interpolation time inmilliseconds), whenever number~ receives a float, its output signal interpolates linearlybetween the old <strong>and</strong> new values.These objects (along with a few others such as sig~, peek~ <strong>and</strong> avg~) comprise the primarylinks between MSP <strong>and</strong> Max. They convert signals to numerical Max messages, or viceversa.See Alsocapture~meter~number~snapshot~Store a signal to view as textVisual peak level indicatorSignal monitor <strong>and</strong> constant generatorConvert signal values to numbers191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!