Giter Club home page Giter Club logo

vocal-tube-model2's Introduction

vocal tract tube model 2

Python Class to calculate frequecny response and process reflection transmission of resonance tube.
There are two, three, four, and five tube model.

generate waveform using tube model

Draw frequency response, cross-sectional view (area), and waveform, considering glottal voice source and mouth radiation. save generated waveform as a wav file.

python main5.py --osratio [number]  

In order to reduce digitize error of tube delay time, high sampling rate is recommended. osratio means over sampling ratio. Defalut value is 4 and sampling rate of process is 192000Hz (=48000Hz x 4).

Example of five tube model: tube_5p1
figure5p1
Example of five tube model: tube_5p2
figure5p2
Example of five tube model: tube_5p3
figure5p3
Example of five tube model: tube_5p4
figure5p4
Example of five tube model: tube_5p5
figure5p5

There are above wav files in generated_waveform folder.

tube model check of frequency response

Comparison computed frequency response to white noise input frequency response using FFT analysis.

python tubecheck.py

Example of two tube model
figure1
Example of three tube model
figure2
Example of four tube model
figure3
Example of five tube model
figure4

harmonic structure in the frequency spectrum

This version introduces repeated glottal voice source to explain harmonic structure in the frequency spectrum.

python glottal.py

figurep1

License

MIT

vocal-tube-model2'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.