프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Duration | double | ||
HighFrequency | double | ||
LowFrequency | double |
메소드 | 설명 | |
---|---|---|
ComputeFrequencies ( |
Computes a dual-tone multi-frequency sound for the given DTMF information and time. This method computes an amplitude representing the acoustic pressure of a DTMF of the given frequency for the given time. |
|
DTMF ( ) : System |
Constructs a new DTMF.
|
|
DTMF ( double lowFrequency, double highFrequency, double duration ) : System |
Constructs a new DTMF using specified parameters.
|
|
Generate ( WaveFile destination, |
Generates the specified dual-tone multi-frequency storing it in the specified WaveFile.
|
|
Generate ( WaveFile destination, |
Generates the specified dual-tone multi-frequency repeatCount times storing it in the specified WaveFile.
|
public static ComputeFrequencies ( |
||
tone | Instance of the |
|
sampleIndex | long | Sample index (represents time anywhere from zero to full length of tone). |
sampleRate | int | Number of samples per second. |
리턴 | double |
public DTMF ( double lowFrequency, double highFrequency, double duration ) : System | ||
lowFrequency | double | A |
highFrequency | double | A |
duration | double | A |
리턴 | System |
public static Generate ( WaveFile destination, |
||
destination | WaveFile | |
tone | Dual-tone multi-frequency to generate. | |
volume | double | Volume of generated dual-tones as a percentage (0 to 1). |
리턴 | void |
public static Generate ( WaveFile destination, |
||
destination | WaveFile | |
tone | Dual-tone multi-frequency to generate. | |
volume | double | Volume of generated dual-tones as a percentage (0 to 1). |
repeatCount | int | Number of times to repeat the tone. |
리턴 | void |