Function
(amplitudeamp [softest] [loudest] [power])
Converts a logical amplitude amp to an amplitude value according to its optional arguments. A logical amplitude is a value from 0.0 to 1.0 inclusive, or one of the following symbols:
niente pppp ppp pp p mp mf f ff fff ffff
amplitude supports the following optional arguments:
niente. The default value is
*softest*.
ffff.
The default value is *loudest*.*power*.;; Calculating amplitude values. (amplitude 'mp) ⇒ .5 (amplitude 'mp 0 127) ⇒ 63.5 (amplitude .5 0 1 4) ⇒ 0.0625