Public Member Functions | |
| Spectrogram (unsigned wide, unsigned high, UnitGenerator &model) | |
| ~Spectrogram () | |
| void | normalize () |
| void | compress () |
| void | update (void *arg) |
| void | saveToRas (char *name) |
Public Attributes | |
| unsigned | mWidth |
| unsigned | mHeight |
| SampleBufferVector | mData |
| unsigned | mPosition |
| Spectrogram::Spectrogram | ( | unsigned | wide, | |
| unsigned | high, | |||
| UnitGenerator & | model | |||
| ) |
References csl::logMsg(), mData, mHeight, mPosition, and mWidth.
| void Spectrogram::normalize | ( | ) |
| void Spectrogram::compress | ( | ) |
| void Spectrogram::saveToRas | ( | char * | name | ) |
References testkiss::j, mData, mHeight, mWidth, rasterfile_header::ras_depth, rasterfile_header::ras_height, rasterfile_header::ras_length, RAS_MAGIC, rasterfile_header::ras_magic, rasterfile_header::ras_maplength, rasterfile_header::ras_maptype, rasterfile_header::ras_type, rasterfile_header::ras_width, RMT_NONE, and RT_STANDARD.
Referenced by main().
| unsigned Spectrogram::mWidth |
Referenced by compress(), normalize(), saveToRas(), Spectrogram(), update(), and ~Spectrogram().
| unsigned Spectrogram::mHeight |
Referenced by compress(), normalize(), saveToRas(), Spectrogram(), and update().
| SampleBufferVector Spectrogram::mData |
Referenced by compress(), normalize(), saveToRas(), Spectrogram(), update(), and ~Spectrogram().
| unsigned Spectrogram::mPosition |
Referenced by Spectrogram(), and update().
1.5.8