GithubHelp home page GithubHelp logo

mravanelli / pyspeechrev Goto Github PK

View Code? Open in Web Editor NEW
93.0 10.0 24.0 2.17 MB

This python code performs an efficient speech reverberation starting from a dataset of close-talking speech signals and a collection of acoustic impulse responses.

Python 100.00%
speech-recognition distant-speech-recognition speech-reverberation data-contamination impulse-response convolution

pyspeechrev's People

Contributors

mravanelli avatar shuttle1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyspeechrev's Issues

Keep track of project requirements

It would be good to keep track of the requirements this project has in a machine readable format such as the common requirement.txt output. By using the requirements specifiers from pip you can then specify versions required for this project, this will make it easier for people to install the dependencies and to use this code.

Adding MIT licence

Hi Mirco,
Thanks for making this tool available. Can you please add some license perhaps MIT license that can allow me to use this repo for some non-academic projects?

code issues

Hi, line 42 of the pySpeechRev.py, the normalisation is wrong. You should abs them before u get the max.

From

# Signal normalization
signal_clean=signal_clean/np.abs(np.max(signal_clean))

to

# Signal normalization
signal_clean=signal_clean/np.max(np.abs(signal_clean))

But actually this might not be the best way to normalise a signal. you should probably calulate the power of the signal and scale them according to the power you desire.

Missing sample rate for the provided examples

Hello Mirco, nice work. I believe it would be better to specify IR's samplerate, and resample it (or the input audio) accordingly before filtering to have meaningful results.
I am assuming you sampled IRs at 16kHz, am I right?

ERROR LOADING THE IR FILE

Hi,
The toolkit SincNet is great and in my dataset I got an accuracy of 80% for speaker identification. I read the comments and found that adding reverberation can further improve the accuracy and hence I tried doing that, but when trying to run the script pySpeechRev.py I am getting an error. Can you kindly help me out here.
error1

About IR1_16.mat

Hello,This code is perfect.I just want to know how do you produce the IR1_16.mat.Is trained from data?Is there any paper I can read?Thank you

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.