public class SoundBit extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
length |
protected String |
name |
static float |
SAMPLING |
Constructor and Description |
---|
SoundBit() |
Modifier and Type | Method and Description |
---|---|
static void |
checkFormat(AudioInputStream stream) |
double[] |
events(double frequence,
double period,
double cut) |
double |
get(char channel,
double time) |
double |
get(char channel,
long index) |
double |
getLength() |
String |
getName() |
AudioInputStream |
getStream() |
void |
play() |
void |
play(double period) |
SoundBit |
reset(String definition) |
void |
sample(int n) |
void |
save(String path) |
void |
setLength(double length) |
String |
toString() |
protected String name
protected double length
public static final float SAMPLING
public double get(char channel, long index)
public double get(char channel, double time)
public String getName()
public void setLength(double length)
public double getLength()
public AudioInputStream getStream()
public void save(String path) throws IOException
IOException
public void play(double period)
public void play()
public void sample(int n)
public static void checkFormat(AudioInputStream stream)
public double[] events(double frequence, double period, double cut)
Copyright © 2024. All rights reserved.