Functions | Variables

/Users/garethloy/Musimathics/Musimat1.2/include/Dynamics.h File Reference

Functions for musical dynamic markings. More...

#include <math.h>

Go to the source code of this file.

Functions

template<class Type >
Type dBCoefficient (Type x, Type ref=1.0)
 Return coefficient corresponding to a ratio of Real dB values.
template<class Type >
Type dBSPL (Type x, Type ref=1.0)
 Return the dB SPL of two amplitudes.
template<class Type >
Type dBSIL (Type x, Type ref=1.0)
 Return the dB SIL of two amplitudes.

Variables

Const Real Fff = dBCoefficient(-10.0)
 fortitissimo
Const Real Ff = dBCoefficient(-18.0)
 fortissimo
Const Real Forte = dBCoefficient(-24.0)
 forte
Const Real Mf = dBCoefficient(-32.0)
 mezzoforte
Const Real Mp = dBCoefficient(-40.0)
 mezzopiano
Const Real P = dBCoefficient(-48.0)
 piano
Const Real Pp = dBCoefficient(-56.0)
 pianisimo
Const Real Ppp = dBCoefficient(-64.0)
 pianisisimo

Detailed Description

Functions for musical dynamic markings.

Definition in file Dynamics.h.