DTMF Generation and DTMF Detection
william chan
Posts: 1,326
Hi,
How easy would it be to implement DTMF generation and DTMF detection code (using Sigma Delta ADC) on the propeller?
Would it be easier to implement than on the SX?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
How easy would it be to implement DTMF generation and DTMF detection code (using Sigma Delta ADC) on the propeller?
Would it be easier to implement than on the SX?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
This should point you in the right direction;
http://en.wikipedia.org/wiki/Goertzel_algorithm
BTW do you have the Propeller Proto board & Plug in stock?
Azlan
http://www.rayslogic.com/propeller/Programming/dac/dac.htm
I think Paul Baker posted some kind of spectrum analyzer code a while ago for use with sigma-delta ADC.
Those two things should do it, I think...
Is there any possibility that use your "ASM WAV Player" as a DAC, to play the samples captured by the MIC of the demo board ??
Just like the "microphone to headphones demo" but using your asm code as a DAC....
Unless only one channel, & unless only 8-12 bits sampled. Although thinking to use it, with an external 16 bits A/D.
I tried to do this before but I can't, just using the Buffers[noparse]/noparse as an input for the samples.
Sorry for OT for this thread.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
Here's the touch tone wav files. With Rayman's player this should solve the output side.
community.voxeo.com/library/audio/prompts/dtmf/index.jsp
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Both Propeller Protoboard and Propeller Plug is in stock at our office.
How many pieces you need?
Thanks everyone.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
The previously suggested Goertezel algorithm is related to the FFT.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
But, if you want good quality, you will probably need to save to SD card.·
Just be carefull with the data format...· 16-bit data is stored as two's compliment (or you can think of it as 7FFF being the baseline, 0000 being the minimum possible value and FFFF being the maximum possible value).· But, 8-bit data is strored a different way...
I will try your suggests.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.