C++ DTMF detector and generator classes Wiki
Brought to you by:
plyashkevich
http://open-source-soft.narod.ru/dtmf_cpp.7z DTMF detector and generator. Was used standard C++,so DTMF detector and generator completely cross platform.It used robust and reliable fixed-point algorithm, so can fast work on fixed-point architecture.
Frame size, buffer size and sampling rate need to be adjusted so they fit a narrow margin, otherwise it won't work. Here are my values which work for me:
frame size 2, sampling rate 48000, buffer size 48.