Implemented audio functions
fixed several mistakes
...