Struct dp_spectrogram_state_t¶
ClassList > dp_spectrogram_state_t
Spectrogram state. Allocate with dp_spectrogram_create() .More...
#include <spectrogram_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| float | beta |
| size_t | consumed |
| dp_f32_framer_t | fr |
| size_t | hop |
| dp_psd_kernel_t | k |
| float _Complex * | last |
| int | mode |
| size_t | nfft |
| dp_f32_t * | ring |
| int | window |
Detailed Description¶
Every field is configuration (or k's scratch) except fr's stream position and consumed. The state blob carries the configuration a row depends on (mode, nfft, hop, window, beta) and the stream position, not consumed.
Public Attributes Documentation¶
variable beta¶
Kaiser beta (the Kaiser window only).
variable consumed¶
Input samples the last push took.
variable fr¶
Any chunk in, nfft-sample frames out.
variable hop¶
Samples between row starts.
variable k¶
PSD's per-frame kernel: n = nfft, no pad.
variable last¶
flush()'s zero-padded frame, nfft samples.
variable mode¶
DP_SPECTROGRAM_POWER or DP_SPECTROGRAM_DB.
variable nfft¶
Samples per frame, and bins per row.
variable ring¶
The carry's storage, owned by fr alone.
variable window¶
A DP_PSD_WINDOW_* (the kernel's window).
The documentation for this class was generated from the following file native/inc/doppler/spectrogram/spectrogram_core.h