dtmfSigGen(string, pulseLen, NullLen, sampleRate)

Generates a pulse train that represents the DTMF signal corresponding to a given set of characters


Syntax

o_dtmfSigGen(string, pulseLen, nulLen, sampleRate)
string:  scalar string - characters to be coded into DTMF pulse train
pulseLen: scalar real64 - duration of the desired DTMF pulse in seconds
nullLen: scalar real64 - duration of the nulls between pulses in seconds
sampleRate: scalar real64 - sample rate of the desired signal in samples per second
Return: waveform - the DTMF signal

Usage

This function is used to generate a DTMF pulse train from an arbitrary set of characters.

Location

menu: veeos ==> signal processing ==> modules ==> dtmfSigGen

library: sigLib

Example

Notes

In a real-world situation noise and distortion may well be present. This function generates pure tones, so anything else needs to be added later. If only a single pulse is needed, it is recommended to use dtmfPulse().

Reference

DTMF is a very simple standard consisting of two audio frequencies and developed to enable simple data signaling over telephone lines.

Dependencies

o_dtmfPulse()

Supported On

VEE 7.0+, All platforms.

See Also

dtmfCode, dtmfDecode, dtmfPulse, dtmfRcvPulse, dtmfReceiver


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:03.