Skip to content
This is the development version of the documentation. It may change before the next release. See 0.6.x for the latest release.

constant

src

constant generates a modulation that outputs a constant amplitude (that is, no modulation).

constant(intensity, &mut dst);
Parameter Type Description
intensity u8 amplitude coefficient
dst &mut Vec<u8> output buffer
use autd3_rs_modulation::constant;
let mut dst = Vec::new();
constant(0xFF, &mut dst);