Support notation in STFT plots
See original GitHub issueIs your feature request related to a problem? Please describe.
specshow
allows STFT to be shown in linear or logarithmic scales, with Hz formatting on the frequency axis.
If a user wants a pitch-based decoration (notes or svara), they currently have to use a CQT spectrogram rather than an STFT. There’s no good technical reason for that though, as they all render the data in natural coordinates.
Describe the solution you’d like Add axis modes to specshow:
fft_note
fft_svara
which work like their CQT counterparts, but applied to STFT data.
Describe alternatives you’ve considered A savvy user could probably hack this by manually constructing the axis decoration objects, but we should make it easier for them.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (14 by maintainers)
Top Results From Across the Web
MATLAB stft - Short-time Fourier transform - MathWorks
Compute the short-time Fourier transform of the chirp. Divide the signal into 256-sample segments and window each segment using a Kaiser window with...
Read more >Short-time Fourier transform - Wikipedia
The short-time Fourier transform (STFT), is a Fourier-related transform used to determine the sinusoidal frequency and phase content of local sections of a ......
Read more >B3. Short Time Fourier Transform (STFT)
Music Score as a Time-Frequency plot. In what follows we introduce the Short Time Fourier Transform (STFT) and its applications to the analysis...
Read more >Spectrogram and the STFT - Introduction to Speech Processing
A first solution would be to plot the magnitude spectrum |Xk| or power ... The STFT is one of the most frequently used...
Read more >librosa.stft — librosa 0.10.0.dev0 documentation
Short-time Fourier transform (STFT). The STFT represents a signal in the time-frequency domain by computing discrete Fourier transforms (DFT) over short ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for the hold up on this. Yep, the only remaining blocker was the testing and documentation. Not entirely sure where the documentation goes but I can take a crack at some unit tests this afternoon. Of course, if you think you can do it faster you’re more than welcome to.
EDIT: should I open a PR?
Hey @P-bibs and @NThande – academic year is winding down over here, and I’m looking at pushing a 0.8.1 release in the near future. From your branch linked above, it looks like this is mostly there – are there any blockers we can help out with to get this one merged?