Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aethersdr/AetherSDR
/ linToDb
Function
linToDb
src/core/ClientTube.cpp:17–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
}
16
17
float linToDb(float lin) noexcept
18
{
19
return (lin > 1e-9f) ? 20.0f * std::log10(lin) : -180.0f;
20
}
21
22
float coeffFromMs(float ms, double sampleRate) noexcept
23
{
Callers
1
process
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected