Splitting a DTMF signal from a wav file using Matlab

后端 未结 2 1937
走了就别回头了
走了就别回头了 2021-01-16 05:03

Here is the context of the problem: I have a DTMF signal in wav format, I have to identify the number sequence it has encoded. I must do so using fast fourier transform in M

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-16 05:40

    This worked for me:

    windowSize = 256;   
    nbWindows = floor(L / windowSize);
    
    for i=1:nbWindows
        coeffs = fft(signal((i-1)*windowSize+1:i*windowSize));    
        plot(abs(coeffs(1:N)));
        waitforbuttonpress
    end;
    

    This way it is possible to shift the window until the end of the input signal

提交回复
热议问题