public class EmergencySoundbank
extends java.lang.Object
Constructor and Description |
---|
EmergencySoundbank() |
Modifier and Type | Method and Description |
---|---|
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 SF2Layer |
new_bass_drum(SF2Soundbank sf2) |
static SF2Layer |
new_bass1(SF2Soundbank sf2) |
static SF2Layer |
new_bass2(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_guitar_dist(SF2Soundbank sf2) |
static SF2Layer |
new_guitar_pick(SF2Soundbank sf2) |
static SF2Layer |
new_guitar1(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_piano_hammer(SF2Soundbank sf2) |
static SF2Layer |
new_piano1(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 SF2Instrument |
newInstrument(SF2Soundbank sf2,
java.lang.String name,
javax.sound.midi.Patch patch,
SF2Layer... layers) |
static SF2Layer |
newLayer(SF2Soundbank sf2,
java.lang.String name,
SF2Sample sample) |
static SF2Sample |
newSimpleDrumSample(SF2Soundbank sf2,
java.lang.String name,
double[] data) |
static SF2Sample |
newSimpleFFTSample_dist(SF2Soundbank sf2,
java.lang.String name,
double[] data,
double base,
double preamp) |
static SF2Sample |
newSimpleFFTSample(SF2Soundbank sf2,
java.lang.String name,
double[] data,
double base) |
static SF2Sample |
newSimpleFFTSample(SF2Soundbank sf2,
java.lang.String name,
double[] data,
double base,
int fadeuptime) |
static void |
normalize(double[] data,
double target) |
static void |
normalize(float[] data,
double target) |
static void |
randomPhase(double[] data) |
static void |
randomPhase(double[] data,
java.util.Random random) |
static double[] |
realPart(double[] in) |
static byte[] |
toBytes(float[] in,
javax.sound.sampled.AudioFormat format) |
static float[] |
toFloat(double[] in) |
public static SF2Soundbank createSoundbank() throws java.lang.Exception
java.lang.Exception
public static SF2Layer new_bell(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_gpiano(SF2Soundbank sf2)
public static SF2Layer new_gpiano2(SF2Soundbank sf2)
public static SF2Layer new_piano_hammer(SF2Soundbank sf2)
public static SF2Layer new_piano1(SF2Soundbank sf2)
public static SF2Layer new_epiano1(SF2Soundbank sf2)
public static SF2Layer new_epiano2(SF2Soundbank sf2)
public static SF2Layer new_bass1(SF2Soundbank sf2)
public static SF2Layer new_synthbass(SF2Soundbank sf2)
public static SF2Layer new_bass2(SF2Soundbank sf2)
public static SF2Layer new_solostring(SF2Soundbank sf2)
public static SF2Layer new_orchhit(SF2Soundbank sf2)
public static SF2Layer new_string2(SF2Soundbank sf2)
public static SF2Layer new_choir(SF2Soundbank sf2)
public static SF2Layer new_organ(SF2Soundbank sf2)
public static SF2Layer new_ch_organ(SF2Soundbank sf2)
public static SF2Layer new_flute(SF2Soundbank sf2)
public static SF2Layer new_horn(SF2Soundbank sf2)
public static SF2Layer new_trumpet(SF2Soundbank sf2)
public static SF2Layer new_brass_section(SF2Soundbank sf2)
public static SF2Layer new_trombone(SF2Soundbank sf2)
public static SF2Layer new_sax(SF2Soundbank sf2)
public static SF2Layer new_oboe(SF2Soundbank sf2)
public static SF2Layer new_bassoon(SF2Soundbank sf2)
public static SF2Layer new_clarinet(SF2Soundbank sf2)
public static SF2Layer new_timpani(SF2Soundbank sf2)
public static SF2Layer new_melodic_toms(SF2Soundbank sf2)
public static SF2Layer new_reverse_cymbal(SF2Soundbank sf2)
public static SF2Layer new_snare_drum(SF2Soundbank sf2)
public static SF2Layer new_bass_drum(SF2Soundbank sf2)
public static SF2Layer new_tom(SF2Soundbank sf2)
public static SF2Layer new_closed_hihat(SF2Soundbank sf2)
public static SF2Layer new_open_hihat(SF2Soundbank sf2)
public static SF2Layer new_crash_cymbal(SF2Soundbank sf2)
public static SF2Layer new_side_stick(SF2Soundbank sf2)
public static SF2Sample newSimpleFFTSample(SF2Soundbank sf2, java.lang.String name, double[] data, double base)
public static SF2Sample newSimpleFFTSample(SF2Soundbank sf2, java.lang.String name, double[] data, double base, int fadeuptime)
public static SF2Sample newSimpleFFTSample_dist(SF2Soundbank sf2, java.lang.String name, double[] data, double base, double preamp)
public static SF2Sample newSimpleDrumSample(SF2Soundbank sf2, java.lang.String name, double[] data)
public static SF2Layer newLayer(SF2Soundbank sf2, java.lang.String name, SF2Sample sample)
public static SF2Instrument newInstrument(SF2Soundbank sf2, java.lang.String name, javax.sound.midi.Patch patch, SF2Layer... layers)
public static void ifft(double[] data)
public static void fft(double[] data)
public static void complexGaussianDist(double[] cdata, double m, double s, double v)
public static void randomPhase(double[] data)
public static void randomPhase(double[] data, java.util.Random random)
public static void normalize(double[] data, double target)
public static void normalize(float[] data, double target)
public static double[] realPart(double[] in)
public static double[] imgPart(double[] in)
public static float[] toFloat(double[] in)
public static byte[] toBytes(float[] in, javax.sound.sampled.AudioFormat format)
public static void fadeUp(double[] data, int samples)
public static void fadeUp(float[] data, int samples)
public static double[] loopExtend(double[] data, int newsize)
public static float[] loopExtend(float[] data, int newsize)