pyACA: Documentation 0.3.1
Source Code for Audio Content Analysis
|
Functions | |
computeNoveltyFunction (cNoveltyName, x, f_s, afWindow=None, iBlockLength=4096, iHopLength=512) | |
computes the novelty function for onset detection supported novelty measures are: 'Flux', 'Laroche', 'Hainsworth' | |
computeNoveltyFunctionCl (cPath, cNoveltyName) | |
main | |
Variables | |
parser = argparse.ArgumentParser(description='Compute key of wav file') | |
metavar | |
required | |
help | |
args = parser.parse_args() | |
cInPath = args.infile | |
cNoveltyName = args.noveltyname | |
bPlotOutput = args.plotoutput | |
computeNoveltyFunction | ( | cNoveltyName, | |
x, | |||
f_s, | |||
afWindow = None, | |||
iBlockLength = 4096, | |||
iHopLength = 512 ) |
computes the novelty function for onset detection supported novelty measures are: 'Flux', 'Laroche', 'Hainsworth'
cNoveltyName | name of the novelty measure |
x | array with floating point audio data (dimension samples x channels) |
f_s | sample rate of audio data |
afWindow | FFT window of length iBlockLength (default: hann), can be [] empty |
iBlockLength | internal block length (default: 4096 samples) |
iHopLength | internal hop length (default: 2048 samples) |
Definition at line 32 of file computeNoveltyFunction.py.
computeNoveltyFunctionCl | ( | cPath, | |
cNoveltyName ) |
main
Definition at line 75 of file computeNoveltyFunction.py.
args = parser.parse_args() |
Definition at line 99 of file computeNoveltyFunction.py.
bool bPlotOutput = args.plotoutput |
Definition at line 102 of file computeNoveltyFunction.py.
str cInPath = args.infile |
Definition at line 100 of file computeNoveltyFunction.py.
str cNoveltyName = args.noveltyname |
Definition at line 101 of file computeNoveltyFunction.py.
help |
Definition at line 92 of file computeNoveltyFunction.py.
metavar |
Definition at line 91 of file computeNoveltyFunction.py.
parser = argparse.ArgumentParser(description='Compute key of wav file') |
Definition at line 90 of file computeNoveltyFunction.py.
required |
Definition at line 91 of file computeNoveltyFunction.py.