biosonic
A python package for bioacoustics
This package is in active development. If you want to work with it, be aware that it is prone to bugs and the functionality might change. If you would like to collaborate, please reach out to us! We would love for this to become a comprehensive package for bioacoustics and a collaborative project.
Description
biosonic is a python package for bioacoustics analysis. It's goal is to provide a solution for common workflows from normalization of files and basic acoustic feature extraction to extracting features commonly used in ML pipelines as well as fundamental frequency tracking with a user friendy function based structure and parametrization.
Getting Started
Dependencies
BioSonic is written to be lightweight and only relies on numpy, scipy, and pandas for it's basic functionality. If you want plotting, this can be specified during pip installing:
pip install biosonic[plots]
For full functionality, the current dependencies are:
- numpy
- pandas
- scipy
- matplotlib
- praat-textgrids
Python 3.10 and above are supported.
Installing
For full functionality, including plotting and praat-textgrid support run
pip install biosonic[all]
Executing
Demonstrations of different functionalities can be found in the documentation.
Authors
- Lena Gies (a12113965@unet.univie.ac.at)
- Tecumseh Fitch (tecumseh.fitch@unet.univie.ac.at)
- Yannick Jadoul (yannick.jadoul@uniroma1.it)
Acknowledgments and References
-
Anikin A. 2019. Soundgen: an open-source tool for synthesizing nonverbal vocalizations. Behavior Research Methods, 51(2), 778-792.
-
Boersma P. (1993) Accurate short-term analysis of the fundamental frequency and the harmonics-to-noise ratio of a sampled sound. IFA Proceedings 17, 97–110.
-
Childers DG, Skinner DP, Kemerait RC. (1977) The cepstrum: A guide to processing. Proc. IEEE 65, 1428–1443. https://doi.org/10.1109/PROC.1977.10747
-
Klapuri A, Davy M. (2006) Signal processing methods for music transcription. New York: Springer. p.136
-
Shannon C. E. (1948) A mathematical theory of communication. The Bell System Technical Journal XXVII.
-
Sueur, J. (2018). Sound Analysis and Synthesis with R (Springer International Publishing). https://doi.org/10.1007/978-3-319-77647-7.
-
Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, Stéfan J. van der Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, CJ Carey, İlhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E.A. Quintero, Charles R Harris, Anne M. Archibald, Antônio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. (2020) SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17(3), 261-272. https://doi.org/10.1038/s41592-019-0686-2.
-
https://de.mathworks.com/help/signal/ref/spectralentropy.html accessed January 13th, 2025. 18:34 pm
-
https://docs.scipy.org/doc/scipy-1.15.2/reference/generated/scipy.stats.entropy.html accessed May 20th 2025, 11:32 am
Metadata
Release files for biosonic 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biosonic-0.1.9.tar.gz | 1.0 MB | Without provenance | Details for biosonic-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biosonic-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for biosonic-0.1.9-py3-none-any.whl |
Total release size: 1.1 MB
Release files / biosonic-0.1.9.tar.gz
| Download URL | biosonic-0.1.9.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
551e7feb9ca2ca3de35933ddf606703c28a42269294adc357e2b33c847a1735e
|
|
BLAKE2b-256 checksum How to use checksums |
e9d2869bee6da953e9d798478e8b4f5a031c0590cebb67cac2a4c021d3516127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / biosonic-0.1.9-py3-none-any.whl
| Download URL | biosonic-0.1.9-py3-none-any.whl |
|---|---|
| Size | 49.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c566750aca48b637918d981c80d246ca966285d6bd865e4d247c2ecfe9e7182
|
|
BLAKE2b-256 checksum How to use checksums |
94be89a81f70412a70260db83e3df9fe70e01a528fb26b067c018eda7643c874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Security for biosonic 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.