#include <noise.hpp>
|
| void | set_color (NoiseColor c) |
| | Set noise color.
|
| |
| void | set_amplitude (float amp) |
| | Set output amplitude (0.0 = silence, 1.0 = full scale)
|
| |
| void | process (float *out, uint16_t frames) |
| | Generate noise samples.
|
| |
| void | seed (uint32_t s) |
| | Seed the LFSR (for reproducible output in tests)
|
| |
Definition at line 22 of file noise.hpp.
◆ process()
| void sbl::widgets::source::Noise::process |
( |
float * |
out, |
|
|
uint16_t |
frames |
|
) |
| |
|
inline |
◆ seed()
| void sbl::widgets::source::Noise::seed |
( |
uint32_t |
s | ) |
|
|
inline |
Seed the LFSR (for reproducible output in tests)
Definition at line 50 of file noise.hpp.
◆ set_amplitude()
| void sbl::widgets::source::Noise::set_amplitude |
( |
float |
amp | ) |
|
|
inline |
Set output amplitude (0.0 = silence, 1.0 = full scale)
Definition at line 30 of file noise.hpp.
◆ set_color()
| void sbl::widgets::source::Noise::set_color |
( |
NoiseColor |
c | ) |
|
|
inline |
Set noise color.
- Note
- All public methods are ISR-safe — bounded computation, no I/O.
Definition at line 27 of file noise.hpp.
The documentation for this class was generated from the following file: