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 dataPeak amplitude: meter~The meter~ object periodically displays the peak amplitude it has received since the lastdisplay. At the same time it also sends the peak signal value out its outlet as a float. Theoutput value is always a positive number, even if the peak value was negative.meter~ displays the peak signal amplitude <strong>and</strong> sends it out as a floatmeter~ is useful for observing the peak amplitude of a signal (unlike number~, whichdisplays <strong>and</strong> sends out the instantaneous amplitude of the signal). Since meter~ isintended for audio signals, it expects to receive a signal in the range -1 to 1. If that range isexceeded, meter~ displays a red “clipping” LED as its maximum.• If you want to see the clipping display, increase the amplitude of the output signaluntil it exceeds 1. (Then return it to a desirable level.)The default interval of time between the display updates of meter~ is 250 milliseconds, butthe display interval can be altered with the interval message. A shorter display intervalmakes the LED display more accurate, while a longer interval gives you more time to readits visual <strong>and</strong> numerical output.• You can try out different display intervals by changing the number in the number boxmarked “Display Interval” in the lower left corner of the Patcher window.By the way, the display interval of a number~ object can be set in the same manner (as wellas via its Inspector window).Use a signal to generate Max messages: snapshot~The snapshot~ object sends out the current value of a signal, as does the right inlet ofnumber~. With snapshot~, though, you can turn the output on <strong>and</strong> off, or request outputof a single value by sending it a bang. When you send a non-zero number in the right inlet,snapshot~ uses that number as a millisecond time interval, <strong>and</strong> begins periodically189

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

Saved successfully!

Ooh no, something went wrong!