amplitudes {amp}+ {option value}* [Macro]

Creates an item stream of amplitude values. Each amp may be an amplitude or an item stream.

amplitudes implements the following options:

softest {float | integer}
Sets the minimum return value of the stream when the logical amplitude is 0.0. Defaults to the value of *amplitude-minimum*.
loudest {float | integer}
Sets the maximum return value of the stream when the logical amplitude is 1.0. Defaults to the value of *amplitude-maximum*.
power {float}
Sets the power curve of the stream. Defaults to the value of *amplitude-power*.
An additional set of basic option valuepairs are available in all item stream macros. Others may be available based on the pattern type specified to the macro.

Example:

? (setf x (amplitudes p mf mp fff in random for 8))
#<RANDOM-ITEM-STREAM 136712611>

? (read-items x)
(0.4 0.6 0.9 0.5 0.6 0.6 0.5 0.5)

See Also:

amplitude [Item Type], Item Streams


Last Modified: 5-Mar-1998