Giter Club home page Giter Club logo

vocal-tube-estimation3's Introduction

Vocal Tube Estimation 3

Estimation four tube model length and area about japanese vowels.

github repository

usage

pks2tube5frame is main program.
It loads a vowel wav file(16Khz mono), LPC analysis, get peaks candidates and pitch(F0) candidate, exclude outliers using a cubic expression and interpolate about peaks and pitch(F0), and estimate four tube model length and area by grid search and scipy's optimize.fmin, downhill simplex algorithm.

option:

  • wav_file input vowel wav file(16Khz mono) path.
  • result_dir the path to store result figures that show estimated tube length and area with frequency response.
  • frame use previous frame LA0 (estimated length and area) as initial value of scipy's optimize.fmin. specify start frame number. Or, negative value when OFF(default).
  • BPF_out compute BPF and show frequency response. specify -B if compute BPF frequency response.
python pks2tube5frame.py -w wav/a_1-16k.wav -r result_figure_a -B

Human vocal tract moves smoothly and continuously.
However, LPC analysis peaks candidates and pitch(F0) candidate is sometimes discontinuously.
They are translated to continuous values using a cubic expression and interpolate.
figure1

Following estimation result, tube length and area, are inconsistent. Their movement are not smoothly and continuously.
figure2
These figures are in the result_figure_a folder.

And then, manually select a reasonable frame for human vowel vocal tract as start frame,
use previous frame LA0 (estimated length and area) as initial value of scipy's optimize.fmin, and repeats its operation.

python pks2tube5frame.py -w wav/a_1-16k.wav -r result_figure_a -f 14 -B

figure3
These movement is almost smoothly and continuously.
These figures are in the result_figure_a/14 folder.

Estimation vocal frequency response by BPF analysis

Voice BPF output has harmonic structure and it shows only digitized samples of vocal frequency response.
It's necessary to estimate vocal overall frequency response to know true peaks (formants) by any method.
Following is vocal frequency response estimation by curve fitting via F0 harmonic frequencies (fundamental and overtones).

python BPF_analysis2.py -w wav/a_1-16k.wav

figure4

License

MIT

vocal-tube-estimation3's People

Contributors

shun60s avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.