debug
save wav file seg fault