我还没有能找到关于这个问题的任何文献。

有帮助吗?

解决方案

DTMF 仅覆盖数字09和字母#, *, A, B, C,D 。所以,如果你的问题是不存在任何支持d后字母,那么答案是否定的。

其他提示

好下面的函数所产生的16位带符号,线性PCM,在Java DTMF音调。

public byte[] generateTone(float a, float b)
{
    byte samples[] = new byte[16000];    // Tone data buffer.
    int frames = samples.length / 2;     // Number of frames that fit in the buffer.

    /* Fill the buffer with the tone data. */
    for(int i = 0; i < frames; i++)
    {
        /* The 8000 value is the sample rate. */
        short value = (short)(32768 + 63 * Math.sin(i * 2 * Math.PI * a / 8000) + 63 * Math.sin(i * 2 * Math.PI * b / 8000));
        samples[i + i] = (byte)(value >>> 8);
        samples[i + (i + 1)] = (byte)value;
    }

    return samples;
}

我希望这有助于...只是在两个频率塞作为参数a和b进出你得到一个基调。例如头号将作为产生:

byte tone[] = generateTone(697, 1209);

“DTMF‘触摸’音在VI CCITT卷定义为:在电话交换一般建议和信令建议Q.23:按钮式电话机的技术特点。”本文档及其相关的规范性文件会告诉你,比你会永远想了解DTMF音频。 “

此引用是从此处。该网页涵盖了所有的基本知识。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top