Info
此问题已关闭。 请重新打开它进行编辑或回答。
how i can combine keyboard voice to my voice. i am giving the code which i am using.
4 次查看(过去 30 天)
显示 更早的评论
[y,fs,nbits]=wavread('C:\Users\HP\Desktop\anjali.wav');
sound(y,fs)
t=0:1/fs:length(y)/fs-1/fs;
% original waveform
figure(1)
subplot(3,3,1)
plot(t,y)
title ('time domain waveform of untitled1.wav')
xlabel('time (sec)')
ylabel('amplitude')
%%%%%% keyboard noise
[z,fs,nbits]=wavread('C:\Users\HP\Desktop\keyboard.wav');
sound(z,fs)
t1=0:1/fs:length(z)/fs-1/fs;
% keyboard waveform
figure(2)
plot(t1,z)
title ('time domain waveform of untitled.wav')
xlabel('time (sec)')
ylabel('amplitude')
%%%%%%%%%
y3 = [y(1:500,:); z; y(501:end)];
sound(y3,fs)
t=0:1/fs:length(y)/fs-1/fs;
1 个评论
Jan
2013-4-4
The question is not clear. Please explain "combine" with any details and describe, if the code is working properly or which problems it has.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!