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

constant

src

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

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