Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
183
float MonitorSpectralNode::getFreqForBin( size_t bin )
184
{
185
return bin * getSampleRate() / (float)getFftSize();
186
}
187
188
} } // namespace cinder::audio
Callers
1
printBinInfo
Method · 0.80
Calls
2
getFftSize
Function · 0.85
getSampleRate
Function · 0.50
Tested by
no test coverage detected