moved audio context generation to app