public class

EmergencySoundbank

extends Object
java.lang.Object
   ↳ com.sun.media.sound.EmergencySoundbank

Class Overview

Emergency Soundbank generator. Used when no other default soundbank can be found.

Summary

Public Constructors
EmergencySoundbank()
Public Methods
static void complexGaussianDist(double[] cdata, double m, double s, double v)
static SF2Soundbank createSoundbank()
static void fadeUp(double[] data, int samples)
static void fadeUp(float[] data, int samples)
static void fft(double[] data)
static void ifft(double[] data)
static double[] imgPart(double[] in)
static double[] loopExtend(double[] data, int newsize)
static float[] loopExtend(float[] data, int newsize)
static SF2Instrument newInstrument(SF2Soundbank sf2, String name, Patch patch, SF2Layer... layers)
static SF2Layer newLayer(SF2Soundbank sf2, String name, SF2Sample sample)
static SF2Sample newSimpleDrumSample(SF2Soundbank sf2, String name, double[] data)
static SF2Sample newSimpleFFTSample(SF2Soundbank sf2, String name, double[] data, double base, int fadeuptime)
static SF2Sample newSimpleFFTSample(SF2Soundbank sf2, String name, double[] data, double base)
static SF2Sample newSimpleFFTSample_dist(SF2Soundbank sf2, String name, double[] data, double base, double preamp)
static SF2Layer new_bass1(SF2Soundbank sf2)
static SF2Layer new_bass2(SF2Soundbank sf2)
static SF2Layer new_bass_drum(SF2Soundbank sf2)
static SF2Layer new_bassoon(SF2Soundbank sf2)
static SF2Layer new_bell(SF2Soundbank sf2)
static SF2Layer new_brass_section(SF2Soundbank sf2)
static SF2Layer new_ch_organ(SF2Soundbank sf2)
static SF2Layer new_choir(SF2Soundbank sf2)
static SF2Layer new_clarinet(SF2Soundbank sf2)
static SF2Layer new_closed_hihat(SF2Soundbank sf2)
static SF2Layer new_crash_cymbal(SF2Soundbank sf2)
static SF2Layer new_epiano1(SF2Soundbank sf2)
static SF2Layer new_epiano2(SF2Soundbank sf2)
static SF2Layer new_flute(SF2Soundbank sf2)
static SF2Layer new_gpiano(SF2Soundbank sf2)
static SF2Layer new_gpiano2(SF2Soundbank sf2)
static SF2Layer new_guitar1(SF2Soundbank sf2)
static SF2Layer new_guitar_dist(SF2Soundbank sf2)
static SF2Layer new_guitar_pick(SF2Soundbank sf2)
static SF2Layer new_horn(SF2Soundbank sf2)
static SF2Layer new_melodic_toms(SF2Soundbank sf2)
static SF2Layer new_oboe(SF2Soundbank sf2)
static SF2Layer new_open_hihat(SF2Soundbank sf2)
static SF2Layer new_orchhit(SF2Soundbank sf2)
static SF2Layer new_organ(SF2Soundbank sf2)
static SF2Layer new_piano1(SF2Soundbank sf2)
static SF2Layer new_piano_hammer(SF2Soundbank sf2)
static SF2Layer new_reverse_cymbal(SF2Soundbank sf2)
static SF2Layer new_sax(SF2Soundbank sf2)
static SF2Layer new_side_stick(SF2Soundbank sf2)
static SF2Layer new_snare_drum(SF2Soundbank sf2)
static SF2Layer new_solostring(SF2Soundbank sf2)
static SF2Layer new_string2(SF2Soundbank sf2)
static SF2Layer new_synthbass(SF2Soundbank sf2)
static SF2Layer new_timpani(SF2Soundbank sf2)
static SF2Layer new_tom(SF2Soundbank sf2)
static SF2Layer new_trombone(SF2Soundbank sf2)
static SF2Layer new_trumpet(SF2Soundbank sf2)
static void normalize(float[] data, double target)
static void normalize(double[] data, double target)
static void randomPhase(double[] data, Random random)
static void randomPhase(double[] data)
static double[] realPart(double[] in)
static byte[] toBytes(float[] in, AudioFormat format)
static float[] toFloat(double[] in)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EmergencySoundbank ()

