MCPcopy Create free account
hub / github.com/LabSound/LabSound / filterFreqInHz

Method filterFreqInHz

src/extended/SfxrNode.cpp:1160–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158}
1159
1160float SfxrNode::filterFreqInHz(float sfxr)
1161{
1162 if (sfxr >= 1.0f)
1163 return 44100.0f;
1164
1165 return OVERSAMPLING * 44100.0f * flurp(cube(sfxr) / 10);
1166}
1167float SfxrNode::filterFreqInSfxrUnits(float hz)
1168{
1169 if (hz >= 44100.0f)

Callers

nothing calls this directly

Calls 2

flurpFunction · 0.85
cubeFunction · 0.85

Tested by

no test coverage detected