Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 11-27-2018, 01:42 PM   #1
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,659
Default Improved spectrogram frequency resolution: custom FFT sizes

Here is a comparison between REAPER and RX7's spectrograms for the same piece of music:

REAPER:


RX7:


The RX7 spectrogram is obviously much sharper in the frequency domain, and much more informative.

RX7 offers advanced options such as "Adaptively sparse" analysis, and I don't know how difficult it would be to program these for REAPER.

However, even when using only the most basic settings, a spectrogram can be vastly improved by simply tweaking the FFT size. My guess is that REAPER uses an FFT size of 256 samples, since RX7 and Audacity's spectrograms look very similar to REAPER's, if they use that FFT size (and only basic analysis).

Here is Audacity's version, with an FFT size of 4096. Although not as good as RX7, it is a big improvement over REAPER:

juliansader is offline   Reply With Quote
Old 11-28-2018, 03:21 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,487
Default

FYN there is FFT size parameter (always 1024) in item chunk so maybe it is already possible, but not allowed from interface or ReaScript.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 07-06-2019, 04:04 AM   #3
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,659
Default

If the FFT size is given in the chunk, that would be great, since a script can then easily change it. Unfortunately, I have never seen an FFT field or any field with a default value of 1024 in the item chunk. Are you sure about this FFT size parameter? (Does it only appear after doing some Actions?)
juliansader is offline   Reply With Quote
Old 07-14-2019, 02:55 PM   #4
Philbo King
Human being with feelings
 
Philbo King's Avatar
 
Join Date: May 2017
Posts: 1,504
Default

I wonder if 'adaptively sparse' means FFT size increases for bass and decreases for treble? That would certainly optimise bin resolution across the spectrum.
__________________
Tangent Studio - Philbo King
www.soundclick.com/philboking - stream music
www.facebook.com/philboking - gigs and news
Philbo King is online now   Reply With Quote
Old 07-14-2019, 03:00 PM   #5
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,396
Default

Item-spectral-edit is completely programmable via my Ultraschall-API.
I spent a big deal in reverse engineering it and coding functions for it.

Introduction-chapter:
https://mespotin.uber.space/Ultrasch..._Spectral_Edit


The StateChunk-entries described can be found in:
https://github.com/Ultraschall/ultra...Doku.txt#L1237
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 07-17-2019, 01:33 PM   #6
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,659
Default

Quote:
Originally Posted by mespotine View Post
Item-spectral-edit is completely programmable via my Ultraschall-API.
I spent a big deal in reverse engineering it and coding functions for it.

Introduction-chapter:
https://mespotin.uber.space/Ultrasch..._Spectral_Edit


The StateChunk-entries described can be found in:
https://github.com/Ultraschall/ultra...Doku.txt#L1237
Unfortunately, as far as I can tell, the chunk's SPECTRAL_CONFIG field stores the "Take processor FFT size" of an individual spectral edit and only affects that spectral edit, not the appearance of the item's spectrogram.
juliansader is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.