MATLAB Answers

how to change female voice to male voice using matlab?

61 ビュー (過去 30 日間)
gul muhammad
gul muhammad 2019 年 12 月 2 日
コメント済み: Walter Roberson 2019 年 12 月 28 日
%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 件のコメント

Walter Roberson
Walter Roberson 2019 年 12 月 28 日
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) ?

Sign in to comment.

回答 (1 件)

Brian Hemmat
Brian Hemmat 2019 年 12 月 28 日
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 件のコメント

Sign in to comment.


Translated by