Changes between Version 1 and Version 2 of Tone_Generator


Ignore:
Timestamp:
Sep 18, 2008 1:06:25 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tone_Generator

    v1 v2  
    1313== Accuracy == 
    1414 
    15 For the accuracy test, we setup the tone generator to generate digit A from [http://en.wikipedia.org/wiki/DTMF DTMF], with frequencies of 697 and 1209. We then analyzed the frequency using !CoolEdit (now becomes [http://www.adobe.com/special/products/audition/syntrillium.html Adobe Audition]). 
     15For the accuracy test, we setup the tone generator to generate digit A from [http://en.wikipedia.org/wiki/DTMF DTMF], with frequencies of 697 and 1209. We then saved the tone to a WAV file and analyzed the frequency using !CoolEdit (now becomes [http://www.adobe.com/special/products/audition/syntrillium.html Adobe Audition]). 
     16 
     17This is simple to do with [http://www.pjsip.org/pjsua.htm pjsua] really: 
     18 {{{ 
     19pjsua --play-tone 697,1209,200,2000 --rec-file tone.wav 
     20 }}} 
     21 
     22then issue these commands: 
     23 {{{ 
     24cc 1 2 
     25sleep 5000 
     26cd 1 2 
     27q 
     28 }}} 
     29 
     30And here is the graphics from the frequency analysis. 
     31 
     32|| PJMEDIA_TONEGEN_SINE:[[BR]] [[Image(sine.JPG)]] || PJMEDIA_TONEGEN_FLOATING_POINT:[[BR]] [[Image(float.JPG)]] || 
     33|| PJMEDIA_TONEGEN_FIXED_POINT_CORDIC with 10 iterations:[[BR]] [[Image(cordic10.JPG)]] || PJMEDIA_TONEGEN_FIXED_POINT_CORDIC with 8 iterations:[[BR]][[Image(cordic8.JPG)]] || 
     34|| PJMEDIA_TONEGEN_FIXED_POINT_CORDIC with 7 iterations:[[BR]] [[Image(cordic7.JPG)]] || PJMEDIA_TONEGEN_FAST_FIXED_POINT: [[BR]][[Image(fast-fixed-point.JPG)]] || 
    1635 
    1736