GuitarPrometheus::Midi::HumanizerConfig
GuitarPrometheus::Midi::HumanizerConfig
Per-part humanizer settings. More…
#include <HumanizerConfig.h>
Public Attributes
| Name | |
|---|---|
| double | velocitySigma |
| int | velocityFloor |
| int | velocityCeiling |
| int | timingJitterTicks |
| std::uint64_t | seed |
Detailed Description
struct GuitarPrometheus::Midi::HumanizerConfig;Per-part humanizer settings.
All fields default to a no-op — a default-constructed [HumanizerConfig](/api-reference/classes/structguitarprometheus_1_1midi_1_1humanizerconfig/) leaves events byte-identical so the Phase 5 regression test stays valid regardless of whether the humanizer runs.
Fields:
velocitySigma: standard deviation of the Gaussian applied to every note-NoteOn velocity. 0 disables.velocityFloor/velocityCeiling: post-jitter clamp bounds. Keyswitch events are never clamped.timingJitterTicks: range of a uniform offset applied identically to a note’s NoteOn and its paired NoteOff (duration preserved). 0 disables.seed: PRNG seed for reproducibility. 0 means “derive from a hash of the input score”.
Public Attributes Documentation
variable velocitySigma
double velocitySigma = 0.0;variable velocityFloor
int velocityFloor = 1;variable velocityCeiling
int velocityCeiling = 127;variable timingJitterTicks
int timingJitterTicks = 0;variable seed
std::uint64_t seed = 0;Updated on 2026-05-29 at 07:39:52 +0000