How do you make a sound recorder and another button for playback?

How do you make a sound recorder and another button that plays back that sound recording? Please send a pic of the code blocks if you can. Thanks!