pyACA: Documentation 0.3.1
Source Code for Audio Content Analysis
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
computeFeature.py File Reference

Go to the source code of this file.

Namespaces

namespace  pyACA
 
namespace  pyACA.computeFeature
 

Functions

 computeFeature (cFeatureName, x, f_s, afWindow=None, iBlockLength=4096, iHopLength=2048)
 computes a feature from the audio data supported features are: 'SpectralCentroid', 'SpectralCrestFactor', 'SpectralDecrease', 'SpectralFlatness', 'SpectralFlux', 'SpectralKurtosis', 'SpectralMfccs', 'SpectralPitchChroma', 'SpectralRolloff', 'SpectralSkewness', 'SpectralSlope', 'SpectralSpread', 'SpectralTonalPowerRatio', 'TimeAcfCoeff', 'TimeMaxAcf', 'TimePeakEnvelope', 'TimeRms', 'TimeStd', 'TimeZeroCrossingRate',
 
 isSpectral (cName)
 helper functions
 
 isTemporal (cName)
 
 computeFeatureCl (cPath, cFeatureName, bPlotOutput=False)
 main
 

Variables

 parser = argparse.ArgumentParser(description='Compute feature from wav file')
 
 metavar
 
 required
 
 help
 
 args = parser.parse_args()
 
 cPath = args.infile
 
 cFeatureName = args.featurename
 
 bPlotOutput = args.plotoutput