pyACA: Documentation 0.3.1
Source Code for Audio Content Analysis
|
Functions | |
computeKey (x, f_s, afWindow=None, iBlockLength=4096, iHopLength=2048) | |
computes the musical key of an input audio file | |
computeKeyCl (cPath) | |
main | |
Variables | |
parser = argparse.ArgumentParser(description='Compute key of wav file') | |
metavar | |
required | |
help | |
args = parser.parse_args() | |
cPath = args.infile | |
computeKey | ( | x, | |
f_s, | |||
afWindow = None, | |||
iBlockLength = 4096, | |||
iHopLength = 2048 ) |
computes the musical key of an input audio file
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) |
iBlockLength | internal block length (default: 8192 samples) |
iHopLength | internal hop length (default: 2048 samples) |
Definition at line 19 of file computeKey.py.
computeKeyCl | ( | cPath | ) |
main
Definition at line 58 of file computeKey.py.
args = parser.parse_args() |
Definition at line 75 of file computeKey.py.
str cPath = args.infile |
Definition at line 76 of file computeKey.py.
help |
Definition at line 73 of file computeKey.py.
metavar |
Definition at line 72 of file computeKey.py.
parser = argparse.ArgumentParser(description='Compute key of wav file') |
Definition at line 71 of file computeKey.py.
required |
Definition at line 72 of file computeKey.py.