Page 1 of 1
Spectrum.txt file use as preset?
Posted: Mon Mar 23, 2009 12:18 pm
by free_tone
Is it possible to spectrum.txt file ( from Analyze>Plot Spectrum>Frequency Analysis>Export>Export Spectral Data As: ) use as some kind of preset value, and how that do?
Thanks in advance,
Re: Spectrum.txt file use as preset?
Posted: Mon Mar 23, 2009 8:32 pm
by steve
Personally I've never found a use for this feature, though I guess someone has.
You could (theoretically) use it for creating an Equalizer preset by comparing the numbers from the analysis of your audio sample with the numbers from some "idealised" sample.
To illustrate what I mean, here is a short extract from a Spectrum analysis:
Code: Select all
375.000000 -31.734108
750.000000 -37.220531
1125.000000 -39.213413
1500.000000 -40.593906
1875.000000 -41.644314
2250.000000 -42.472103
Here is an extract from the Equalizer XML file (EQCurves.xml)
Code: Select all
<curve name="custom">
<point f="40.113065241178" d="-1.785714268684"/>
<point f="266.574236772907" d="4.285714149475"/>
<point f="440.391360619615" d="5.000000000000"/>
<point f="613.104066574484" d="-2.678571462631"/>
<point f="744.336703565034" d="-20.000000000000"/>
<point f="1024.494961496390" d="-3.214285612106"/>
<point f="1272.492094554562" d="-2.857142925262"/>
<point f="1426.281447017399" d="-9.464285850525"/>
<point f="2994.202324574928" d="-12.321428298950"/>
<point f="19898.185157833737" d="-4.428571224213"/>
</curve>
Note that even with the "Size" parameter in the Spectrum Analysis set to 128, it still generates 64 pairs of numbers, so using this to create an XML file manually is going to be a lot of work. I presume that there is some program that can read the text file automatically and make use of it, but I've not come across it.
If you write your own computer programs, it could be an interesting project to create a small application that could read two Spectrum Analysis text files, and outputs an XML file that could then be used to Equalize one of the files so that it has the same Spectral content as the other file.
Re: Spectrum.txt file use as preset?
Posted: Tue Mar 24, 2009 2:30 pm
by free_tone
Dear stevethefiddle , unfortunly I do not know to write computer programs, and I am not shure I am on right way, but I agree with You " it could be an interesting project to create a small application that could read two Spectrum Analysis text files, and outputs an XML file that could then be used to Equalize one of the files so that it has the same Spectral content as the other file. Red color of your words represent purpose of my question, and thanks for understanding.