create/play/record wav implemented. format adjusted