| // Write float32 mono samples in [-1, 1] as 16-bit PCM WAV. | |
| void write_wav(const std::string& path, const std::vector<float>& waveform, | |
| int sample_rate = 24000); | |
| // Write float32 mono samples in [-1, 1] as 16-bit PCM WAV. | |
| void write_wav(const std::string& path, const std::vector<float>& waveform, | |
| int sample_rate = 24000); | |