Index
A B C D E F G H I J L M N O P R S T U V W Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- add(double[][], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Add a number to a 2D array.
- add(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract a number from an array.
- add(double[], double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Add two arrays together
- add(int[], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract a number from an array.
- add(int[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Add two arrays together
- allocateComplexArray(int) - Static method in class org.jamdev.jpamutils.spectrogram.Complex
-
Allocate a new complex array in which each element has been created and it's contents set to 0 +i0;
- allocateComplexArray(int, int) - Static method in class org.jamdev.jpamutils.spectrogram.Complex
- ang() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Gets the angle of a complex number
- ang() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the angle of all complex numbers in the array.
- ang() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the angle of all complex numbers in the array.
- ang(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the angle of a single complex number in the array
- ang(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the angle of a single complex number in the array
- App - Class in org.jamdev.jpamutils
-
Hello world!
- App() - Constructor for class org.jamdev.jpamutils.App
- array2String(double[], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert an array to a comma delimited string.
- array2String(double[], int, String) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert an array to a delimited string.
- array2String(float[], int, String) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert an array to a delimited string.
- array2String(Number[], int, String) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert an array to a delimited string.
- assign(double, double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Assign new real and imaginary values to an existing Complex number
- assign(Complex) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Assign new real and imaginary values to an existing Complex number
- AudioData - Class in org.jamdev.jpamutils.wavFiles
-
Holds .wav file data.
- AudioData(double[], float) - Constructor for class org.jamdev.jpamutils.wavFiles.AudioData
-
Create an AudioData object.
- AudioData(int[], float) - Constructor for class org.jamdev.jpamutils.wavFiles.AudioData
-
Create an AudioData object.
- AudioData(short[], float) - Constructor for class org.jamdev.jpamutils.wavFiles.AudioData
-
Create an AudioData object.
B
- BARTLETT - Static variable in class org.jamdev.jpamutils.spectrogram.WindowFunction
- bitRate - Variable in class org.jamdev.jpamutils.wavFiles.AudioData
-
The bit rate of samples
- BLACKMAN - Static variable in class org.jamdev.jpamutils.spectrogram.WindowFunction
- blurImage(double[][], double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Smooth the input image using a median or Gaussian blur filter.
- buildAbsoluteSpectram(ComplexArray[]) - Static method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Builds the absolute spectrogram from the complex array
C
- calcCSDM() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Calculate the Cross-Spectral Density Matrix (CSDM) from this complex array.
- calcCSDM() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Calculate the Cross-Spectral Density Matrix (CSDM) from this complex array.
- clamp(double[][], double, double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Clamp a spectrogram between two values.
- clamp(double, double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Clamp the current spectrogram between two values.
- clone() - Method in class org.jamdev.jpamutils.spectrogram.Complex
- clone() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArray
- clone() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- clone() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- Complex - Class in org.jamdev.jpamutils.spectrogram
-
Class definition for a Complex number type.
- Complex() - Constructor for class org.jamdev.jpamutils.spectrogram.Complex
- Complex(double, double) - Constructor for class org.jamdev.jpamutils.spectrogram.Complex
-
Constructor
- Complex(Complex) - Constructor for class org.jamdev.jpamutils.spectrogram.Complex
-
Constructor
- ComplexArray - Class in org.jamdev.jpamutils.spectrogram
- ComplexArray(double[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArray
- ComplexArray(double[], double[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArray
- ComplexArray(int) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArray
- ComplexArray(Complex[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArray
- ComplexArrayD - Class in org.jamdev.jpamutils.spectrogram
-
Class for handling arrays of Complex data.
- ComplexArrayD(double[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Construct a complex array from an existing array of double data.
- ComplexArrayD(double[], double[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Construct a complex array from two existing arrays of double data, one with real, the other with imaginary parts.
- ComplexArrayD(int) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Construct a complex array.
- ComplexArrayD(Complex[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Construct a complex array from an array of Apache Complex objects.
- ComplexArrayF - Class in org.jamdev.jpamutils.spectrogram
-
Class for handling arrays of Complex data.
- ComplexArrayF(float[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Construct a complex array from an existing array of float data.
- ComplexArrayF(float[], float[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Construct a complex array from two existing arrays of float data, one with real, the other with imaginary parts.
- ComplexArrayF(int) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Construct a complex array.
- ComplexArrayF(Complex[]) - Constructor for class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Construct a complex array from an array of Apache Complex objects.
- conj() - Method in class org.jamdev.jpamutils.spectrogram.Complex
- conj() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Calculate the complex conjugate of the complex array
- conj() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Calculate the complex conjugate of the complex array
- conj(Complex) - Static method in class org.jamdev.jpamutils.spectrogram.Complex
-
Converts a number to it's own complex conjugate
- conjTimes(ComplexArrayD) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Multiply this array by the complex conjugate of Array s;
- conjTimes(ComplexArrayD, int[]) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Multiply this array by the complex conjugate of Array s but only using data within the complex bin range >= binRange[0] to < binRange[1]
- conjTimes(ComplexArrayF) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiply this array by the complex conjugate of Array s;
- conjTimes(ComplexArrayF, int[]) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiply this array by the complex conjugate of Array s but only using data within the complex bin range >= binRange[0] to < binRange[1]
- contains(int[], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Check whether an array contains a number.
- copyArr(double[][]) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Hard copy of an array.
- copyOf(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Make a copy of the complex array with a new length.
- copyOf(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Make a copy of the complex array with a new length.
- createComplexArray(double[]) - Static method in class org.jamdev.jpamutils.spectrogram.Complex
-
Create a complex array from a double array
D
- data - Variable in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Main data array of interleaved real / complex data.
- data - Variable in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Main data array of interleaved real / complex data.
- dBSpec() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Convert the current spectrogram data to dB using 10*log10(linear) ;
- dBSpec(boolean) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Convert the current spectrogram data to dB using 10*log10(linear);
- dBSpec(boolean, double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Convert the current spectrogram data to dB using 10*log10(linear);
- dBSpec(double[][], boolean, double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Convert a spectrogram to dB.
- dBSpec(Double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Convert the current spectrogram data to dB using 10*log10(linear);
- decimate(double[], float, float) - Method in class org.jamdev.jpamutils.wavFiles.WavInterpolator
-
Decimate wave data including anti alisaing filter.
- divide(double[][], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Divide each element in a 2D array by a number
- divide(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Divide each element in an array by a number.
- divide(double, double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Divide each element in a 2D array by a number
- dotProduct(ComplexArrayD) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Dot product (aka Inner Product) of this array and another complex array 's'.
- dotProduct(ComplexArrayF) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Dot product (aka Inner Product) of this array and another complex array 's'.
E
- enhance(double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Enhance the contrast between regions of high and low intensity, while preserving the range of pixel values.
- enhance(double[][], double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Enhance the contrast between regions of high and low intensity, while preserving the range of pixel values.
- exp() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
A new Complex object whose value is the complex exponential of this
- exp(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Take the exponential of every element in a 2D array
F
- FastFFT - Class in org.jamdev.jpamutils.spectrogram
-
FFT Wrapper which uses the edu.emory.mathcs.jtransforms.fft transforms library for the actual FFT calculations.
- FastFFT() - Constructor for class org.jamdev.jpamutils.spectrogram.FastFFT
- fft(Complex[]) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
In place fft of complex data.
- fft(Complex[][]) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
In lace FFT of a 2D complex array.
- fft(ComplexArray) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
In place complex fft of complex data.
- fillConjugateHalf() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
FFT's of real data often only contain the first half of the data since the second half is just a flipped complex conjugate of the first half.
- fillConjugateHalf() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
FFT's of real data often only contain the first half of the data since the second half is just a flipped complex conjugate of the first half.
- filterIsolatedSpots(double[][], int[][]) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Discard pixels that are lower than the median threshold.
G
- gaussianFilter(double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Clamp the current spectrogram between two values.
- GaussianFilter - Class in org.jamdev.jpamutils.spectrogram
-
Kernel smoothing for the spectrogram.
- GaussianFilter() - Constructor for class org.jamdev.jpamutils.spectrogram.GaussianFilter
- generate(int) - Method in class org.jamdev.jpamutils.spectrogram.WindowFunction
-
Generate a window
- generateKernal(double) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
-
Generate the Kernel for a sigma value
- generateKernal(double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Generate the Kernel for a sigma value
- get(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- get(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- getAbsoluteSpectrogram() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Calculates the absolute spectrogram.
- getAudioFileFormat() - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioFileFormat(File) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioFileFormat(InputStream) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioFileFormat(URL) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioInputStream() - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioInputStream(File) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioInputStream(InputStream) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getAudioInputStream(URL) - Method in class org.jamdev.jpamutils.wavFiles.WavFile
- getByteLength() - Method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Get the length of the file in bytes,
- getComplexSpectrogram() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the spectrogram with both magnitude and phase information.
- getConstructorCalls() - Static method in class org.jamdev.jpamutils.spectrogram.Complex
- getData() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Get the data array of interleaved real / complex elements
- getData() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Get the data array of interleaved real / complex elements
- getDescription() - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
- getFFTData() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the raw spectrogram data.
- getFFTHop() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the FFT hop in samples.
- getFFTLength() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the FFT length in samples.
- getFile() - Method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Get the file object for the .wav file.
- getFileURL() - Method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Get the file object for the .wav file.
- getFramesPerSecond() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the number of FFT units per second
- getFrequencyBinSize() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the frequency width of frequency bins
- getImag() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- getImag() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- getImag() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Get the imaginary data from the transformed spectrogram.
- getImag(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Get a single imaginary element from the array
- getImag(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Get a single imaginary element from the array
- getLengthInSeconds() - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Get the length in seconds.
- getNumFrames() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the total number of FFT bins
- getReal() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- getReal() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- getReal() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Get the real data from the transformed spectrogram.
- getReal(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Get a real element from the array
- getReal(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Get a real element from the array
- getSampleAmplitudes() - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Get the sample amplitudes in raw bits e.g.
- getSampleAmplitudes(AudioFormat, byte[]) - Static method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Get the amplitudes of the wave samples (depends on the header)
- getSampleRate() - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Get the sample rate in samples per second.
- getSampleRate() - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Get the sample rate in samples per second.
- getScaled(double[], int) - Method in class org.jamdev.jpamutils.wavFiles.WavInterpolator
-
Interpolate to create a new scaled vector of length l
- getScaledSampleAmpliudes() - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Get the sample amplitudes as a double scaled between -1 and 1.
- getSingleChannelByte(AudioFormat, byte[], int) - Static method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Get a multi channel .wav file and return the byte stream for just one of the channels.
- getSpectrgram() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Get the raw spectrogram.
- getTransformedData() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Get the transformed spectrgram data.
- getWindowType() - Method in class org.jamdev.jpamutils.spectrogram.WindowFunction
H
- HAMMING - Static variable in class org.jamdev.jpamutils.spectrogram.WindowFunction
- HANNING - Static variable in class org.jamdev.jpamutils.spectrogram.WindowFunction
I
- ifft(Complex[], int) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Inverse FFT for Complex data.
- ifft(ComplexArray, int) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Inverse FFT for Complex data.
- ifft(ComplexArray, int, boolean) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Inverse FFT for Complex data.
- imag - Variable in class org.jamdev.jpamutils.spectrogram.Complex
- initialise(int) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
-
Initialise the channelMap store
- internalTimes(double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Multiply a complex numbers real and imaginary parts by a real number
- internalTimes(double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Multiply the array internally by a scalar number
- internalTimes(float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiply the array internally by a scalar number
- internalTimes(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Multiple a single element of the array by a scalar
- internalTimes(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiple a single element of the array by a scalar
- internalTimes(int, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiple a single element of the array by a scalar
- internalTimes(Complex) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Multiply a complex numbers real and imaginary parts by a complex number
- interpolate(double[][], double, double, int, float) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Interpolate a spectrogram so that it has a specified number of frequency bins and sits that sits between two frequency limits.
- interpolate(double[], float, float) - Method in class org.jamdev.jpamutils.wavFiles.WavInterpolator
-
Interpolate wave data either by decimating or up-sampling depending on the new sample rate.
- interpolate(double, double, int) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Interpolate a spectrogram so that it has a specified number of frequency bins and sits that sits between two frequency limits.
- interpolate(float) - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Interpolate the audio data (e..g up sample or down sample)
- isATrue(boolean[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Check whether there is a single true value in a boolean array.
- isInfinite() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Returns true if either the real or imaginary part is infinite, false otherwise
- isNaN() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Returns true if either the real or imaginary part is a Not-a-Number (NaN) value, false otherwise
- isNaN(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Is either the real or imaginary part of a specifiec element NaN
- isNaN(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Is either the real or imaginary part of a specifiec element NaN
J
- JamArr - Class in org.jamdev.jpamutils
- JamArr() - Constructor for class org.jamdev.jpamutils.JamArr
L
- length() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
The length of the complex array, i.e.
- length() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
The length of the complex array, i.e.
- list2ArrayD(List<Double>) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert a list to a primitive double array.
- log2(int) - Static method in class org.jamdev.jpamutils.spectrogram.FastFFT
M
- mag() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Gets the magnitude of a complex number
- mag() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the magnitude of all complex numbers in the array.
- mag() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the magnitude of all complex numbers in the array.
- mag(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the magnitude of a single complex number
- mag(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the magnitude of a single complex number
- magsq() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Gets the squared magnitude of a complex number
- magsq() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the squared magnitude of a complex array
- magsq() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the squared magnitude of a complex array
- magsq(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the squared magnitude of a complex number
- magsq(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the squared magnitude of a complex number
- main(String[]) - Static method in class org.jamdev.jpamutils.App
- max(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the maximum value in an array
- max(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the maximum double value of a 2D double array.
- max(float[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the maximum value in an array
- max(int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the maximum value in an array
- max(int[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the maximum int value of a 2D int array.
- mean(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean for a double[] array
- mean(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean over all elements of a double[][] array.
- mean(double[][], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean of all rows or columns in a double[][] array.
- mean(int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean for a int[] array
- mean(ArrayList<? extends Number>, double) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean of an array of double values, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- mean(ArrayList<double[]>, double, int) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean of one dimension within a list of points.
- meanf(ArrayList<Float>, double) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the mean of an array of float values, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- median(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the median value of an array
- median(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the median of a double[][] array.
- median(double[][], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the median of all rows or columns in a double[][] array.
- median(ArrayList<? extends Number>) - Static method in class org.jamdev.jpamutils.JamArr
-
Find the median of an ArrayList of doubles
- median(ArrayList<? extends Number>, double) - Static method in class org.jamdev.jpamutils.JamArr
-
Find the median of an ArrayList of doubles
- medianFilter(double[][], double, double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Discard pixels that are lower than the median threshold.
- medianFilter(double, double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Discard pixels that are lower than the median threshold.
- min(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Get the minimum value in an array
- min(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the minimum double value of a 2D double array.
- min(int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Get the minimum value in an array
- min(int[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the minimum int value of a 2D int array.
- minmax(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the minimum and maximum value of an array.
- minmax(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the minimum and maximum value of a 2D array.
- minmax(int[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the minimum and maximum value of a 2D array.
- minmaxdiff(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the difference between the minimum and maximum value of an array.
- minus(double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Subtract a real number from a complex number
- minus(Complex) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Subtract a real number from a complex number
- minus(ComplexArrayD) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Subtract a complex array from this array.
- minus(ComplexArrayF) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Subtract a complex array from this array.
N
- nearestNeighbourInterp(double[], int) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Perform a nearest neighbour interpolation of a 1D array of evenly spaced values.
- nextBinaryExp(int) - Static method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Finds the next highest binary exponential of the input integer.
- nextBinaryExp(int, int) - Static method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Finds the next highest binary exponential of the input integer.
- norm() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Deprecated.
- normalise(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Normalise an array
- normalise(double[][], double, double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalise a spectrogram.
- normalise(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Normalise an array
- normalise(double, double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalise the current spectrogram between two reference values.
- normaliseMinMax() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalise the current spectrogram between the minimum and maximum of the array
- normaliseMinMax(double[][]) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
A minimum/maximum spectrogram normalisation.
- normaliseRowSum() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalise the current spectrogram by dividing by sum of the square of the sum of all rows.
- normaliseRowSum(double[][]) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalise a spectrogram by summing each row and squaring it then dividing the entire array by that value.
- normaliseStd(double[][], double, double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalize the data array to specified mean and standard deviation.
- normaliseStd(double, double) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Normalize the data array to specified mean and standard deviation.
O
- org.jamdev.jpamutils - package org.jamdev.jpamutils
- org.jamdev.jpamutils.spectrogram - package org.jamdev.jpamutils.spectrogram
- org.jamdev.jpamutils.wavFiles - package org.jamdev.jpamutils.wavFiles
P
- plus(double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Add a real number to a complex number
- plus(Complex) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Adds a complex number
- plus(ComplexArrayD) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Add a complex array to the current array
- plus(ComplexArrayF) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Add a complex array to the current array
- pow(double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Raises a complex number to a scalar power.
- pow(double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Raises the complex array to the power f
- pow(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Square or raise the power all elements in an array
- pow(float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Raises the complex array to the power f
- pow(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Raises a complex number to a scalar power.
- pow(int, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Raises a complex number to a scalar power.
- preEmphasis(double) - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Pre-emphasise the audio data so that lower frequencies are attenuated
- preEmphasis(double[], double) - Method in class org.jamdev.jpamutils.wavFiles.PreEmphasisFilter
-
Run a pre-emphasis filter on the data.
- preEmphasis(int[], double) - Method in class org.jamdev.jpamutils.wavFiles.PreEmphasisFilter
-
Run a pre-emphasis filter on the data.
- preEmphasisFilter - Variable in class org.jamdev.jpamutils.wavFiles.AudioData
-
Pre-emphasis filter.
- PreEmphasisFilter - Class in org.jamdev.jpamutils.wavFiles
-
Filter for emphasising low frequencies.
- PreEmphasisFilter() - Constructor for class org.jamdev.jpamutils.wavFiles.PreEmphasisFilter
- printArray(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Print an array to the console.
- printArray(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Print a 2D double array
- printArray(int[]) - Static method in class org.jamdev.jpamutils.JamArr
- printArray(int[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Print a 2D int array
- product(double[][], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiple a 2D array by a number;
- product(double[][], double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiply two images together,
- product(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiply an array by a number.
- product(double[], double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
/** Multiply two arrays together
- product(int[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiply an array by a number.
- product(int[], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiply an array by a number.
- product(int[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Multiply two arrays together
R
- real - Variable in class org.jamdev.jpamutils.spectrogram.Complex
- realToComplex(double[]) - Static method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Create a complex array from a real array.
- realToComplex(float[]) - Static method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Create a complex array from a real array.
- rearrange(double[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Shuffle an array according to the given order of elements
- rearrange(float[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Shuffle an array according to the given order of elements
- rearrange(int[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Shuffle an array according to the given order of elements
- rearrange(String[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Shuffle a string array according to the given order of elements
- RECTANGULAR - Static variable in class org.jamdev.jpamutils.spectrogram.WindowFunction
- reduceTonalNoiseMean(double[][], double) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Reduce continuous tonal noise produced by e.g.
- reduceTonalNoiseMean(int) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Reduce continuous tonal noise produced by e.g.
- reduceTonalNoiseMedian() - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Subtracts from each row the median value of that row.
- reduceTonalNoiseMedian(double[][]) - Static method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Subtracts from each row the median value of that row.
- rfft(double[], int) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
FFT of real data.
- rfft(double[], Complex[], int) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
-
Fast FFT function for real data.
- rfftFull(double[], int) - Method in class org.jamdev.jpamutils.spectrogram.FastFFT
- runFilter(ComplexArray[]) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
-
Run the Gaussian filter on a spectrogram.
- runNoiseReduction(ComplexArray) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
- runNoiseReduction(ComplexArray, int) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
-
Run the noise reduction.
S
- sampleRate - Variable in class org.jamdev.jpamutils.wavFiles.AudioData
-
The sample rate in samples per second
- samples - Variable in class org.jamdev.jpamutils.wavFiles.AudioData
-
Samples in amplitude units u.
- serialVersionUID - Static variable in class org.jamdev.jpamutils.spectrogram.Complex
- set(int, double, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Set a single complex number in the array
- set(int, double, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set a single complex number in the array.
- set(int, float, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set a single complex number in the array
- set(int, Complex) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- set(int, Complex) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- setComplexSpectrogram(ComplexArray[]) - Method in class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Set the spectrogram with both magnitude and phase information.
- setData(double[]) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Set the data array
- setData(float[]) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set the data array
- setImag(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Set a single imaginary element in the array
- setImag(int, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set a single imaginary element in the array
- setKernel(double[][]) - Method in class org.jamdev.jpamutils.spectrogram.GaussianFilter
- setReal(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Set a single real element in the array
- setReal(int, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set a single real element in the array
- setTransformedData(double[][]) - Method in class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Manually set the transformed data.
- setWindowType(int) - Method in class org.jamdev.jpamutils.spectrogram.WindowFunction
- setWindowType(String) - Method in class org.jamdev.jpamutils.spectrogram.WindowFunction
- setZero() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Set the entire data array to zero.
- setZero() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Set the entire data array to zero.
- short2Int(short[]) - Static method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Convert a short[] array to int[].
- sort(ArrayList<? extends Number>) - Static method in class org.jamdev.jpamutils.JamArr
-
Sorts and array and returns the index of the sorted elements of the array.
- sort(ArrayList<? extends Number>, ArrayList<T>) - Static method in class org.jamdev.jpamutils.JamArr
-
Sort one array by the ordering of another array.
- SpecTransform - Class in org.jamdev.jpamutils.spectrogram
-
Transforms spectrogram data.
- SpecTransform(Spectrogram) - Constructor for class org.jamdev.jpamutils.spectrogram.SpecTransform
-
Constructor for the spectrogram transform.
- Spectrogram - Class in org.jamdev.jpamutils.spectrogram
-
Class which converts raw wave data into a spectrgram and can perform some basic transforms.
- Spectrogram(AudioData, int, int) - Constructor for class org.jamdev.jpamutils.spectrogram.Spectrogram
-
Create the spectrogram from a clip of sound data
- sqrt() - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Gets the square root of a Complex number
- sqrt() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Calculates the square root of all complex numbers in the array
- sqrt() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Calculates the square root of all complex numbers in the array
- sqrt(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Gets the square root of a Complex number
- sqrt(int) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Gets the square root of a Complex number
- std(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation for a double[] array
- std(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array, The standard deviaiton is computed for the flattened array.
- std(double[][], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of all rows or columns in a double[][] array.
- std(ArrayList<? extends Number>) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array of float values, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- std(ArrayList<? extends Number>, double) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array of doubles, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- std(ArrayList<double[]>, double, int) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array of doubles, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- stdf(ArrayList<Float>) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array of float values, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- stdf(ArrayList<Float>, double) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the standard deviation of an array of float values, ignoring an 'initialtoIgnorePercentage' percentage of jumps
- string2array(String) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert a comma delimited string array to a double array.
- string2array(String, String) - Static method in class org.jamdev.jpamutils.JamArr
-
Convert a delimited string array to a double array.
- subtract(double[][], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract a number from a 2D array.
- subtract(double[], double) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract a number from an array.
- subtract(double[], double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract two array from each other.
- subtract(int[], int) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract a number from an array.
- subtract(int[], int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Subtract two array from each other.
- sum(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Sum the elements in an array
- sum(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Sum the elements in a 2D array.
- sum(int[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Sum the elements in an array
- sumSquared() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- sumSquared() - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- sumSquared(double[]) - Static method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- sumSquared(float[]) - Static method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
T
- times(double) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Multiply a complex number by a real
- times(double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
Multiply a complex array by a scaler factor
- times(float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
Multiply a complex array by a scaler factor
- times(int, double) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
- times(int, float) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
- times(Complex) - Method in class org.jamdev.jpamutils.spectrogram.Complex
-
Multiply a complex number by another complex number
- times(Complex) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayD
-
return a new ComplexArrayD whose value is (this * b)
- times(Complex) - Method in class org.jamdev.jpamutils.spectrogram.ComplexArrayF
-
return a new ComplexArrayF whose value is (this * b)
- toString() - Method in class org.jamdev.jpamutils.spectrogram.Complex
- toString(int) - Method in class org.jamdev.jpamutils.spectrogram.Complex
- toString(String) - Method in class org.jamdev.jpamutils.spectrogram.Complex
- transposeMatrix(double[][]) - Static method in class org.jamdev.jpamutils.JamArr
-
Transpose a double[][] matrix
- trim(int, int) - Method in class org.jamdev.jpamutils.wavFiles.AudioData
-
Trim the audio data between two sample indexes.
- trim(AudioFormat, byte[], int) - Static method in class org.jamdev.jpamutils.wavFiles.WavFile
-
Trim the byte data.
U
- unique(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Check whether there are duplicates within an array
- upSample(double[], float, float) - Method in class org.jamdev.jpamutils.wavFiles.WavInterpolator
-
Up sample wave data.
V
- varience(double[]) - Static method in class org.jamdev.jpamutils.JamArr
-
Calculate the variance for a double[] array
W
- WavFile - Class in org.jamdev.jpamutils.wavFiles
-
A WAV file reader.
- WavFile(File) - Constructor for class org.jamdev.jpamutils.wavFiles.WavFile
- WavFile(URL) - Constructor for class org.jamdev.jpamutils.wavFiles.WavFile
- wavInterpolator - Variable in class org.jamdev.jpamutils.wavFiles.AudioData
-
Interpolator for wav files.
- WavInterpolator - Class in org.jamdev.jpamutils.wavFiles
-
Decimates or interpolates sound files
- WavInterpolator() - Constructor for class org.jamdev.jpamutils.wavFiles.WavInterpolator
-
Create a new WavInterpolator
- WindowFunction - Class in org.jamdev.jpamutils.spectrogram
-
Window functions generator
- WindowFunction() - Constructor for class org.jamdev.jpamutils.spectrogram.WindowFunction
Z
- zeroComplexArray(Complex[]) - Static method in class org.jamdev.jpamutils.spectrogram.Complex
-
Sets all the elements of a complex array to zero
All Classes|All Packages