|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaudio.AudioInput
public class AudioInput
| Field Summary | |
|---|---|
int |
audio_line
|
static int |
FREQUENCY_CUTOFF
|
static int |
SAMPLE_RATE
|
static int |
SUBSAMPLE
|
| Constructor Summary | |
|---|---|
AudioInput(DoubleBuffer b,
int line)
Creates a new instance of AudioInput |
|
| Method Summary | |
|---|---|
float |
D_volume_high()
|
float |
D_volume_low()
|
void |
increment_visualisation(int n)
|
void |
increment_volume(int n)
|
boolean |
is_active()
returns true if this AudioInput is active |
static void |
main(java.lang.String[] args)
|
int |
pitch_color()
Computes a color from audio input |
void |
render()
Draws the current sound data to the given graphics |
void |
set_active(boolean a)
Turns this AudioInput on or off |
void |
set_visualisation(int i)
|
void |
setDataWeight(float f)
Sets the incoming data weights |
void |
setVolume(float v)
Sets the volume |
void |
simulate_tone(int i)
|
int |
sound_color()
Computes a color from audio input |
void |
start()
Starts the capture thread |
void |
stop()
stops listening |
int |
visualisation_index()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int audio_line
public static final int SAMPLE_RATE
public static final int FREQUENCY_CUTOFF
public static final int SUBSAMPLE
| Constructor Detail |
|---|
public AudioInput(DoubleBuffer b, int line)
b - line - | Method Detail |
|---|
public void setDataWeight(float f)
f - public void setVolume(float v)
v - public int visualisation_index()
public void increment_visualisation(int n)
n - public void set_visualisation(int i)
i - public void increment_volume(int n)
n - public void set_active(boolean a)
a - public boolean is_active()
public void start()
public void stop()
public void render()
public void simulate_tone(int i)
i - public int sound_color()
public int pitch_color()
public float D_volume_low()
public float D_volume_high()
public static void main(java.lang.String[] args)
args -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||