MCPcopy Create free account
hub / github.com/cinder/Cinder / getFreqForBin

Method getFreqForBin

src/cinder/audio/MonitorNode.cpp:183–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183float MonitorSpectralNode::getFreqForBin( size_t bin )
184{
185 return bin * getSampleRate() / (float)getFftSize();
186}
187
188} } // namespace cinder::audio

Callers 1

printBinInfoMethod · 0.80

Calls 2

getFftSizeFunction · 0.85
getSampleRateFunction · 0.50

Tested by

no test coverage detected