Yes, of course. You have to capture and isolate that certain sound you want and digitize it. Actually, even an analog signal can be decoded, such as DTMF tones. I have an idea of where you're going with this. But it will be better if you share in this forum what you really need to solve, so Mathlab users can respond.