audioflux.WaveWriter
- class audioflux.WaveWriter(file_path, samplate=32000, bit=16, channel_num=1)
Wave Writer
- Parameters
- file_path: str
Wave writer path
- samplate: int
Audio file sample rate
- bit: int
audio bit depth
- channel_num: int
Number of audio channels. 1 is mono, 2 is stereo
Methods
write
(data_arr)Write data array to a wave file.