DTMF decoder printing digits from .wav file, help please
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello everyone,
I uploaded a zip file with a .mat file, .wav file and the code inside of it, it has to decode a DTMF sound and print the digits that was pressed in the audio file, I already have pre recorded audio files and i need to decode them, I took this code from other question here and it works with the .mat file attached there, but it doesn't work for my pre recorded audio files. It works with phonecall.mat, but doesn't work with dtmf_TESTI_101.wav, can anyone help me and tell what is the problem? It gives this error:
Unable to perform assignment because the size of the left side is 2-by-1 and the size of the right side is 4-by-1.
Error in matlab_code (line 18)
[~,freq_pos(:,k1)] = min(freq_dist,[],2); % Frequency Positions Of ‘FrqTime’ In ‘original_f’
P.S. to read .wav file i changed the first line of the code to this: [x,fs] = audioread('dtmf_TESTI_101.wav');
Risposte (0)
Vedere anche
Categorie
Scopri di più su DTMF in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!