Mercurial > hg > tipic
changeset 47:d15a1fc7ebbc
Naming and descriptions; bump version to 1
author | Chris Cannam |
---|---|
date | Tue, 20 Sep 2016 12:12:50 +0100 |
parents | 54b308dc8910 |
children | d4836cad2b58 |
files | src/TipicVampPlugin.cpp tipic.cat |
diffstat | 2 files changed, 27 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/TipicVampPlugin.cpp Wed Feb 10 20:31:11 2016 +0000 +++ b/src/TipicVampPlugin.cpp Tue Sep 20 12:12:50 2016 +0100 @@ -52,13 +52,13 @@ string Tipic::getName() const { - return "Timbre-Invariant Pitch Chroma"; + return "TIPIC"; } string Tipic::getDescription() const { - return "Pitch and chroma features with optional DCT timbre reduction."; + return "Chroma and pitch features, including DCT-reduced chroma with extra timbre invariance. Based on the MATLAB Chroma Toolbox by Müller and Ewert, adapted to use causal filters."; } string @@ -70,7 +70,7 @@ int Tipic::getPluginVersion() const { - return 0; + return 1; } string @@ -180,10 +180,14 @@ { OutputList list; + string downIdSuffix = "-smoothed"; + string downNamePrefix = "Smoothed "; + string downDescSuffix = ", smoothed by 10x downsampling"; + OutputDescriptor d; d.identifier = "pitch"; - d.name = "Pitch Features"; - d.description = ""; + d.name = "Pitch Representation"; + d.description = "Short-time energy content of the signal within 88 semitone-tuned frequency bands"; d.unit = ""; d.hasFixedBinCount = true; int min = 0, max = 0; @@ -201,14 +205,15 @@ m_pitchOutputNo = list.size(); list.push_back(d); - d.identifier += "-down"; - d.name += " (Downsampled)"; + d.identifier += downIdSuffix; + d.name = downNamePrefix + d.name; + d.description += downDescSuffix; d.sampleRate /= 10.0; list.push_back(d); d.identifier = "chroma"; d.name = "Chroma Pitch Features"; - d.description = ""; + d.description = "CP Chroma Pitch features derived by summing the Pitch Representation into a single octave"; d.unit = ""; d.hasFixedBinCount = true; d.binCount = 12; @@ -221,39 +226,42 @@ m_cpOutputNo = list.size(); list.push_back(d); - d.identifier += "-down"; - d.name += " (Downsampled)"; + d.identifier += downIdSuffix; + d.name = downNamePrefix + d.name; + d.description += downDescSuffix; d.sampleRate /= 10.0; list.push_back(d); d.identifier = "clp"; d.name = "Chroma Log Pitch Features"; - d.description = ""; + d.description = "CLP Chroma Logarithmic Pitch features derived by summing log of the Pitch Representation energy values into a single octave"; d.sampleRate = PitchFilterbank::getOutputSampleRate(); m_clpOutputNo = list.size(); list.push_back(d); - d.identifier += "-down"; - d.name += " (Downsampled)"; + d.identifier += downIdSuffix; + d.name = downNamePrefix + d.name; + d.description += downDescSuffix; d.sampleRate /= 10.0; list.push_back(d); d.identifier = "cens"; d.name = "Chroma Energy Normalised Statistics Features"; - d.description = ""; + d.description = "CENS statistical features based on L1 normalized pitch energy distribions"; d.sampleRate = PitchFilterbank::getOutputSampleRate() / 10.0; m_censOutputNo = list.size(); list.push_back(d); d.identifier = "crp"; - d.name = "Chroma DCT-Reduced Log Pitch Features"; - d.description = ""; + d.name = "Chroma DCT-Reduced Pitch Features"; + d.description = "CRP Chroma DCT-Reduced Log Pitch features, providing some timbre-invariance by discarding timbre-related information from lower cepstral coefficients"; d.sampleRate = PitchFilterbank::getOutputSampleRate(); m_crpOutputNo = list.size(); list.push_back(d); - d.identifier += "-down"; - d.name += " (Downsampled)"; + d.identifier += downIdSuffix; + d.name = downNamePrefix + d.name; + d.description += downDescSuffix; d.sampleRate /= 10.0; list.push_back(d);