This release contains new functions and new functionalities for some functions :
List of new functions :
- in the module sound :
> normalize : Normalize audio signal to desired amplitude or decibell full scale value (dBFS).
> trim : Slices a time series, from a initial time `min_t` to an ending time `max_t`.
- in the module util : xeno-canto scraper
> xc_query : Collect metadata from xeno-canto depending on the search terms and store them in a dataframe
> xc_multi_query : Performs multiple queries to xeno-canto
> xc_selection : Select a maximum number of recordings depending on their quality and duration in order to create a homogeneous dataset
> xc_download : Download audio files from xeno-canto. It will create directories for each species if needed
- in the module spl : active or detection distance estimation
> attenuation_dB : Compute the attenuation in decibels taking into account the geometric, atmospheric and habitat attenuation contributions.
> dBSPL_per_bin : Function to spread the sound pressure level (Energy in dB) along a frequency vector (bins).
> detection_distance : Compute the detection distance also known as detection range or detection radius or active space.
> pressure_at_r0 : Estimate the pressure p0 at distance r0 from pressure p measured at distance r. This function takes into account the geometric, atmospheric and habitat attenuations.
> dBSPL_at_r0 : Estimate the sound pressure level L0 (dB SPL) at distance r0 from sound pressure level L measured at distance r. This function takes into account the geometric, atmospheric and habitat attenuations.
> apply_attenuation : Apply attenuation of a temporal signal p0 after propagation between the reference distance r0 and the final distance r taken into account the geometric, atmospheric and habitat attenuation contributions.
List of functions with new functionalities :
- in module util :
> we modified the function overlay_rois in order to add the possibility to display the bounding box with text label
> we modified the function read_audacity_annot in order to be able to extract 2D annotations (time-frequency segmentation) as well as 1D annotations (only time segmentation).
- in module features :
> Change in acoustic_eveness_index and acoustic_diversity_index in order to be compliant with R package Soundecology
- in module rois :
> we added functionalities to find_rois_cwt and to plot_shape
List of new examples :
> plot_wookpecker_drumming_characteristics.py : download audio files from Xeno-Canto and automatically extract characteristics
> plot_xenocanto_wookpecker_activities.py : download metadata from Xeno-Canto to infer species activities
> plot_sound_degradation_due_to_attenuation.py : simulation of sound degradation due to geometric, atmospheric and habitat attenuation
And the documentation is still here : [scikit-maad.github.io/](https://scikit-maad.github.io/)