fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
53 stars 11 forks source link

Adding more HPSS settings #298

Closed alexarje closed 1 year ago

alexarje commented 1 year ago

When I try to run the hpss function on my #StillStanding videos, I often get more or less black images due to the little sound in the recordings:

Screenshot from 2023-07-10 21-13-22

It would be nice to have some options for modifying the sensitivity of the analysis/visualisation, if possible.

joachimpoutaraud commented 1 year ago

I have update the hpss and spectrogram functions of the MgAudio object and added an additional top_db parameter that can be used to adjust adjust the sensitivity of the visualization.