|
pyACA: Documentation 0.3.1
Source Code for Audio Content Analysis
|
Functions | |
| computeMelSpectrogram (x, f_s, afWindow=None, bLogarithmic=True, iBlockLength=4096, iHopLength=2048, iNumMelBands=128, fMaxInHz=None) | |
| computes a mel spectrogram from the audio data | |
| generateMelFb_I (iFftLength, f_s, iNumFilters, f_max) | |
| computeMelSpectrogramCl (cPath) | |
| main | |
Variables | |
| parser = argparse.ArgumentParser(description='Compute key of wav file') | |
| metavar | |
| required | |
| help | |
| args = parser.parse_args() | |
| cPath = args.infile | |
| computeMelSpectrogram | ( | x, | |
| f_s, | |||
| afWindow = None, | |||
| bLogarithmic = True, | |||
| iBlockLength = 4096, | |||
| iHopLength = 2048, | |||
| iNumMelBands = 128, | |||
| fMaxInHz = None ) |
computes a mel spectrogram from the audio data
| x | array with floating point audio data (dimension samples x channels) |
| f_s | sample rate of audio data |
| bLogarithmic | levels (true) or magnitudes (false) |
| 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) |
| iNumMelBands | number of mel bands (default: 128 bands) |
| fMaxInHz | maximum frequency (default: None) |
Definition at line 26 of file computeMelSpectrogram.py.

| computeMelSpectrogramCl | ( | cPath | ) |
main
Definition at line 86 of file computeMelSpectrogram.py.
| generateMelFb_I | ( | iFftLength, | |
| f_s, | |||
| iNumFilters, | |||
| f_max ) |
Definition at line 55 of file computeMelSpectrogram.py.

| args = parser.parse_args() |
Definition at line 107 of file computeMelSpectrogram.py.
| str cPath = args.infile |
Definition at line 108 of file computeMelSpectrogram.py.
| help |
Definition at line 104 of file computeMelSpectrogram.py.
| metavar |
Definition at line 103 of file computeMelSpectrogram.py.
| parser = argparse.ArgumentParser(description='Compute key of wav file') |
Definition at line 102 of file computeMelSpectrogram.py.
| required |
Definition at line 103 of file computeMelSpectrogram.py.