Spectrum Filter Registry Format
Spectrum Filter Registry Format
I'm writing something that generates Spectrum Filter settings for use in GW, and rather than having to type the values it generates in by hand, I'd like to be able to write them directly to the registry so that GW can automatically have them available. What I'm hoping Chris can elaborate on is the format used for storing Spectrum Filter settings in the registry (even just the struct definition(s) would be more than good enough). If it's not possible, that's fair, but it would be good to have.
-
- Site Admin
- Posts: 4375
- Joined: Wed Mar 10, 2004 6:43 pm
- Location: St. John's, NL
- Contact:
Re: Spectrum Filter Registry Format
The presets are stored in the "HKEY_CURRENT_USER\Software\GoldWave\GoldWave\Presets\Effect\GoldWave*\Spectrum Filter" branch. The structure looks something like this:
Note that the structure could change in an update. Also note that storing invalid or inappropriate coordinates or values could crash the program, so use at your own risk.
Chris
Code: Select all
dword Version
dword Points
double x[0], y[0], x[1], y[1], ...x[Points-1], y[Points-1]
dword FFTSize
dword Overlap
double Scale;
Chris