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

Method frequencyInSfxrUnits

src/extended/SfxrNode.cpp:1145–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143}
1144
1145float SfxrNode::frequencyInSfxrUnits(float p)
1146{
1147 p /= OVERSAMPLING * 441.0f;
1148 p -= 0.001f;
1149 if (p < 0) p = 0;
1150 return sqrt(p);
1151}
1152float SfxrNode::frequencyInHz(float sfxr)
1153{
1154 float p = sfxr * sfxr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected