Extract only the voiced part from a wav file?
5 ビュー (過去 30 日間)
古いコメントを表示
Read a wav file, i.e. a word, and then estimate only the voiced part of the file (only where there is activity). Save it in a new file and process it further.
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2017 年 11 月 25 日
%Test for Audio Extraction % Source@Stack Overflow
file='wav.AVI'; % Wav input file
file1='targetfile.wav';
hmfr= video.MultimediaFileReader(file,'AudioOutputPort',true,'VideoOutputPort',false);
hmfw = video.MultimediaFileWriter(file1,'AudioInputPort',true,'FileFormat','WAV');
while ~isDone(hmfr)
audioFrame=step(hmfr);
step(hmfw,audioFrame);
end
close(hmfw);
close(hmfr);
%end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulation, Tuning, and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!