-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate Spectrogram File Format (SFF) #44
Comments
Here is the code that is being deprecated. Users can copy/paste this logic into their own applications as desired. SpectrogramGenerator.SaveData()Spectrogram/src/Spectrogram/SpectrogramGenerator.cs Lines 353 to 361 in f647f09
SffMeanFFT()Spectrogram/src/Spectrogram/Tools.cs Lines 10 to 32 in f647f09
SffMeanPower()Spectrogram/src/Spectrogram/Tools.cs Lines 34 to 49 in f647f09
GetPeakFrequency()Spectrogram/src/Spectrogram/Tools.cs Lines 51 to 78 in f647f09
SFF ClassSpectrogram/src/Spectrogram/SFF.cs Lines 11 to 285 in f647f09
|
The purpose of this library is to generate spectrograms from signals using FFT. The output of a spectrogram is just a 2D array of floating point values.
The SFF (spectrogram file format) was originally created to store and recall this 2D array along with a small header in a binary file format. This binary format is not useful outside of this package, and SFF is not a standard format supported by commercial software. Maintaining this file format lies outside of the scope of this library, and users who wish to save spectrogram data are encouraged to write their own IO routines.
Tip: A JSON header would be much easier to maintain than the SFF header (which requires specific knowledge about the bit location and structure of values in the binary content of the file).
The text was updated successfully, but these errors were encountered: