Voice
3 次查看(过去 30 天)
显示 更早的评论
I wrote a program that analysis a stereo voice file when I am trying to analysis a new voice file I have found error due to Mono file.
How can I change a stereo voice file to mono ?
0 个评论
回答(1 个)
Wayne King
2012-5-6
If the stereo voice file is Nx2, then just extract 1 column
X = randn(2e4,2);
Y = X(:,1);
3 个评论
Image Analyst
2012-5-6
Or, since he already has his stereo analysis program written and done, just use repmat() to convert the new "Mono file" into a stereo file. This would make sure it doesn't break anything in his existing program that depends on the signal being stereo.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Speech Recognition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!