Forums > MaxMSP

Easy question from a rookie..

May 17, 2010 | 2:03 am

Can’t figure this out. I have a number, call it "pitch", being constantly updated from a pitch~ object. I want a second number to display the current pitch (aka value of the first number) only when a bang goes off (instead of constantly). What’s the simplest way? Thanks.

May 17, 2010 | 2:08 am

Nevermind, duh. First number is hooked to right inlet of message, bang to left inlet, second number hooked to outlet. Easiest way right?

May 17, 2010 | 2:44 am

Slightly lighter weight would be to use int or float. The mild downside to using a message box is that it take time to draw the number. It might not seem like a big deal, but in a large patch, every cycle is precious.

— Pasted Max Patch, click to expand. —
Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP