Tags such as \alpha (with a strict range of valid values) can be transformed using ln.wave.transform, but values aren't clamped, so wave values outside the range (0, 255) produce invalid tags. Negative values seem to result in integer underflow(?) and give tags like \alpha&HFFFFFFFFFFFFFF83&, while values greater than 255 simply give tags like \alpha&H152&.
A workaround exists, by supplying modifierFunctions the values can be clamped by the user, but I see no need to allow invalid values in the first place.
Tags such as
\alpha
(with a strict range of valid values) can be transformed usingln.wave.transform
, but values aren't clamped, so wave values outside the range(0, 255)
produce invalid tags. Negative values seem to result in integer underflow(?) and give tags like\alpha&HFFFFFFFFFFFFFF83&
, while values greater than 255 simply give tags like\alpha&H152&
.A workaround exists, by supplying
modifierFunctions
the values can be clamped by the user, but I see no need to allow invalid values in the first place.Example code that produces this sort of output:
Workaround: