Recording audio and storage upload

What would be the best approach for recording audio, including listening, as well as storage upload and retrieve? Is there a template or a tutorial somewhere?