![]() |
VR-Forces Developer's Guide
|
Static utility that renders per-layer procedural-sound insight as rich-HTML strings suitable for a QWidget::setToolTip() value.
Rendered pieces embed small PNG canvases (Poisson tick timeline, fixed parallel voice diagram, gain/pitch range bars) as base64 data URIs so the whole preview stays inside a single Qt tooltip.
Used by DtProceduralSoundsSettingsWidget: the four "?" help icons on the layer detail page each show one of these tooltips.
Static Public Member Functions | |
| static QString | renderSchedulingTooltip (const DtProceduralLayerConfig &layer) |
| static QString | renderGainTooltip (const DtProceduralLayerConfig &layer) |
| static QString | renderPitchTooltip (const DtProceduralLayerConfig &layer) |
| static QString | renderClipTooltip (const DtProceduralLayerConfig &layer) |
| static int | estimateMinPolyphony (const DtProceduralSoundConfig &config) |
| static QString | polyphonyHintHtml () |
|
static |
Return rich-HTML for the Scheduling section of layer.
Poisson mode: statistics table with events/s, mean gap, and within-1-s / within-3-s probabilities. Fixed Parallel mode: description of the N-voice cold-fill behavior. Both modes embed a PNG canvas of the scheduling timeline.
| layer | Layer configuration to render. |
|
static |
Return rich-HTML for the Gain-range section of layer.
Includes an embedded PNG of the gain range bar, min/max values in dB, the spread in dB, and a contextual usage hint.
| layer | Layer configuration to render. |
|
static |
Return rich-HTML for the Pitch-range section of layer.
Includes an embedded PNG of the auto-scaled pitch range bar, min/max values in semitones, spread, and a contextual hint.
| layer | Layer configuration to render. |
|
static |
Return rich-HTML for the clip selection-probability table.
One row per clip with filename, weight, and normalized probability percentage.
| layer | Layer configuration to render. |
|
static |
Sum of minimum concurrent voices across all layers of config.
Poisson layer counts as 1 (a single event can be in flight at a time); FixedParallel layer counts as its fixedParallelEvents.
| config | Sound configuration to inspect. |
|
static |
Constant rich-HTML explaining that actual polyphony depends on clip durations. Appended after estimateMinPolyphony() so the user sees the caveat inline.