Wave file generator