MCPcopy Create free account

hub / github.com/Uriopass/audio-analysis / functions

Functions103 in github.com/Uriopass/audio-analysis

↓ 9 callersMethodplot
( float[] samples, final float samplesPerPixel, final Color color )
src/com/badlogic/audio/visualization/Plot.java:138
↓ 7 callersMethodfreqToIndex
Returns the index of the frequency band that contains the requested frequency. @param freq the frequency you want the index for (in Hz) @ret
src/com/badlogic/audio/analysis/FourierTransform.java:428
↓ 6 callersMethodreadSamples
(float[] samples)
src/com/badlogic/audio/io/MP3Decoder.java:50
↓ 6 callersMethodwriteSamples
Writes the given samples to the audio device. The samples have to be sampled at 44100Hz, mono and have to be in the range [-1,1]. @param samples The
src/com/badlogic/audio/io/AudioDevice.java:51
↓ 5 callersMethodgetSpectrum
@return the spectrum of the last FourierTransform.forward() call.
src/com/badlogic/audio/analysis/FourierTransform.java:663
↓ 5 callersMethodreadIntLittleEndian
( )
src/com/badlogic/audio/io/EndianDataInputStream.java:27
↓ 5 callersMethodreadShortLittleEndian
( )
src/com/badlogic/audio/io/EndianDataInputStream.java:20
↓ 5 callersMethodsin
(int i)
src/com/badlogic/audio/analysis/DFT.java:137
↓ 4 callersMethodcos
(int i)
src/com/badlogic/audio/analysis/DFT.java:142
↓ 4 callersMethodforward
(float[] buffer)
src/com/badlogic/audio/analysis/FFT.java:149
↓ 4 callersMethodnextSpectrum
Returns the next spectrum or null if there's no more data. @return The next spectrum or null.
src/com/badlogic/audio/analysis/SpectrumProvider.java:79
↓ 4 callersMethodread4ByteString
( )
src/com/badlogic/audio/io/EndianDataInputStream.java:13
↓ 4 callersMethodreadSamples
Reads in samples.length samples from the decoder. Returns the actual number read in. If this number is smaller than samples.length then the end of str
src/com/badlogic/audio/io/Decoder.java:19
↓ 4 callersMethodreadSamples
Tries to read in samples.length samples, merging stereo to a mono channel by averaging and converting non float formats to float 32-bit. Returns the n
src/com/badlogic/audio/io/WaveDecoder.java:90
↓ 3 callersMethodfft
()
src/com/badlogic/audio/analysis/FFT.java:116
↓ 3 callersMethodfillSpectrum
()
src/com/badlogic/audio/analysis/FourierTransform.java:193
↓ 3 callersMethodgetBandWidth
Returns the width of each frequency band in the spectrum (in Hz). It should be noted that the bandwidth of the first and last frequency bands is half
src/com/badlogic/audio/analysis/FourierTransform.java:391
↓ 2 callersMethodbitReverseComplex
()
src/com/badlogic/audio/analysis/FFT.java:228
↓ 2 callersMethodcos
(int i)
src/com/badlogic/audio/analysis/FFT.java:251
↓ 2 callersMethoddoWindow
(float[] samples)
src/com/badlogic/audio/analysis/FourierTransform.java:329
↓ 2 callersMethodenergy
( float[] signal )
src/com/badlogic/audio/analysis/Signals.java:19
↓ 2 callersMethodgetFFT
@return the FFT instance used
src/com/badlogic/audio/analysis/SpectrumProvider.java:101
↓ 2 callersMethodsetComplex
(float[] r, float[] i)
src/com/badlogic/audio/analysis/FourierTransform.java:177
↓ 2 callersMethodsetMarker
( int x, Color color )
src/com/badlogic/audio/visualization/Plot.java:296
↓ 2 callersMethodsin
(int i)
src/com/badlogic/audio/analysis/FFT.java:246
↓ 2 callersMethodwindow
Sets the window to use on the samples before taking the forward transform. If an invalid window is asked for, an error will be reported and the curren
src/com/badlogic/audio/analysis/FourierTransform.java:317
↓ 1 callersMethodallocateArrays
()
src/com/badlogic/audio/analysis/FourierTransform.java:175
↓ 1 callersMethodbitReverseSamples
(float[] samples)
src/com/badlogic/audio/analysis/FFT.java:218
↓ 1 callersMethodbuildReverseTable
()
src/com/badlogic/audio/analysis/FFT.java:204
↓ 1 callersMethodbuildTrigTables
()
src/com/badlogic/audio/analysis/DFT.java:125
↓ 1 callersMethodbuildTrigTables
()
src/com/badlogic/audio/analysis/FFT.java:256
↓ 1 callersMethodcalcAvg
Calculate the average amplitude of the frequency band bounded by <code>lowFreq</code> and <code>hiFreq</code>, inclusive. @param lowFreq the
src/com/badlogic/audio/analysis/FourierTransform.java:588
↓ 1 callersMethodcalculate
Returns the threshold function for a given spectral flux function. @return The threshold function.
src/com/badlogic/audio/analysis/ThresholdFunction.java:41
↓ 1 callersMethodfillBuffer
( float[] samples )
src/com/badlogic/audio/io/AudioDevice.java:57
↓ 1 callersMethodforward
(float[] samples)
src/com/badlogic/audio/analysis/DFT.java:77
↓ 1 callersMethodgetBand
Returns the amplitude of the requested frequency band. @param i the index of a frequency band @return the amplitude of the requested frequen
src/com/badlogic/audio/analysis/FourierTransform.java:377
↓ 1 callersMethodhamming
(float[] samples)
src/com/badlogic/audio/analysis/FourierTransform.java:340
↓ 1 callersMethodindexToFreq
Returns the middle frequency of the i<sup>th</sup> band. @param i the index of the band you want to middle frequency of
src/com/badlogic/audio/analysis/FourierTransform.java:445
↓ 1 callersMethodnoAverages
Sets the object to not compute averages.
src/com/badlogic/audio/analysis/FourierTransform.java:253
↓ 1 callersMethodreadInAllSamples
( String file )
src/com/badlogic/audio/samples/part4/RealTimePlot.java:58
↓ 1 callersMethodscaleBand
Scales the amplitude of the <code>i<sup>th</sup></code> frequency band by <code>s</code>. You can use this to shape the spectrum before using <code>in
src/com/badlogic/audio/analysis/FourierTransform.java:418
↓ 1 callersMethodsetBand
Sets the amplitude of the <code>i<sup>th</sup></code> frequency band to <code>a</code>. You can use this to shape the spectrum before using <code>inve
src/com/badlogic/audio/analysis/FourierTransform.java:406
MethodAudioDevice
Constructor, initializes the audio system for 44100Hz 16-bit signed mono output. @throws Exception in case the audio system could not be initialized
src/com/badlogic/audio/io/AudioDevice.java:36
MethodDFT
Constructs a DFT that expects audio buffers of length <code>timeSize</code> that have been recorded with a sample rate of <code>sampleRate</code>. Wil
src/com/badlogic/audio/analysis/DFT.java:48
MethodEndianDataInputStream
(InputStream in)
src/com/badlogic/audio/io/EndianDataInputStream.java:8
MethodFFT
Constructs an FFT that will accept sample buffers that are <code>timeSize</code> long and have been recorded with a sample rate of <code>sampleRate</c
src/com/badlogic/audio/analysis/FFT.java:50
MethodFourierTransform
Construct a FourierTransform that will analyze sample buffers that are <code>ts</code> samples long and contain samples with a <code>sr</code> sample
src/com/badlogic/audio/analysis/FourierTransform.java:161
MethodMP3AudioFileReader
( )
src/com/badlogic/audio/io/MP3Decoder.java:105
MethodMP3Decoder
( InputStream stream )
src/com/badlogic/audio/io/MP3Decoder.java:37
MethodPlaybackVisualizer
Consturctor, plays back the audio form the decoder and sets the marker of the plot accordingly. This will return when the playback is done. @param pl
src/com/badlogic/audio/visualization/PlaybackVisualizer.java:28
MethodPlot
Creates a new Plot with the given title and dimensions. @param title The title. @param width The width of the plot in pixels. @param height The heigh
src/com/badlogic/audio/visualization/Plot.java:60
MethodSpectrumProvider
Constructor, sets the {@link Decoder}, the sample window size and the hop size for the spectra returned. Say the sample window size is 1024 samples. T
src/com/badlogic/audio/analysis/SpectrumProvider.java:48
MethodThresholdFunction
Consturctor, sets the history size in number of spectra to take into account to calculate the average spectral flux at a specific position. Also sets
src/com/badlogic/audio/analysis/ThresholdFunction.java:29
MethodWaveDecoder
Constructor, sets the input stream to read the Wav file from. @param stream The input stream. @throws Exception in case the input stream couldn't be
src/com/badlogic/audio/io/WaveDecoder.java:41
MethodallocateArrays
()
src/com/badlogic/audio/analysis/DFT.java:56
MethodallocateArrays
()
src/com/badlogic/audio/analysis/FFT.java:60
MethodavgSize
Returns the number of averages currently being calculated. @return the length of the averages array
src/com/badlogic/audio/analysis/FourierTransform.java:556
Methodclear
( )
src/com/badlogic/audio/visualization/Plot.java:123
Methodforward
Performs a forward transform on <code>buffer</code>. @param buffer the buffer to analyze
src/com/badlogic/audio/analysis/FourierTransform.java:607
MethodgetAudioFileFormat
(InputStream inputStream, long mediaLength)
src/com/badlogic/audio/io/MP3Decoder.java:109
MethodgetAverageCenterFrequency
Returns the center frequency of the i<sup>th</sup> average band. @param i which average band you want the center frequency of.
src/com/badlogic/audio/analysis/FourierTransform.java:471
MethodgetAvg
Gets the value of the <code>i<sup>th</sup></code> average. @param i the average you want the value of @return the value of the requested ave
src/com/badlogic/audio/analysis/FourierTransform.java:568
MethodgetFreq
Gets the amplitude of the requested frequency in the spectrum. @param freq the frequency in Hz @return the amplitude of the frequency in the
src/com/badlogic/audio/analysis/FourierTransform.java:519
MethodgetImaginaryPart
@return the imaginary part of the last FourierTransform.forward() call.
src/com/badlogic/audio/analysis/FourierTransform.java:679
MethodgetPreferredSize
()
src/com/badlogic/audio/visualization/Plot.java:103
MethodgetRealPart
@return the real part of the last FourierTransform.forward() call.
src/com/badlogic/audio/analysis/FourierTransform.java:671
Methodinverse
Performs an inverse transform of the frequency spectrum and places the result in <code>buffer</code>. @param buffer the buffer to place the
src/com/badlogic/audio/analysis/FourierTransform.java:641
Methodinverse
(float[] buffer)
src/com/badlogic/audio/analysis/DFT.java:98
Methodinverse
(float[] buffer)
src/com/badlogic/audio/analysis/FFT.java:182
MethodlinAverages
Sets the number of averages used when computing the spectrum and spaces the averages in a linear manner. In other words, each average band will be <co
src/com/badlogic/audio/analysis/FourierTransform.java:267
MethodlogAverages
Sets the number of averages used when computing the spectrum based on the minimum bandwidth for an octave and the number of bands per octave. For exam
src/com/badlogic/audio/analysis/FourierTransform.java:296
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part2/NoteGenerator.java:14
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part2/WaveOutput.java:17
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part3/PlotExample.java:23
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part4/MP3Output.java:17
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part4/RealTimePlot.java:34
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part5/FourierTransformPlot.java:17
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part6/HammingSpectralFlux.java:17
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part6/RectifiedSpectralFlux.java:25
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part6/HoppingSpectralFlux.java:26
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part6/SpectralFlux.java:24
Methodmain
( String[] argv )
src/com/badlogic/audio/samples/part7/MultiBandThreshold.java:22
Methodmain
( String[] argv )
src/com/badlogic/audio/io/AudioDevice.java:67
Methodmain
( String[] args )
src/com/badlogic/audio/io/WaveDecoder.java:116
Methodmaximum
( float[] signal )
src/com/badlogic/audio/analysis/Signals.java:45
Methodmean
( float[] signal )
src/com/badlogic/audio/analysis/Signals.java:10
Methodminimum
( float[] signal )
src/com/badlogic/audio/analysis/Signals.java:37
Methodnorm
( float[] signal )
src/com/badlogic/audio/analysis/Signals.java:32
MethodpaintComponent
( Graphics g )
src/com/badlogic/audio/visualization/Plot.java:81
Methodpower
(float[] signal )
src/com/badlogic/audio/analysis/Signals.java:27
MethodreadInt24Bit
( )
src/com/badlogic/audio/io/EndianDataInputStream.java:46
MethodreadInt24BitLittleEndian
( )
src/com/badlogic/audio/io/EndianDataInputStream.java:36
Methodrun
()
src/com/badlogic/audio/visualization/Plot.java:67
Methodscale
( float[] signal, float scale )
src/com/badlogic/audio/analysis/Signals.java:53
MethodscaleBand
Not currently implemented.
src/com/badlogic/audio/analysis/DFT.java:66
MethodscaleBand
(int i, float s)
src/com/badlogic/audio/analysis/FFT.java:67
MethodscaleFreq
Scales the amplitude of the requested frequency by <code>a</code>. @param freq the frequency in Hz @param s the scaling factor
src/com/badlogic/audio/analysis/FourierTransform.java:546
MethodsetBand
Not currently implemented.
src/com/badlogic/audio/analysis/DFT.java:73
MethodsetBand
(int i, float a)
src/com/badlogic/audio/analysis/FFT.java:88
MethodsetFreq
Sets the amplitude of the requested frequency in the spectrum to <code>a</code>. @param freq the frequency in Hz @param a the new a
src/com/badlogic/audio/analysis/FourierTransform.java:533
next →1–100 of 103, ranked by callers