#include "Test_Support.cpp"#include "SoundFile.h"#include "Spectral.h"#include "NullIO.h"Classes | |
| struct | rasterfile_header |
| class | Spectrogram |
Defines | |
| #define | RAS_MAGIC 0x59a66a95 |
| #define | RT_OLD 0 |
| #define | RT_STANDARD 1 |
| #define | RT_BYTE_ENCODED 2 |
| #define | RT_FORMAT_RGB 3 |
| #define | RT_FORMAT_TIFF 4 |
| #define | RT_FORMAT_IFF 5 |
| #define | RT_EXPERIMENTAL 0xffff |
| #define | RMT_NONE 0 |
| #define | RMT_EQUAL_RGB 1 |
| #define | RMT_RAW 2 |
| #define | USE_LOG_SCALE |
Functions | |
| int | main (int argc, const char *argv[]) |
| #define RAS_MAGIC 0x59a66a95 |
Referenced by Spectrogram::saveToRas().
| #define RT_OLD 0 |
| #define RT_STANDARD 1 |
Referenced by Spectrogram::saveToRas().
| #define RT_BYTE_ENCODED 2 |
| #define RT_FORMAT_RGB 3 |
| #define RT_FORMAT_TIFF 4 |
| #define RT_FORMAT_IFF 5 |
| #define RT_EXPERIMENTAL 0xffff |
| #define RMT_NONE 0 |
Referenced by Spectrogram::saveToRas().
| #define RMT_EQUAL_RGB 1 |
| #define RMT_RAW 2 |
| #define USE_LOG_SCALE |
| int main | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
MAIN -- Save a spectrogram to a raster file
References Spectrogram::compress(), csl::CSL_FFT_REAL, testkiss::e, fft::fft(), find_option(), csl::kLogError, csl::logMsg(), Spectrogram::normalize(), READ_CSL_OPTS, Spectrogram::saveToRas(), csl::CGestalt::setBlockSize(), csl::sleepSec(), and theIO.
1.5.8