|
DTMFComputeFrequencies Method
|
Computes a dual-tone multi-frequency sound for the given
DTMF information and time.
Namespace: GSF.Media.SoundAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax public static double ComputeFrequencies(
DTMF tone,
long sampleIndex,
int sampleRate
)
Public Shared Function ComputeFrequencies (
tone As DTMF,
sampleIndex As Long,
sampleRate As Integer
) As Double
static member ComputeFrequencies :
tone : DTMF *
sampleIndex : int64 *
sampleRate : int -> float
GSF.Media.Sound.DTMF.ComputeFrequencies = function(tone, sampleIndex, sampleRate);
View SourceParameters
- tone DTMF
- Instance of the DTMF specifying the duration as well as the low and high frequencies of the dual-tone.
- sampleIndex Int64
- Sample index (represents time anywhere from zero to full length of tone).
- sampleRate Int32
- Number of samples per second.
Return Value
DoubleThe amplitude for the dual-tone at the given time.
Remarks
This method computes an amplitude representing the acoustic pressure of a
DTMF of the given frequency for the given time.
See Also