public class RHSoundUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static float |
SAMPLE_RATE |
Constructor and Description |
---|
RHSoundUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
playTone(int hz,
int msecs) |
static void |
playTone(int hz,
int msecs,
double vol) |
public static void playTone(int hz, int msecs) throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
public static void playTone(int hz, int msecs, double vol) throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
RH, 2017