#include <marvin/library/marvin_Concepts.h>
Go to the source code of this file.
Namespaces | |
namespace | marvin |
A mostly harmless top-level namespace. | |
namespace | marvin::math |
Math helper functions and classes. | |
Functions | |
template<FloatType T> | |
T | marvin::math::msToSeconds (T ms) noexcept |
template<FloatType T> | |
T | marvin::math::secondsToSamples (T seconds, double sampleRate) noexcept |
template<FloatType T> | |
T | marvin::math::msToSamples (T ms, double sampleRate) noexcept |
template<FloatType T> | |
T | marvin::math::dbToGain (T db, T referenceMinDb=static_cast< T >(-100.0)) |
template<FloatType T> | |
T | marvin::math::gainToDb (T gain, T minusInfDb=static_cast< T >(-100.0)) noexcept |