#include <MonitorNode.h>
Inherits cinder::audio::MonitorNode::Format.
cinder::audio::MonitorSpectralNode::Format::Format |
( |
| ) |
|
Format& cinder::audio::MonitorSpectralNode::Format::fftSize |
( |
size_t |
size | ) |
|
Sets the FFT size, rounded up to the nearest power of 2 greater or equal to windowSize. Setting this larger than windowSize causes the FFT transform to be 'zero-padded'. Default is the same as windowSize.
- Note
- resulting number of output spectral bins is equal to (size / 2)
defaults to WindowType::BLACKMAN
Format& cinder::audio::MonitorSpectralNode::Format::windowSize |
( |
size_t |
size | ) |
|
- See also
- Scope::windowSize()
size_t cinder::audio::MonitorSpectralNode::Format::getFftSize |
( |
| ) |
const |
dsp::WindowType cinder::audio::MonitorSpectralNode::Format::getWindowType |
( |
| ) |
const |
Format& cinder::audio::MonitorSpectralNode::Format::channels |
( |
size_t |
ch | ) |
|
Format& cinder::audio::MonitorSpectralNode::Format::autoEnable |
( |
bool |
autoEnable = true | ) |
|
size_t cinder::audio::MonitorNode::Format::getWindowSize |
( |
| ) |
const |
|
inherited |
size_t cinder::audio::Node::Format::getChannels |
( |
| ) |
const |
|
inherited |
ChannelMode cinder::audio::Node::Format::getChannelMode |
( |
| ) |
const |
|
inherited |
boost::tribool cinder::audio::Node::Format::getAutoEnable |
( |
| ) |
const |
|
inherited |
void cinder::audio::Node::Format::setChannels |
( |
size_t |
ch | ) |
|
|
inherited |
void cinder::audio::Node::Format::setChannelMode |
( |
ChannelMode |
mode | ) |
|
|
inherited |
void cinder::audio::Node::Format::setAutoEnable |
( |
bool |
autoEnable | ) |
|
|
inherited |
size_t cinder::audio::MonitorSpectralNode::Format::mFftSize |
|
protected |
size_t cinder::audio::MonitorNode::Format::mWindowSize |
|
protectedinherited |
The documentation for this struct was generated from the following file: