For a project, I was asked to create a DTMF detector on Matlab. I know that the audio sample that will be provided will have 4 tones maximum, possibly less, and that the audio begins with a 0.1 second silence. Each of the tones lasts 0.5-2 seconds, and a silence of 0.1-1.5 seconds follows it. I do not for sure what the length of the file will be, as it may contain anything from 1-4 tones.
I understood that I first need to separate each tone in order to run it through a bank of band pass filters and determine its two original frequencies. This needs to be done by measuring the power/energy of the signal at various points. I looked at the documentation and found findchangepts(). Am I on the right path?