This is the main file
First version of the sound function (not tested)