neuro-team-femto / cleese

Combinatorial Expressive Speech Engine
MIT License
42 stars 10 forks source link

Added a pitch extractor as part of cleese #22

Closed jjau closed 4 months ago

jjau commented 4 months ago

What?

This adds a pitch extractor (YIN) to the cleese.PhaseVocoder engine; can be called statically with PhaseVocoder.extract_pitch(x,sr)

Why?

Previous versions of CLEESE did not include a pitch extractor. While computing pitch is not necessary to manipulate pitch in PhaseVocoder, it is useful to e.g. visualize results and to compute custom BPF for flattening files. In the audio tutorial, we require that people install pysptk to access a third party pitch extractor (SWIPE), but installing it is cumbersome. Also, it turns out that flattening file in pitch is almost systematic use in CLEESE, so streamlining this is useful.

How?

Testing?

review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB