音调控制器问题 [英] Tone Controller question

查看:73
本文介绍了音调控制器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要生成一些DTMF音调。尽管使用ToneController类似乎很简单,但似乎缺少的一件事就是控制音调的持续时间。例如要做* 8(* t等)传输,你需要发送一段时间的音调
,然后延迟一定的时间,然后发送一定宽度(时间)的anotehr脉冲。似乎没有办法控制发送的DTMF数字的长度。 

I need to generate some DTMF tones. Although it appears to be pretty simple using the ToneController class, one thing that seems to be missing is anyway to control the tones duration. For example to do *8 (*t, etc) transfers, you need to send tones that for a certain length of time, then delay a certain amount of time, then send anotehr pulse of a certain width (time). There appears to be no way to control the length of the DTMF digits sent. 

我只想验证这一点,如果这是真的,还有其他办法发送dtmf并能够控制dtmf播放持续时间吗?

I just wanted to validate this and if this is true, is there any other way to send dtmf and be able to control the dtmf play time duration?

 

另一个重要问题是我假设这是一个同步通话,但我可以放心,当这个通话返回时,音调已经完成播放(所以我可以播放延迟,然后是下一个音调)?如果这是异步的,我没有看到任何方式注册
,以便在完成音调播放时被告知。澄清这一点会很棒。

Another important question is I assume this is a synchronous call, but can I be assured that when this call returns that the tone is done playing (so I can play a delay and then the next tone)? If this is asynchronous I didn't see any way to register to get told when the tone is done playing. Getting clarification on this would be great.

回到语音服务器时代,DtmfRecognitionEngine曾经有一个sendDtmf方法,可以让你定义dtmf数字的长度以及数字之间的延迟 - 非常好!任何可用的东西(注意microsoft.speech.dtmfrecognitionengine
没有那种方法)。

Back in speech server days, teh DtmfRecognitionEngine used to have a sendDtmf method that let you define the length of the dtmf digits as well as the delay between digits - very nice! Anything like that available (note microsoft.speech.dtmfrecognitionengine does not have that method).

感谢您的帮助。

推荐答案

迈克作为一个与UCMA不相符的DTMF音调不是严格的音调而是特殊事件 根据RFC 2833注入RTP的数据包。根据您所连接的内容,一种可能性是将来自wav / wma文件的
记录的DTMF音调串起来并将其作为音频播放。这样你就可以控制音调的音量,速度和持续时间。值得一试。 


Mike as a undestand it with UCMA the DTMF tones are not strictly tones but special event packets injected into the RTP in accordance with RFC 2833. One possibility, depending on what you are connecting to, is to string together recorded DTMF tones from a wav/wma file and play them as audio. That way you can control the volume, speed and duration of the tones. Worth a shot. 


这篇关于音调控制器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