Forums

IVR

Started by anuradha_12 August 28, 2009
hi guys

Im new to DSP and stuff.I'm trying to create an IVR for my final year
project. I'm planing to use Goertzel algorithm for this.This is a non TAPI
windows based IVR which uses live sound stream to detect DTMF tones.
Following APIs will allow me to access to the sound card

WaveInOpen()
waveInPrepareHeader()
waveInAddBuffer()
waveInStart()
waveInUnprepareHeader()
waveInClose()

Do I need to sample the Audio stream???If so how can I do that???
How can I use Goertzel to Detect DTMF tones ??
(If there is an example code, that will help me lot)

Thank you



anuradha_12 wrote:

> hi guys > > Im new to DSP and stuff.I'm trying to create an IVR for my final year > project. I'm planing to use Goertzel algorithm for this.This is a non TAPI > windows based IVR which uses live sound stream to detect DTMF tones. > Following APIs will allow me to access to the sound card > > WaveInOpen() > waveInPrepareHeader() > waveInAddBuffer() > waveInStart() > waveInUnprepareHeader() > waveInClose()
BTDT. FFS RTFM MSDN. STFG. HTH.
> Do I need to sample the Audio stream???If so how can I do that??? > How can I use Goertzel to Detect DTMF tones ??
OMFG WTF.
> (If there is an example code, that will help me lot)
Lamer! VLV
> > >anuradha_12 wrote: > >> hi guys >> >> Im new to DSP and stuff.I'm trying to create an IVR for my final year >> project. I'm planing to use Goertzel algorithm for this.This is a non
TAPI
>> windows based IVR which uses live sound stream to detect DTMF tones. >> Following APIs will allow me to access to the sound card >> >> WaveInOpen() >> waveInPrepareHeader() >> waveInAddBuffer() >> waveInStart() >> waveInUnprepareHeader() >> waveInClose() > >BTDT. FFS RTFM MSDN. STFG. HTH. > >> Do I need to sample the Audio stream???If so how can I do that??? >> How can I use Goertzel to Detect DTMF tones ?? > >OMFG WTF. > >> (If there is an example code, that will help me lot) > >Lamer! > >VLV >
I think that pretty much sums it up. I don't want to be a downer, but if you don't know whether you need to "sample the Audio stream???" or can't look up Goertzel / DTMF detection examples on Google, then you might want to pick a different project. Jacob
>> >> >>anuradha_12 wrote: >> >>> hi guys >>> >>> Im new to DSP and stuff.I'm trying to create an IVR for my final year >>> project. I'm planing to use Goertzel algorithm for this.This is a non >TAPI >>> windows based IVR which uses live sound stream to detect DTMF tones. >>> Following APIs will allow me to access to the sound card >>> >>> WaveInOpen() >>> waveInPrepareHeader() >>> waveInAddBuffer() >>> waveInStart() >>> waveInUnprepareHeader() >>> waveInClose() >> >>BTDT. FFS RTFM MSDN. STFG. HTH. >> >>> Do I need to sample the Audio stream???If so how can I do that??? >>> How can I use Goertzel to Detect DTMF tones ?? >> >>OMFG WTF. >> >>> (If there is an example code, that will help me lot) >> >>Lamer! >> >>VLV >> > >I think that pretty much sums it up. I don't want to be a downer, but
if
>you don't know whether you need to "sample the Audio stream???" or can't >look up Goertzel / DTMF detection examples on Google, then you might
want
>to pick a different project. > >Jacob >
@Jacob First of all thanks for you advice.But I have already assigned for this. Its too late to choose another project. I do google it and I have already found a code of Goertzel.I do understand the Goertzel. I don't know how to sample a live audio stream. With out knowing how to sample a audio stream I can't use the Goertzel. I know that.One of my friends is helping me right now.Anyway thank you very much. And unfortunately one ass hole is too busy with finding some acronyms for my post. Such a waste of time. I know how to use the MSDN punk . don't tell me how to use it. DSP is not my area that's why I choose to get a professional help . But I forgot one thing that when in a bunch of smart people there is always an one fucking idiot who tries to play the hero. Another thing ass hole I don't use acronyms. I use English. So FUCK YOU.
On Fri, 28 Aug 2009 23:51:02 -0500, "anuradha_12"
<anuindika@gmail.com> wrote:


    [Snipped by Lyons]
> >And unfortunately one ass hole is too busy with finding some acronyms for >my post. Such a waste of time. I know how to use the MSDN punk . don't tell >me how to use it. DSP is not my area that's why I choose to get a >professional help . But I forgot one thing that when in a bunch of smart >people there is always an one fucking idiot who tries to play the hero. >Another thing ass hole I don't use acronyms. I use English. So FUCK YOU.
Ha ha. Part of your post was in English and part wasn't. I think Vladimir was trying to teach you avoid using acronyms that are not well-known to everyone. When I read your post, here's what my eyes saw: "Im new to DSP and stuff.I'm trying to create an ??? for my final year project. I'm planing to use Goertzel algorithm for this. This is a non ??? windows based ??? which uses ..." We can ignore the sloppy punctuation and incorrect grammar in your post, but the acronyms you use are gibberish to many people. Here's a little advice: poor communications skills will cause you (and your colleagues) much more trouble in the future than any technical-knowledge shortcoming that you may have. It will serve you well, in your career, to spend time developing good communications skills. There's no shame is writing sentences that are clear, concise, and unambiguous. I'm waiting to see if you tell me to "Fuck Off." [-Rick-]
>And unfortunately one ass hole is too busy with finding some acronyms
for
>my post. Such a waste of time. I know how to use the MSDN punk . don't
tell
>me how to use it. DSP is not my area that's why I choose to get a >professional help . But I forgot one thing that when in a bunch of smart >people there is always an one fucking idiot who tries to play the hero. >Another thing ass hole I don't use acronyms. I use English. So FUCK YOU. > >
Wow!!!! For the first time I have seen these kind of response to Vlad.... Chill young lady... This is his kind and polite way to reply....welcome to dsp group :-) Chintan
anuradha_12 wrote:

   ...

> Another thing ass hole I don't use acronyms. I use English. So FUCK YOU.
What is IVR an acronym for? Here's a little DSP (digital signal processing) for assholes like you: The real world is analog. What comes out of a microphone is an analog of the sound pressure in the air that impinges on it. The a sound card's ADC (analog-to-digital converter) samples that and creates from it a sequence of numbers in digital form that represent the signal. Provided the signal was properly bandlimited before the sampling -- the sound card should do that for you -- it can ve reconstructed by a DAC (digital-to-analog) converter and subsequent reconstruction filter, also on the sound card. The short answer: you sample an audio stream with, in your case, a sound card, then store the samples in a file that lets you use calls like WaveInOpen(), waveInPrepareHeader(), waveInAddBuffer(), waveInStart(), waveInUnprepareHeader(), and waveInClose(). I am reminded of Moliere's "Bourgois Gentilhomme". You too can talk prose. Now FUCK OFF, asshole. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
Jerry Avins <jya@ieee.org> writes:
> [...] > Now FUCK OFF, asshole.
Now Jerry, quit pussy-footin' around and tell him what you REALLY think! :) -- Randy Yates % "My Shangri-la has gone away, fading like Digital Signal Labs % the Beatles on 'Hey Jude'" mailto://yates@ieee.org % http://www.digitalsignallabs.com % 'Shangri-La', *A New World Record*, ELO
Randy Yates wrote:
> Jerry Avins <jya@ieee.org> writes: >> [...] >> Now FUCK OFF, asshole. > > Now Jerry, quit pussy-footin' around and tell him what you REALLY think! :)
This has been a bad week for me. I seem to have diminished capacity to suffer fools politely. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
On 8/28/2009 9:51 PM, anuradha_12 wrote:
>>> >>> anuradha_12 wrote: >>> >>>> hi guys >>>> >>>> Im new to DSP and stuff.I'm trying to create an IVR for my final year >>>> project. I'm planing to use Goertzel algorithm for this.This is a non >> TAPI >>>> windows based IVR which uses live sound stream to detect DTMF tones. >>>> Following APIs will allow me to access to the sound card >>>> >>>> WaveInOpen() >>>> waveInPrepareHeader() >>>> waveInAddBuffer() >>>> waveInStart() >>>> waveInUnprepareHeader() >>>> waveInClose() >>> BTDT. FFS RTFM MSDN. STFG. HTH. >>> >>>> Do I need to sample the Audio stream???If so how can I do that??? >>>> How can I use Goertzel to Detect DTMF tones ?? >>> OMFG WTF. >>> >>>> (If there is an example code, that will help me lot) >>> Lamer! >>> >>> VLV >>> >> I think that pretty much sums it up. I don't want to be a downer, but > if >> you don't know whether you need to "sample the Audio stream???" or can't >> look up Goertzel / DTMF detection examples on Google, then you might > want >> to pick a different project. >> >> Jacob >> > > @Jacob > First of all thanks for you advice.But I have already assigned for this. > Its too late to choose another project. I do google it and I have already > found a code of Goertzel.I do understand the Goertzel. I don't know how to > sample a live audio stream. With out knowing how to sample a audio stream I > can't use the Goertzel. I know that.One of my friends is helping me right > now.Anyway thank you very much. > > And unfortunately one ass hole is too busy with finding some acronyms for > my post. Such a waste of time. I know how to use the MSDN punk . don't tell > me how to use it. DSP is not my area that's why I choose to get a > professional help . But I forgot one thing that when in a bunch of smart > people there is always an one fucking idiot who tries to play the hero. > Another thing ass hole I don't use acronyms. I use English. So FUCK YOU.
Ouch. Vlad can be very rude, and you're going to take some heat for your response partly because people's tolerance for newbie rudeness has been diminished due to another poster in another thread. The fact is that you did use some acronyms that are unfamiliar to people (including me), so, unfortunately people who may want to help you may not be able to. I don't know what IVR, TAPI, or API are. I also don't know the context or use of the functions you listed. I could tell you how to apply the Goertzel algorithm to detect DTMF tones, as could a lot of other people here, but there's still a big gap between that and whatever it is you're trying to do. My suggestion would be rather than responding with rudeness (even if you think that's what was sent to you), try to rephrase your question in clearer terms. I suspect that if you can do that you'll get some useful answers. -- Eric Jacobsen Minister of Algorithms Abineau Communications http://www.abineau.com