implemented a basic framework for audio