annotate rdfn3/af-jMIR.n3 @ 18:d5012016bf64 tip

added rdfpy and rdfonto directories
author nothing@tehis.net
date Tue, 23 Apr 2013 11:49:20 +0100
parents 62d2c72e4223
children
rev   line source
nothing@0 1 @prefix dc: <http://purl.org/dc/elements/1.1/> .
nothing@0 2 @prefix jMIR: <file:///Users/alo/MusicOntology/features/rdf/> .
nothing@0 3 @prefix local: <http://sovarr.c4dm.eecs.qmul.ac.uk/features/> .
nothing@0 4 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
nothing@0 5
nothing@0 6 jMIR:AreaMoments a rdfs:Resource ;
nothing@0 7 dc:description "2D statistical method of moments" ;
nothing@0 8 local:name "Area Method of Moments" .
nothing@0 9
nothing@0 10 jMIR:AreaMomentsConstantQMFCC a rdfs:Resource ;
nothing@0 11 dc:description "2D statistical method of moments of ConstantQ-based MFCCs" ;
nothing@0 12 local:name "Area Method of Moments of ConstantQ-based MFCCs" .
nothing@0 13
nothing@0 14 jMIR:AreaMomentsLogConstantQ a rdfs:Resource ;
nothing@0 15 dc:description "2D statistical method of moments of the log of the ConstantQ transform" ;
nothing@0 16 local:name "Area Method of Moments of Log of ConstantQ transform" .
nothing@0 17
nothing@0 18 jMIR:AreaMomentsMFCC a rdfs:Resource ;
nothing@0 19 dc:description "2D statistical method of moments of MFCCs" ;
nothing@0 20 local:name "Area Method of Moments of MFCCs" .
nothing@0 21
nothing@0 22 jMIR:AreaPolynomialApproximation a rdfs:Resource ;
nothing@0 23 dc:description "coeffecients of 2D polynomial best describing the input matrtix." ;
nothing@0 24 local:name "2D Polynomial Approximation" .
nothing@0 25
nothing@0 26 jMIR:AreaPolynomialApproximationConstantQMFCC a rdfs:Resource ;
nothing@0 27 dc:description "coeffecients of 2D polynomial best describing the input matrtix." ;
nothing@0 28 local:name "2D Polynomial Approximation ConstantQ MFCC" .
nothing@0 29
nothing@0 30 jMIR:AreaPolynomialApproximationLogConstantQ a rdfs:Resource ;
nothing@0 31 dc:description "coeffecients of 2D polynomial best describing the input matrix." ;
nothing@0 32 local:name "2D Polynomial Approximation of Log of ConstantQ" .
nothing@0 33
nothing@0 34 jMIR:BeatHistogram a rdfs:Resource ;
nothing@0 35 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." ;
nothing@0 36 local:name "Beat Histogram" .
nothing@0 37
nothing@0 38 jMIR:BeatHistogramLabels a rdfs:Resource ;
nothing@0 39 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." ;
nothing@0 40 local:name "Beat Histogram Bin Labels" .
nothing@0 41
nothing@0 42 jMIR:BeatSum a rdfs:Resource ;
nothing@0 43 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." ;
nothing@0 44 local:name "Beat Sum" .
nothing@0 45
nothing@0 46 jMIR:Compactness a rdfs:Resource ;
nothing@0 47 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." ;
nothing@0 48 local:name "Compactness" .
nothing@0 49
nothing@0 50 jMIR:ConstantQ a rdfs:Resource ;
nothing@0 51 dc:description "signal to frequency transform using exponential-spaced frequency bins." ;
nothing@0 52 local:name "ConstantQ" .
nothing@0 53
nothing@0 54 jMIR:ConstantQMFCC a rdfs:Resource ;
nothing@0 55 dc:description "MFCCs directly caluclated from ConstantQ exponential bins" ;
nothing@0 56 local:name "ConstantQ derived MFCCs" .
nothing@0 57
nothing@0 58 jMIR:FFTBinFrequencies a rdfs:Resource ;
nothing@0 59 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." ;
nothing@0 60 local:name "FFT Bin Frequency Labels" .
nothing@0 61
nothing@0 62 jMIR:FractionOfLowEnergyWindows a rdfs:Resource ;
nothing@0 63 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." ;
nothing@0 64 local:name "Fraction Of Low Energy Windows" .
nothing@0 65
nothing@0 66 jMIR:HarmonicSpectralCentroid a rdfs:Resource ;
nothing@0 67 dc:description "Spectral Centroid calculated based on the center of mass of partials instead of center of mass of bins." ;
nothing@0 68 local:name "Partial Based Spectral Centroid" .
nothing@0 69
nothing@0 70 jMIR:HarmonicSpectralFlux a rdfs:Resource ;
nothing@0 71 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() } }" ;
nothing@0 72 local:name "Partial Based Spectral Flux" .
nothing@0 73
nothing@0 74 jMIR:HarmonicSpectralSmoothness a rdfs:Resource ;
nothing@0 75 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." ;
nothing@0 76 local:name "Peak Based Spectral Smoothness" .
nothing@0 77
nothing@0 78 jMIR:LPC a rdfs:Resource ;
nothing@0 79 dc:description "Linear Prediction Coeffecients calculated using autocorrelation and Levinson-Durbin recursion." ;
nothing@0 80 local:name "LPC" .
nothing@0 81
nothing@0 82 jMIR:LogConstantQ a rdfs:Resource ;
nothing@0 83 dc:description "logarithm of each bin of exponentially-spaced frequency bins." ;
nothing@0 84 local:name "Log of ConstantQ" .
nothing@0 85
nothing@0 86 jMIR:MFCC a rdfs:Resource ;
nothing@0 87 dc:description "MFCC calculations based upon Orange Cow code" ;
nothing@0 88 local:name "MFCC" .
nothing@0 89
nothing@0 90 jMIR:MagnitudeSpectrum a rdfs:Resource ;
nothing@0 91 dc:description "A measure of the strength of different frequency components." ;
nothing@0 92 local:name "Magnitude Spectrum" .
nothing@0 93
nothing@0 94 jMIR:Moments a rdfs:Resource ;
nothing@0 95 dc:description "Statistical Method of Moments of the Magnitude Spectrum." ;
nothing@0 96 local:name "Method of Moments" .
nothing@0 97
nothing@0 98 jMIR:PeakFinder a rdfs:Resource ;
nothing@0 99 dc:description "All peaks that are within an order of magnitude of the highest point" ;
nothing@0 100 local:name "Peak Detection" .
nothing@0 101
nothing@0 102 jMIR:PowerSpectrum a rdfs:Resource ;
nothing@0 103 dc:description "A measure of the power of different frequency components." ;
nothing@0 104 local:name "Power Spectrum" .
nothing@0 105
nothing@0 106 jMIR:RMS a rdfs:Resource ;
nothing@0 107 dc:description "A measure of the power of a signal." ;
nothing@0 108 local:name "Root Mean Square" .
nothing@0 109
nothing@0 110 jMIR:RelativeDifferenceFunction a rdfs:Resource ;
nothing@0 111 dc:description "Relative Difference Function" ;
nothing@0 112 local:name "Relative Difference Function" .
nothing@0 113
nothing@0 114 jMIR:SpectralCentroid a rdfs:Resource ;
nothing@0 115 dc:description "The centre of mass of the power spectrum." ;
nothing@0 116 local:name "Spectral Centroid" .
nothing@0 117
nothing@0 118 jMIR:SpectralFlux a rdfs:Resource ;
nothing@0 119 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." ;
nothing@0 120 local:name "Spectral Flux" .
nothing@0 121
nothing@0 122 jMIR:SpectralRolloffPoint a rdfs:Resource ;
nothing@0 123 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." ;
nothing@0 124 local:name "Spectral Rolloff Point" .
nothing@0 125
nothing@0 126 jMIR:SpectralVariability a rdfs:Resource ;
nothing@0 127 dc:description "The standard deviation of the magnitude spectrum. This is a measure of the variance of a signal's magnitude spectrum." ;
nothing@0 128 local:name "Spectral Variability" .
nothing@0 129
nothing@0 130 jMIR:StrengthOfStrongestBeat a rdfs:Resource ;
nothing@0 131 dc:description "How strong the strongest beat in the beat histogram is compared to other potential beats." ;
nothing@0 132 local:name "Strength Of Strongest Beat" .
nothing@0 133
nothing@0 134 jMIR:StrongestBeat a rdfs:Resource ;
nothing@0 135 dc:description "The strongest beat in a signal, in beats per minute, found by finding the strongest bin in the beat histogram." ;
nothing@0 136 local:name "Strongest Beat" .
nothing@0 137
nothing@0 138 jMIR:StrongestFrequencyViaFFTMax a rdfs:Resource ;
nothing@0 139 dc:description "The strongest frequency component of a signal, in Hz, found via finding the FFT bin with the highest power." ;
nothing@0 140 local:name "Strongest Frequency Via FFT Maximum" .
nothing@0 141
nothing@0 142 jMIR:StrongestFrequencyViaSpectralCentroid a rdfs:Resource ;
nothing@0 143 dc:description "The strongest frequency component of a signal, in Hz, found via the spectral centroid." ;
nothing@0 144 local:name "Strongest Frequency Via Spectral Centroid" .
nothing@0 145
nothing@0 146 jMIR:StrongestFrequencyViaZeroCrossings a rdfs:Resource ;
nothing@0 147 dc:description "The strongest frequency component of a signal, in Hz, found via the number of zero-crossings." ;
nothing@0 148 local:name "Strongest Frequency Via Zero Crossings" .
nothing@0 149
nothing@0 150 jMIR:ZeroCrossings a rdfs:Resource ;
nothing@0 151 dc:description "The number of times the waveform changed sign. An indication of frequency as well as noisiness." ;
nothing@0 152 local:name "Zero Crossings" .
nothing@0 153