mc.log~ Reference

Logarithm of a signal (multichannel)

mc.log~

Description

Use the log~ object to output a signal composed of the logarithms of its input values. You can specify the logarithmic base.

Arguments

logarithmic-base [number]

Optional

Sets the base of the logarithm. The default value is 0.

Attributes

Common Box Attributes

Multichannel Group Attributes

Messages

float

Arguments

logarithmic-base [float]
In right inlet: Sets the base of the logarithm. The default is 0, which is equivalent to the natural logarithm (log to the base e, or 2.71828182). log to the base of 1 is always 0.

signal

In left inlet: log~ sends out a signal that is the logarithm of the input signal, to the base specified by the typed-in argument or the value most recently received in the right inlet. If a value in the signal is less than or equal to 0, log~ sends out a value of 0.00000001.

Multichannel Group Messages

Output

signal

The logarithm of the input signal to the base specified by the initial argument or the value most recently received in the right inlet.

See Also

Name Description
pow~
curve~
sqrt~