public class ZenTone
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
generate(int freq,
int duration,
float volumne,
ToneStoppedListener toneStoppedListener)
Generate pure tone
|
static ZenTone |
getInstance()
Gets instance.
|
void |
stop()
Stop.
|
public static ZenTone getInstance()
public void generate(int freq,
int duration,
float volumne,
ToneStoppedListener toneStoppedListener)
freq - the freqduration - the durationvolumne - the volumnetoneStoppedListener - the tone stopped listenerpublic void stop()