
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Simplified Python Audio Features Extraction
spafe aims to simplify feature extractions from mono audio files.
Spafe includes various computations related to filter banks, spectrograms, frequencies and cepstral features .
The library has the following structure:
The theory behind features computed using spafe can be summmarized in the following graph:
spafe requires:
if you want to use the visualization module/ functions of spafe, you will need to install:
Once you have the Dependencies installed, use one of the following install options.
pip install spafe
pip install -U spafe
conda install spafe
git clone git@github.com:SuperKogito/spafe.git
cd spafe
python setup.py install
Unlike most existing audio feature extraction libraries (python_speech_features, SpeechPy, surfboard and Bob), Spafe provides more options for spectral features extraction algorithms, notably:
Most existing libraries and to their credits provide great implementations for features extraction but are unfortunately limited to the Mel Frequency Features (MFCC) and at best have Bark frequency and linear predictive coefficients additionally. Librosa for example includes great implementation of various algorithms (only MFCC and LPC are included), based on the Short Time Fourrier Transform (STFT), which is theoretically more accurate but slower than the Discret Fourrier Transform used in Spafe's implementation.
Various examples on how to use spafe are present in the documentation https://superkogito.github.io/spafe.
!Please make sure you are referring to the correct documentation version.
Contributions are welcome and encouraged. To learn more about how to contribute to spafe please refer to the Contributing guidelines
If you want to cite spafe as a software, please cite the version used as indexed in Zenodo:
Ayoub Malek, Hadrien Titeux, Stefano Borzì, Christian Heider Nielsen, Fabian-Robert Stöter, Hervé Bredin, Eryk Urbański & Kevin Mattheus Moerman. (2023). SuperKogito/spafe: v0.3.3 (v0.3.3). Zenodo. https://doi.org/10.5281/zenodo.11396240
You can also site spafe's paper as follows:
Malek, A., (2023). Spafe: Simplified python audio features extraction. Journal of Open Source Software, 8(81), 4739, https://doi.org/10.21105/joss.04739
FAQs
Simplified Python Audio-Features Extraction.
We found that spafe demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.