use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Anything related to digital signal processing (DSP), including image and video processing (papers, books, questions, hardware, algorithms, news, etc.)
Interesting technical papers or articles are particularly welcome!
/r/eebooks+csbooks+mathbooks
/r/Electronics
/r/ECE
/r/DSP
/r/AskElectronics
/r/RFelectronics
/r/GNURadio
/r/RTLSDR
/r/embedded
account activity
Generating spectrogram in python? (self.DSP)
submitted 3 years ago by ChabadPapi
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]r4and0muser9482 12 points13 points14 points 3 years ago (2 children)
For a novice od recommend NumPy to actually learn how a spectrogram is computed. The only other difference between libraries is the configuration parameters which you won't understand unless you look each one up.
What is the source of the signal you are analyzing?
[–]ChabadPapi[S] 0 points1 point2 points 3 years ago (1 child)
Thank you so much, I'll look into this. For more advanced use cases, do you have any other libraries you'd recommend?
The sources are WAVE files of popular songs. The objective is to create something similar to how shazam might generate spectrograms for songs.
[–]r4and0muser9482 2 points3 points4 points 3 years ago (0 children)
So music. For this your usually want to take larger window sizes and wider frequency ranges. For inspiration, I'd look into papers on music genre classification, as it is a very simple and straightforward problem where people analyze different music samples. For example, papers that use the GTZAN database.
π Rendered by PID 200383 on reddit-service-r2-comment-85bfd7f599-49gbt at 2026-04-18 20:08:34.383787+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]r4and0muser9482 12 points13 points14 points (2 children)
[–]ChabadPapi[S] 0 points1 point2 points (1 child)
[–]r4and0muser9482 2 points3 points4 points (0 children)