| java.lang.Object com.sun.j3d.audioengines.javasound.JSChannel
All known Subclasses: com.sun.j3d.audioengines.javasound.JSMidi, com.sun.j3d.audioengines.javasound.JSStream, com.sun.j3d.audioengines.javasound.JSClip,
JSChannel | class JSChannel (Code) | | The JSChannel Class defines an audio output methods that call JavaSound
API methods common for all data line types: streams, clip and MIDI lines.
|
Method Summary | |
static void | debugPrint(String message) | static void | debugPrintln(String message) | long | getDuration() | AudioInputStream | initAudioInputStream(InputStream inputStream, boolean cacheFlag) | AudioInputStream | initAudioInputStream(URL path, boolean cacheFlag) | DataLine | initDataLine(AudioInputStream ais) | boolean | initialize() | int | pauseSample() | int | pauseSamples() | AudioInputStream | reinitAudioInputStream(URL path) | AudioInputStream | reinitAudioInputStream(InputStream inputStream) | void | scaleSampleRate(float scaleFactor) | void | setSampleDelay(int delay) | void | setSampleFiltering(boolean filterFlag, float cutoffFreq) | void | setSampleGain(float gain) | void | setSampleRate() | void | setSampleReverb(int type, boolean on) | boolean | startSample(int loopCount, float gain, int delay) | boolean | startSamples(int loopCount, float leftGain, float rightGain, int leftDelay, int rightDelay) | int | stopSample() | int | stopSamples() | int | unpauseSample() | int | unpauseSamples() |
debugFlag | final static boolean debugFlag(Code) | | Debug print mechanism for Sound nodes
|
panLeft | static double panLeft(Code) | | |
panRight | static double panRight(Code) | | |
startTime | long startTime(Code) | | |
getDuration | long getDuration()(Code) | | |
initAudioInputStream | AudioInputStream initAudioInputStream(URL path, boolean cacheFlag)(Code) | | reference to newly created AudioInputStream |
initialize | boolean initialize()(Code) | | Code to initialize the device
flag: true is initialized sucessfully, false if error |
pauseSample | int pauseSample()(Code) | | |
pauseSamples | int pauseSamples()(Code) | | |
scaleSampleRate | void scaleSampleRate(float scaleFactor)(Code) | | |
setSampleDelay | void setSampleDelay(int delay)(Code) | | |
setSampleFiltering | void setSampleFiltering(boolean filterFlag, float cutoffFreq)(Code) | | |
setSampleGain | void setSampleGain(float gain)(Code) | | |
setSampleRate | void setSampleRate()(Code) | | |
setSampleReverb | void setSampleReverb(int type, boolean on)(Code) | | |
startSample | boolean startSample(int loopCount, float gain, int delay)(Code) | | |
startSamples | boolean startSamples(int loopCount, float leftGain, float rightGain, int leftDelay, int rightDelay)(Code) | | Start TWO Samples
|
stopSample | int stopSample()(Code) | | |
stopSamples | int stopSamples()(Code) | | |
unpauseSample | int unpauseSample()(Code) | | |
unpauseSamples | int unpauseSamples()(Code) | | |
|
|