Creating a simple beep

A.M.'s icon

So this so basic I almost feel bad asking but I can't figure out a way to play back (when banged) a simple "beep"sound generated from a cycle~ 440 object with a specific duration set in milliseconds.
Any idea?

Rick's icon

MSP Basics Tutorial 3: Wavetable Oscillator will show you how to create an envelope

A.M.'s icon

Thank you Rick!