I want a MATLAB code for removing silence from a speech signal..
5 ビュー (過去 30 日間)
古いコメントを表示
I need a short and simple code..
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 9 月 27 日
Suppose that your signal is stored in S. Then
newS = S( any(S,2), :);
This will create newS that has only the places where at least one of the sound channels is non-zero. For this purpose, I have defined "silence" as a sample value exactly equal to 0, of any duration.
Short and simple (and simplistic)
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!