Python toolbox that incorporates tools from biological signal processing and musical theory to extract harmonic structures from biosignals.
🧬🎵 Visit the documentation page
To install Biotuner, follow the steps below:
- Create a Python environment with v3.8 using conda:
conda create --name biotuner_env python=3.8
conda activate biotuner_env
- Clone the Biotuner repository:
git clone https://github.com/AntoineBellemare/biotuner.git
cd biotuner
- Install the package:
pip install -e .
biotuning = biotuner(sf = 1000) #initialize the object
biotuning.peaks_extraction(data, peaks_function='FOOOF') #extract spectral peaks
biotuning.compute_peaks_metrics() #get consonance metrics for spectral peaks