net.jinx.audio.synth.source
Class DTMF

java.lang.Object
  extended by net.jinx.audio.synth.source.DTMF
All Implemented Interfaces:
SampleProcessor

public class DTMF
extends java.lang.Object
implements SampleProcessor

SampleProcessor source that generates DTMF (dual-tone multi-frequency) signals, such as those used by the phone system.


Field Summary
static int DTMF_0
           
static double DTMF_0_HIGH
           
static double DTMF_0_LOW
           
static int DTMF_1
           
static double DTMF_1_HIGH
           
static double DTMF_1_LOW
           
static int DTMF_2
           
static double DTMF_2_HIGH
           
static double DTMF_2_LOW
           
static int DTMF_3
           
static double DTMF_3_HIGH
           
static double DTMF_3_LOW
           
static int DTMF_4
           
static double DTMF_4_HIGH
           
static double DTMF_4_LOW
           
static int DTMF_5
           
static double DTMF_5_HIGH
           
static double DTMF_5_LOW
           
static int DTMF_6
           
static double DTMF_6_HIGH
           
static double DTMF_6_LOW
           
static int DTMF_7
           
static double DTMF_7_HIGH
           
static double DTMF_7_LOW
           
static int DTMF_8
           
static double DTMF_8_HIGH
           
static double DTMF_8_LOW
           
static int DTMF_9
           
static double DTMF_9_HIGH
           
static double DTMF_9_LOW
           
static int DTMF_A
           
static double DTMF_A_HIGH
           
static double DTMF_A_LOW
           
static int DTMF_B
           
static double DTMF_B_HIGH
           
static double DTMF_B_LOW
           
static int DTMF_BUSY
           
static double DTMF_BUSY_HIGH
           
static double DTMF_BUSY_LOW
           
static int DTMF_C
           
static double DTMF_C_HIGH
           
static double DTMF_C_LOW
           
static int DTMF_D
           
static double DTMF_D_HIGH
           
static double DTMF_D_LOW
           
static int DTMF_DIAL
           
static double DTMF_DIAL_HIGH
           
static double DTMF_DIAL_LOW
           
static int DTMF_POUND
           
static double DTMF_POUND_HIGH
           
static double DTMF_POUND_LOW
           
static int DTMF_RINGBACK_US
           
static double DTMF_RINGBACK_US_HIGH
           
static double DTMF_RINGBACK_US_LOW
           
static int DTMF_STAR
           
static double DTMF_STAR_HIGH
           
static double DTMF_STAR_LOW
           
 
Constructor Summary
DTMF(double lowFreq, double highFreq)
           
DTMF(int tone)
           
 
Method Summary
 SampleFormat getFormat()
           
 boolean isSource()
           
 void process(java.nio.DoubleBuffer sample)
           
 boolean setFormat(SampleFormat fmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTMF_0_LOW

public static double DTMF_0_LOW

DTMF_0_HIGH

public static double DTMF_0_HIGH

DTMF_1_LOW

public static double DTMF_1_LOW

DTMF_1_HIGH

public static double DTMF_1_HIGH

DTMF_2_LOW

public static double DTMF_2_LOW

DTMF_2_HIGH

public static double DTMF_2_HIGH

DTMF_3_LOW

public static double DTMF_3_LOW

DTMF_3_HIGH

public static double DTMF_3_HIGH

DTMF_4_LOW

public static double DTMF_4_LOW

DTMF_4_HIGH

public static double DTMF_4_HIGH

DTMF_5_LOW

public static double DTMF_5_LOW

DTMF_5_HIGH

public static double DTMF_5_HIGH

DTMF_6_LOW

public static double DTMF_6_LOW

DTMF_6_HIGH

public static double DTMF_6_HIGH

DTMF_7_LOW

public static double DTMF_7_LOW

DTMF_7_HIGH

public static double DTMF_7_HIGH

DTMF_8_LOW

public static double DTMF_8_LOW

DTMF_8_HIGH

public static double DTMF_8_HIGH

DTMF_9_LOW

public static double DTMF_9_LOW

DTMF_9_HIGH

public static double DTMF_9_HIGH

DTMF_STAR_LOW

public static double DTMF_STAR_LOW

DTMF_STAR_HIGH

public static double DTMF_STAR_HIGH

DTMF_POUND_LOW

public static double DTMF_POUND_LOW

DTMF_POUND_HIGH

public static double DTMF_POUND_HIGH

DTMF_A_LOW

public static double DTMF_A_LOW

DTMF_A_HIGH

public static double DTMF_A_HIGH

DTMF_B_LOW

public static double DTMF_B_LOW

DTMF_B_HIGH

public static double DTMF_B_HIGH

DTMF_C_LOW

public static double DTMF_C_LOW

DTMF_C_HIGH

public static double DTMF_C_HIGH

DTMF_D_LOW

public static double DTMF_D_LOW

DTMF_D_HIGH

public static double DTMF_D_HIGH

DTMF_DIAL_LOW

public static double DTMF_DIAL_LOW

DTMF_DIAL_HIGH

public static double DTMF_DIAL_HIGH

DTMF_BUSY_LOW

public static double DTMF_BUSY_LOW

DTMF_BUSY_HIGH

public static double DTMF_BUSY_HIGH

DTMF_RINGBACK_US_LOW

public static double DTMF_RINGBACK_US_LOW

DTMF_RINGBACK_US_HIGH

public static double DTMF_RINGBACK_US_HIGH

DTMF_0

public static int DTMF_0

DTMF_1

public static int DTMF_1

DTMF_2

public static int DTMF_2

DTMF_3

public static int DTMF_3

DTMF_4

public static int DTMF_4

DTMF_5

public static int DTMF_5

DTMF_6

public static int DTMF_6

DTMF_7

public static int DTMF_7

DTMF_8

public static int DTMF_8

DTMF_9

public static int DTMF_9

DTMF_STAR

public static int DTMF_STAR

DTMF_POUND

public static int DTMF_POUND

DTMF_A

public static int DTMF_A

DTMF_B

public static int DTMF_B

DTMF_C

public static int DTMF_C

DTMF_D

public static int DTMF_D

DTMF_DIAL

public static int DTMF_DIAL

DTMF_BUSY

public static int DTMF_BUSY

DTMF_RINGBACK_US

public static int DTMF_RINGBACK_US
Constructor Detail

DTMF

public DTMF(int tone)

DTMF

public DTMF(double lowFreq,
            double highFreq)
Method Detail

setFormat

public boolean setFormat(SampleFormat fmt)
Specified by:
setFormat in interface SampleProcessor

getFormat

public SampleFormat getFormat()
Specified by:
getFormat in interface SampleProcessor

process

public void process(java.nio.DoubleBuffer sample)
Specified by:
process in interface SampleProcessor

isSource

public boolean isSource()
Specified by:
isSource in interface SampleProcessor