MCPcopy Create free account
hub / github.com/VCVRack/Rack / gainToDb

Function gainToDb

include/rack0.hpp:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261using namespace dsp;
262
263DEPRECATED inline float gainToDb(float gain) {
264 return dsp::amplitudeToDb(gain);
265}
266
267DEPRECATED inline float dbToGain(float db) {
268 return dsp::dbToAmplitude(db);

Callers

nothing calls this directly

Calls 1

amplitudeToDbFunction · 0.85

Tested by

no test coverage detected