I want to identify male or female voice in a speech signal

24 vues (au cours des 30 derniers jours)
Safi Khan
Safi Khan le 1 Oct 2016
I have taken the speech signal as input using 'audiorecorder' function and converted it into a double precision array.. At the end of execution, i want to display whether the voice is male's or female's.. How to do this? Plz tell me step by step. Can we acheive this using fft plot?
  2 commentaires
Roshan Singh
Roshan Singh le 4 Mar 2020
Did you get a solution?
John D'Errico
John D'Errico le 4 Mar 2020
Note that you can never achieve perfect certainty here, but only a probabilistic prediction.

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 1 Oct 2016
Do some online research and determine the characteristic speech frequencies for adult males and females, or calculate the fft (link) of representative male and female voices, and use that as your guide. Then design bandpass filters for those frequency bands.
There are several ways to design filters in MATLAB with the Signal Processing Toolbox. The designfilt function is probably the easiest to use. My general recommendations (and specific approach to designing IIR filters) are here: How to design a lowpass filter for ocean wave data in Matlab?
Note that classification always involves false positives and false negatives (misclassification), and classification is actually a much more involved process than I’ve outlined here.
This is a relatively straightforward problem otherwise. Have fun with it!

Plus de réponses (1)

Brian Hemmat
Brian Hemmat le 12 Avr 2020
Audio Toolbox provides an example: Classify Gender Using LSTM Networks

Catégories

En savoir plus sur Simulation, Tuning, and Visualization dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by