Git Product home page Git Product logo

voice-bpf-bank's Introduction

Voice BPF bank

Band Pass Filter bank and its application to voice sound analysis.
Processing band pass filters of which center frequency is from 2000Hz to 4500Hz step by 5Hz and shows gray scale image as output.

github repository

usage

python3 main1.py -w wav-file-name(mono,16bit) -f frame-number -r result_figure  

There are 5 arguments.
-w specify input wav filename (mono,16bit)
-f specify the frame number to analyze. if negative value, all frames (whole length) are analyzed.
-r specify the directory name to save result image.
--en add this option to save result image instead of display.
--leak add this option to see spectrum leak caused by the envelop. (not available with --en)
Computed BPF bank output data will be save in BPF_out.

examples: all frames (whole length) analysis  
    vowel /i/            : python3 main1.py -w wav/i_1-16k.wav -f -1 -r result_i  
    fricative voice /si/ : python3 main1.py -w wav/si_1-16k.wav -f -1 -r result_si  
examples: specified frame analysis
    vowel /i/            : python3 main1.py -w wav/i_1-16k.wav -f 2  -r result_i  
    fricative voice /si/ : python3 main1.py -w wav/si_1-16k.wav -f 8  -r result_si  

figure1

examples: see spectrum leak caused by the envelop  
    vowel /i/            : python3 main1.py -w wav/i_1-16k.wav -f 2  --leak  

figure2

resampling tool

re-sampling wav to 16Khz sampling

cd wav
python3 resample1.py -w wav-file-name(mono,16bit)  

Application

Please see subdirectory of Noise-Spectrum-Estimation to estimate noise source condition.
And also, see subdirectory of Vocal-Tube-Estimation to estimate vocal tract condition.

Document

For more information, please see related WEB or same content in Japanese.

License

MIT

voice-bpf-bank's People

Stargazers

 avatar

Watchers

 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.