1 | apt-get install sox |
1 | git clone https://github.com/sp-nitech/SPTK.git |
1 | cd SPTK; make |
1 | vim ~/.bashrc |
Just export the bin
path to your environmental variable.
1 | export PATH=$PATH:/mnt/c/Users/ABC/SPTK/bin |
1 | pitch -s 16 -p 80 -L 80 -H 200 -o 1 < test.wav > data.f0 |
When we reviewed the lpc
directory, which is under /SPTK/egs/analysis_synthesis/lpc
.
When we finally compare the output file:
data.syn.raw
:
And compared with the original wav file, data.org.wav
.
We can found out that the sound pressure is became more linear.
we can have a python version SPTK and it combines the same functions:
https://nbviewer.org/github/r9y9/pysptk/blob/master/examples/pysptk%20introduction.ipynb