This is the development version of the documentation. It may change before the next release. See 0.14.x for the latest release.
Modulation
Modulation is an amplitude modulation (AM) feature that modulates the output amplitude of each transducer over time. It applies a coefficient sequence common to all transducers while sampling it at a fixed period, thereby varying the intensity of the sound field produced by the Pattern over time.
Each sample is an 8 bit amplitude coefficient
SamplingConfig
Section titled “SamplingConfig”Each sample in the buffer is applied in order at the period of the SamplingConfig passed to Modulation::new.
Function List
Section titled “Function List”- constant — constant amplitude (no modulation)
- sine — sine wave
- square — square wave
- fourier — synthesis of multiple sine waves
- radiation_pressure — radiation pressure correction