kinokomushroom / Godot-Piano-Transcription-Helper

A tool to analyze music files by frequencies of every piano key, and display them in nice colours.
Other
87 stars 11 forks source link

[Enhancement] Use a power-law compression #9

Open RemiRigal opened 2 years ago

RemiRigal commented 2 years ago

I think that the audio spectrogram could be greatly improved by using a power-law compression. A factor of ~0.3 could be a good start, it is pretty standard for audio signals.

Thank you for this great tool !

kinokomushroom commented 2 years ago

Thanks for the suggestion!

So, the height of each bar is displayed in raw decibels right now. Is your suggestion to alter these heights with Stevens's power law so that the different of heights between quieter sounds and louder sounds become smaller?