Public Methods

public static void complexGaussianDist (double[] cdata, double m, double s, double v)

public static SF2Soundbank createSoundbank ()

Throws
Exception

public static void fadeUp (double[] data, int samples)

public static void fadeUp (float[] data, int samples)

public static void fft (double[] data)

public static void ifft (double[] data)

public static double[] imgPart (double[] in)

public static double[] loopExtend (double[] data, int newsize)

public static float[] loopExtend (float[] data, int newsize)

public static SF2Instrument newInstrument (SF2Soundbank sf2, String name, Patch patch, SF2Layer... layers)

public static SF2Layer newLayer (SF2Soundbank sf2, String name, SF2Sample sample)

public static SF2Sample newSimpleDrumSample (SF2Soundbank sf2, String name, double[] data)

public static SF2Sample newSimpleFFTSample (SF2Soundbank sf2, String name, double[] data, double base, int fadeuptime)

public static SF2Sample newSimpleFFTSample (SF2Soundbank sf2, String name, double[] data, double base)

public static SF2Sample newSimpleFFTSample_dist (SF2Soundbank sf2, String name, double[] data, double base, double preamp)

public static SF2Layer new_bass1 (SF2Soundbank sf2)

public static SF2Layer new_bass2 (SF2Soundbank sf2)

public static SF2Layer new_bass_drum (SF2Soundbank sf2)

public static SF2Layer new_bassoon (SF2Soundbank sf2)

public static SF2Layer new_bell (SF2Soundbank sf2)

public static SF2Layer new_brass_section (SF2Soundbank sf2)

public static SF2Layer new_ch_organ (SF2Soundbank sf2)

public static SF2Layer new_choir (SF2Soundbank sf2)

public static SF2Layer new_clarinet (SF2Soundbank sf2)

public static SF2Layer new_closed_hihat (SF2Soundbank sf2)

public static SF2Layer new_crash_cymbal (SF2Soundbank sf2)

public static SF2Layer new_epiano1 (SF2Soundbank sf2)

public static SF2Layer new_epiano2 (SF2Soundbank sf2)

public static SF2Layer new_flute (SF2Soundbank sf2)

public static SF2Layer new_gpiano (SF2Soundbank sf2)

public static SF2Layer new_gpiano2 (SF2Soundbank sf2)

public static SF2Layer new_guitar1 (SF2Soundbank sf2)

public static SF2Layer new_guitar_dist (SF2Soundbank sf2)

public static SF2Layer new_guitar_pick (SF2Soundbank sf2)

public static SF2Layer new_horn (SF2Soundbank sf2)

public static SF2Layer new_melodic_toms (SF2Soundbank sf2)

public static SF2Layer new_oboe (SF2Soundbank sf2)

public static SF2Layer new_open_hihat (SF2Soundbank sf2)

public static SF2Layer new_orchhit (SF2Soundbank sf2)

public static SF2Layer new_organ (SF2Soundbank sf2)

public static SF2Layer new_piano1 (SF2Soundbank sf2)

public static SF2Layer new_piano_hammer (SF2Soundbank sf2)

public static SF2Layer new_reverse_cymbal (SF2Soundbank sf2)

public static SF2Layer new_sax (SF2Soundbank sf2)

public static SF2Layer new_side_stick (SF2Soundbank sf2)

public static SF2Layer new_snare_drum (SF2Soundbank sf2)

public static SF2Layer new_solostring (SF2Soundbank sf2)

public static SF2Layer new_string2 (SF2Soundbank sf2)

public static SF2Layer new_synthbass (SF2Soundbank sf2)

public static SF2Layer new_timpani (SF2Soundbank sf2)

public static SF2Layer new_tom (SF2Soundbank sf2)

public static SF2Layer new_trombone (SF2Soundbank sf2)

public static SF2Layer new_trumpet (SF2Soundbank sf2)

public static void normalize (float[] data, double target)

public static void normalize (double[] data, double target)

public static void randomPhase (double[] data, Random random)

public static void randomPhase (double[] data)

public static double[] realPart (double[] in)

public static byte[] toBytes (float[] in, AudioFormat format)

public static float[] toFloat (double[] in)