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

Method normalize

src/core/AudioBus.cpp:228–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void AudioBus::normalize()
229{
230 float max = maxAbsValue();
231 if (max) scale(1.0f / max);
232}
233
234void AudioBus::scale(float scale)
235{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected