Record with fade in and out

Other Attachments: 

This patch shows a slight improvement on the basic way of recording and playing back a sound file, fading the sound in and out quickly when recording in order to avoid clicks.

Chapter: