Tone generation by frequency modulation(f1*f2) and conjugation(f1+f2) !! ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,Can anyone help regarding generating tone based on frequency modulation and frequency conjugation??????
pjmedia_tone_desc tones[1];

         tones[0].freq1 = 200;
         tones[0].freq2 = 0;
         tones[0].on_msec = ON_DURATION;
         tones[0].off_msec = OFF_DURATION;?status = pjmedia_tonegen_play(port, 1, tones, 0);
Here 'freq2' is frequency which is used only if 'freq1' is wrong..ON_DURATION & OFF-DURATION refers to time in ms?unto?which tone should be on and off respectively...
Now i want that when i provide 2 frequencies it should do modulation(*) and/or conjugation(+) and generate ring accordingly!!
Can anybody help with it???????It is same as generation of various tone like dial tone,busy tone,error tone....etc
Thanks,Vikas Khanna.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111115/e4ecb248/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux