MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
marvin_Conversions.h File Reference

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>
marvin::math::msToSeconds (T ms) noexcept
 
template<FloatType T>
marvin::math::secondsToSamples (T seconds, double sampleRate) noexcept
 
template<FloatType T>
marvin::math::msToSamples (T ms, double sampleRate) noexcept
 
template<FloatType T>
marvin::math::dbToGain (T db, T referenceMinDb=static_cast< T >(-100.0))
 
template<FloatType T>
marvin::math::gainToDb (T gain, T minusInfDb=static_cast< T >(-100.0)) noexcept