- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
how to use Goertzel function to detect DTMF signal?
As source I have PCM data 48000Hz splitted into 40ms slices.
How to detect the key 1 (two tones 697Hz and 1209Hz) ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check file at samples: speech-codecs\codec\speech\td\src\usc_dtmf.c.
Please take a not that this is only sample and does not conforms to standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what about ipp Goertz function?
IppStatus ippsGoertz_16s_Sfs(const Ipp16s* pSrc, int len, Ipp16sc* pVal, Ipp32f rFreq, int scaleFactor)
what is the "rFreq" in my case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sascha wrote:
what about ipp Goertz function?
IppStatus ippsGoertz_16s_Sfs(const Ipp16s* pSrc, int len, Ipp16sc* pVal, Ipp32f rFreq, int scaleFactor)
what is the "rFreq" in my case?
maybe someone need it, here is the answer:
//and you need scale factor 10
ippsGoertz_16s_Sfs(pBuffer, AudioSamplesPerFrame, &pVal_Low[0], (697.0f / 48000.0f), 10 );
ippsGoertz_16s_Sfs(pBuffer, AudioSamplesPerFrame, &pVal_High[0], (1209.0f / 48000.0f), 10 );
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page