how to change female voice to male voice using matlab?
21 views (last 30 days)
Show older comments
%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 Comment
Walter Roberson
on 28 Dec 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) ?
Answers (1)
Brian Hemmat
on 28 Dec 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).
0 Comments
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!