HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: wvkks on 2021-04-23 13:31:04

Title: export spectrogram as picture ?
Post by: wvkks on 2021-04-23 13:31:04
hi,
I would like to know if there is a way to export fb2k's spectrogram viewer to a picture but in a very high resolution (for large printing) as a visual artist i like to play with pictures and i'm fascinated by the spectrogram view, I've converted some of my works to audio files but can't export the spectrogram's view 

thanks !

(sorry if I use wrongs terms I'm not audio pro ;) and french :p )
Title: Re: export spectrogram as picture ?
Post by: darkflame23 on 2021-04-23 14:32:58
You could always run it full screen at hi res and click the "Print Screen" button to screen grab it, then paste it in to any art app to save it.

For proper exports I have used RX Advanced "Export Screenshot" function.
Title: Re: export spectrogram as picture ?
Post by: wvkks on 2021-04-23 14:35:57
I have used RX Advanced "Export Screenshot" function.

sorry but what is RX advanced ?
Title: Re: export spectrogram as picture ?
Post by: Rollin on 2021-04-23 14:54:34
what is RX advanced ?
https://www.izotope.com/en/shop/rx-8-advanced.html

You can create pictures with spectrograms from audio files with SoX - http://sox.sourceforge.net/
Title: Re: export spectrogram as picture ?
Post by: wvkks on 2021-04-23 14:59:13
thanks i'll try it
Title: Re: export spectrogram as picture ?
Post by: sveakul on 2021-04-23 17:06:53
Spek will allow you to save its spectrogram as a PNG file. http://spek.cc/ (http://spek.cc/)
Title: Re: export spectrogram as picture ?
Post by: wvkks on 2021-04-23 17:19:34
Spek will allow you to save its spectrogram as a PNG file. http://spek.cc/ (http://spek.cc/)
thanks but i need something able to export at 9000x7000 / 240pp (for very large printing) :) but spek & Rx8 can't :/
Title: Re: export spectrogram as picture ?
Post by: Rollin on 2021-04-23 18:06:12
i need something able to export at 9000x7000
SoX will not do this too. Maximal height is limited to 2050.
You can use ffmpeg.
Code: [Select]
ffmpeg.exe -i inputaudiofile -lavfi showspectrumpic=s=9000x8192:mode=separate outputfile.png
where 9000 is width and 8192 is height. Height must be power of 2, otherwise not all frequencies will be displayed. Color options are also available, see https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic
Title: Re: export spectrogram as picture ?
Post by: wvkks on 2021-04-23 18:21:34
i need something able to export at 9000x7000
SoX will not do this too. Maximal height is limited to 2050.
You can use ffmpeg.
Code: [Select]
ffmpeg.exe -i inputaudiofile -lavfi showspectrumpic=s=9000x8192:mode=separate outputfile.png
where 9000 is width and 8192 is height. Height must be power of 2, otherwise not all frequencies will be displayed. Color options are also available, see https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic
thanks !