Mercurial > hg > audio-features-catalogue
view rdf/af-jMIR.rdf @ 18:d5012016bf64 tip
added rdfpy and rdfonto directories
author | nothing@tehis.net |
---|---|
date | Tue, 23 Apr 2013 11:49:20 +0100 |
parents | 62d2c72e4223 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:local="http://sovarr.c4dm.eecs.qmul.ac.uk/features/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <rdf:Description rdf:about="SpectralVariability"> <local:name>Spectral Variability</local:name> <dc:description>The standard deviation of the magnitude spectrum. This is a measure of the variance of a signal's magnitude spectrum.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="SpectralRolloffPoint"> <local:name>Spectral Rolloff Point</local:name> <dc:description>The fraction of bins in the power spectrum at which 85% // System.getProperty(line.separator) of the power is at lower frequencies. This is a measure // System.getProperty(line.separator) // of the right-skewedness of the power spectrum.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaMoments"> <local:name>Area Method of Moments</local:name> <dc:description>2D statistical method of moments</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="ZeroCrossings"> <local:name>Zero Crossings</local:name> <dc:description>The number of times the waveform changed sign. An indication of frequency as well as noisiness.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="ConstantQ"> <local:name>ConstantQ</local:name> <dc:description>signal to frequency transform using exponential-spaced frequency bins.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="HarmonicSpectralSmoothness"> <local:name>Peak Based Spectral Smoothness</local:name> <dc:description>Peak Based Spectral Smoothness is calculated from partials, not frequency bins. It is implemented accortding to McAdams 99 System.getProperty(line.separator) System.getProperty(line.separator) McAdams, S. 1999.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaPolynomialApproximation"> <local:name>2D Polynomial Approximation</local:name> <dc:description>coeffecients of 2D polynomial best describing the input matrtix.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="LogConstantQ"> <local:name>Log of ConstantQ</local:name> <dc:description>logarithm of each bin of exponentially-spaced frequency bins.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="SpectralCentroid"> <local:name>Spectral Centroid</local:name> <dc:description>The centre of mass of the power spectrum.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="MFCC"> <local:name>MFCC</local:name> <dc:description>MFCC calculations based upon Orange Cow code</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="HarmonicSpectralCentroid"> <local:name>Partial Based Spectral Centroid</local:name> <dc:description>Spectral Centroid calculated based on the center of mass of partials instead of center of mass of bins.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="HarmonicSpectralFlux"> <local:name>Partial Based Spectral Flux</local:name> <dc:description>Cacluate the correlation bettween adjacent frames based peaks instead of spectral bins. Peak tracking is primitive - whe the number of bins changes, the bottom bins are matched sequentially and the extra unmatched bins are ignored.) definition = new FeatureDefinition(name, description, true, 1) dependencies = new String[] { Peak Detection, Peak Detection } offsets = new int[] { 0, -1 } } /** * Extract the peak based spectral flux from the window. * @param samples * The samples to extract the feature from. * @param sampling_rate * The sampling rate that the samples are encoded with. * @param other_feature_values * The values of other features that are needed to calculate this * value. The order and offsets of these features must be the * same as those returned by this class's getDependencies and * getDependencyOffsets methods respectively. The first indice * indicates the feature/window and the second indicates the * value. * @return The extracted feature value(s). * @throws Exception * Throws an informative exception if the feature cannot be * calculated. * @see jAudioFeatureExtractor.AudioFeatures.FeatureExtractor#extractFeature(double[], * double, double[][]) */ public double[] extractFeature(double[] samples, double sampling_rate, double[][] other_feature_values) { double[] result = new double[1] double[] old = other_feature_values[1] double[] now = other_feature_values[0] double x, y, xy, x2, y2 x = y = xy = x2 = y2 = 0.0 int peakCount = Math.min(old.length, now.length) for (int i = 0 i < peakCount i) { x = old[i] y = now[i] xy = old[i] * now[i] x2 = old[i] * old[i] y2 = now[i] * now[i] } double top = xy - (x * y) / peakCount double bottom = Math.sqrt(Math.abs((x2 - ((x * x) / peakCount)) * (y2 - ((y * y) / peakCount)))) result[0] = top / bottom return result } /** * Proviede a complete copy of this feature. Used to implement the prottype * pattern */ public Object clone() { return new HarmonicSpectralFlux() } }</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="Moments"> <local:name>Method of Moments</local:name> <dc:description>Statistical Method of Moments of the Magnitude Spectrum.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="RelativeDifferenceFunction"> <local:name>Relative Difference Function</local:name> <dc:description>Relative Difference Function</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="FFTBinFrequencies"> <local:name>FFT Bin Frequency Labels</local:name> <dc:description>The bin label, in Hz, of each power spectrum or magnitude spectrum bin. Not useful as a feature in itself, but useful for calculating other features from the magnitude spectrum and power spectrum.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="LPC"> <local:name>LPC</local:name> <dc:description>Linear Prediction Coeffecients calculated using autocorrelation and Levinson-Durbin recursion.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="BeatSum"> <local:name>Beat Sum</local:name> <dc:description>The sum of all entries in the beat histogram. This is a good measure of the importance of regular beats in a signal.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="BeatHistogram"> <local:name>Beat Histogram</local:name> <dc:description>A histogram showing the relative strength of different rhythmic periodicities (tempi) in a signal. Found by calculating the auto-correlation of the RMS.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaPolynomialApproximationConstantQMFCC"> <local:name>2D Polynomial Approximation ConstantQ MFCC</local:name> <dc:description>coeffecients of 2D polynomial best describing the input matrtix.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="BeatHistogramLabels"> <local:name>Beat Histogram Bin Labels</local:name> <dc:description>The bin label, in beats per minute, of each beat histogram bin. Not useful as a feature in itself, but useful for calculating other features from the beat histogram.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaPolynomialApproximationLogConstantQ"> <local:name>2D Polynomial Approximation of Log of ConstantQ</local:name> <dc:description>coeffecients of 2D polynomial best describing the input matrix.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="MagnitudeSpectrum"> <local:name>Magnitude Spectrum</local:name> <dc:description>A measure of the strength of different frequency components.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaMomentsLogConstantQ"> <local:name>Area Method of Moments of Log of ConstantQ transform</local:name> <dc:description>2D statistical method of moments of the log of the ConstantQ transform</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaMomentsMFCC"> <local:name>Area Method of Moments of MFCCs</local:name> <dc:description>2D statistical method of moments of MFCCs</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="PowerSpectrum"> <local:name>Power Spectrum</local:name> <dc:description>A measure of the power of different frequency components.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="StrongestBeat"> <local:name>Strongest Beat</local:name> <dc:description>The strongest beat in a signal, in beats per minute, found by finding the strongest bin in the beat histogram.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="StrengthOfStrongestBeat"> <local:name>Strength Of Strongest Beat</local:name> <dc:description>How strong the strongest beat in the beat histogram is compared to other potential beats.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="RMS"> <local:name>Root Mean Square</local:name> <dc:description>A measure of the power of a signal.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="FractionOfLowEnergyWindows"> <local:name>Fraction Of Low Energy Windows</local:name> <dc:description>The fraction of the last 100 windows that has an RMS less than the mean RMS in the last 100 windows. This can indicate how much of a signal is quiet relative to the rest of the signal.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="SpectralFlux"> <local:name>Spectral Flux</local:name> <dc:description>A measure of the amount of spectral change in a signal. //\n Found by calculating the change in the magnitude spectrum //\n from frame to frame.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="StrongestFrequencyViaZeroCrossings"> <local:name>Strongest Frequency Via Zero Crossings</local:name> <dc:description>The strongest frequency component of a signal, in Hz, found via the number of zero-crossings.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="ConstantQMFCC"> <local:name>ConstantQ derived MFCCs</local:name> <dc:description>MFCCs directly caluclated from ConstantQ exponential bins</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="Compactness"> <local:name>Compactness</local:name> <dc:description>A measure of the noisiness of a signal. Found by comparing the components of a window's magnitude spectrum with the magnitude spectrum of its neighbouring windows.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="StrongestFrequencyViaFFTMax"> <local:name>Strongest Frequency Via FFT Maximum</local:name> <dc:description>The strongest frequency component of a signal, in Hz, found via finding the FFT bin with the highest power.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="StrongestFrequencyViaSpectralCentroid"> <local:name>Strongest Frequency Via Spectral Centroid</local:name> <dc:description>The strongest frequency component of a signal, in Hz, found via the spectral centroid.</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="AreaMomentsConstantQMFCC"> <local:name>Area Method of Moments of ConstantQ-based MFCCs</local:name> <dc:description>2D statistical method of moments of ConstantQ-based MFCCs</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> <rdf:Description rdf:about="PeakFinder"> <local:name>Peak Detection</local:name> <dc:description>All peaks that are within an order of magnitude of the highest point</dc:description> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> </rdf:Description> </rdf:RDF>