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!