alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.66k stars 262 forks source link

Export Spectrogram to CSV #225

Open pokibg opened 2 years ago

pokibg commented 2 years ago

Hello.

I am no programmer by any means. I am just an audio enthusiast, which finds this tool very useful.

I would like to request a feature where you can export the Spectrogram into a CSV.

The columns of the CSV could look somewhat like that: Time;freqX dB;freqY dB;....;freqN dB

Might be great if the time interval and number of sampled frequencies(bands) could be defined.

Example(time_interval=100ms, sampled_bands=5): Time;100Hz;500Hz;1500Hz;5000Hz;10000Hz 100ms;-80dB;-75dB;-70dB;-60dB;-82dB 200ms;-82dB;-72dB;-73dB;-62dB;-85dB

The bands might contain not just the value of the exact frequency, but averaged value of all the nearby frequencies(with Q-factor defining the band width - similar to parametric EQs). The Q-factor might also be customizable by the export wizard.

Personally I will find such feature really useful, in order to compare two signals.

I hope this is the right place to post this and you find it useful. Let me know if I can help in any way.

Best regards.