Python toolbox that incorporates tools from biological signal processing and musical theory to extract harmonic structures from biosignals.
🧬🎵 Visit the documentation page
pip install biotuner
conda create --name biotuner_env python=3.8
conda activate biotuner_env
git clone https://github.com/AntoineBellemare/biotuner.git
cd biotuner
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