xiph / LPCNet

Efficient neural speech synthesis
BSD 3-Clause "New" or "Revised" License
1.12k stars 295 forks source link

How to generate .s16 files from wav files? #176

Closed Hongjiang-Yu closed 2 years ago

Hongjiang-Yu commented 2 years ago

I am going to train a model using my own dataset. The speech files in the dataset are wav files, while the input format for LPCNet is .s16. I am not familiar with the s16 format. Could you please tell me how to batchly change the wav files to s16 files ?

sundekai commented 2 years ago

@Hongjiang-Yu src/concat.sh

Hongjiang-Yu commented 2 years ago

src/concat.sh

Thank you! It works