timbral_models
timbral_models copied to clipboard
Python scripts for modelling timbral attributes
Updated sklearn since its deprecated.
Your https://github.com/AudioCommons/timbral_models/blob/master/setup.py depends on `sklearn`, which is now deprecated. The suggested fix is to use `scikit-learn` instead. Does someone have the time to try this? For some reason I get...
Currently the calls to `librosa` that handle onset detection breaks the `timbral_extractor(...)`. Explicitly passing arguments fixes the issue.
I'm running into an error as soon as I try to run it, using the sample code given in your readme. code: import timbral_models frame = r"Downloads\Ingentia60.mp3" timbre = timbral_models.timbral_extractor(frame)...
This issue caused errors when processing sounds with silent segments. Because the logarithm is used to weight the samples, it is my understanding that replacing log(0) values with 0 would...
The error occurs when there is a zero in the array : ```python spec[WR_upper_f_limit_idx:] ``` a working fix is replacing the line 217 with : ```python above_WR_spec = [value if...
Are there any documents that explained how these features are calculated?
Hi, if I read the code in Timbral_Brightness.py correctly, line 125 should say: all_hp_centroid_tpower.append(hp_centroid_tpower) and line 132 should say: weighted_mean_hp_centroid = np.average(all_hp_centroid, weights=all_hp_centroid_tpower) Otherwise the hp_centroid array would contain a...
When processing this sound: https://freesound.org/people/bone666138/sounds/198841/ both `timbral_brightness` and `timbral_hardness` models fail (the others work fine). Both return the same error, although it happens in different parts of the code and...
Got the following error when I tried to compute timbral_hardness for the following sound. I suspect it's because the sound has too short attack time. http://freesound.org/people/ShawnyBoy/sounds/165394/ ERROR : line 253,...