Python toolbox that incorporates tools from biological signal processing and musical theory to extract harmonic structures from biosignals.
Create an environment with Python v3.8
conda create -n biotuner python=3.8
conda activate biotuner
pip install biotuner
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