how to change female voice to male voice using matlab?

36 vues (au cours des 30 derniers jours)
gul muhammad
gul muhammad le 2 Déc 2019
Commenté : Walter Roberson le 28 Déc 2019
%Female to Male
[x,fs] = wavread('female_speech.wav');
x = x./max(abs(x)); %normalize signal
figure(1)
%Plot of original time signal
subplot(421)
plot(x)
axis tight
title('Original Waveform')
xlabel('Time(s)')
ylabel('Amplitude')
p_male = ceil((fs/1000)*.75) + 4; %1 resonance every 1500 Hz for female
freq =1:fs/1000:fs/2;
  1 commentaire
Walter Roberson
Walter Roberson le 28 Déc 2019
So to clarify the problem requirement:
You need to take an arbitrary sentence (or fragment) spoken by someone who is 46XX chromosomes, and convert it to what it would sound like if the exact same person instead had 46XY chromosomes ? What should the outcome be if the analysis of the input sound detects that the speaker is 46XY with Complete Androgen Insensitivity Syndrome (CAIS) ?

Connectez-vous pour commenter.

Réponses (1)

Brian Hemmat
Brian Hemmat le 28 Déc 2019
If you're interested in just shifting the pitch (which will get you most of the way there in terms of perception of male vs. female voice), use the shiftPitch function in the Audio Toolbox (R2019b or later).

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by