VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
makVrv::DtProceduralSoundPreviewRenderer Class Reference

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 ()
 

Member Function Documentation

static QString makVrv::DtProceduralSoundPreviewRenderer::renderSchedulingTooltip ( const DtProceduralLayerConfig &  layer)
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.

Parameters
layerLayer configuration to render.
Returns
HTML string suitable for QWidget::setToolTip().
static QString makVrv::DtProceduralSoundPreviewRenderer::renderGainTooltip ( const DtProceduralLayerConfig &  layer)
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.

Parameters
layerLayer configuration to render.
Returns
HTML string suitable for QWidget::setToolTip().
static QString makVrv::DtProceduralSoundPreviewRenderer::renderPitchTooltip ( const DtProceduralLayerConfig &  layer)
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.

Parameters
layerLayer configuration to render.
Returns
HTML string suitable for QWidget::setToolTip().
static QString makVrv::DtProceduralSoundPreviewRenderer::renderClipTooltip ( const DtProceduralLayerConfig &  layer)
static

Return rich-HTML for the clip selection-probability table.

One row per clip with filename, weight, and normalized probability percentage.

Parameters
layerLayer configuration to render.
Returns
HTML string suitable for QWidget::setToolTip().
static int makVrv::DtProceduralSoundPreviewRenderer::estimateMinPolyphony ( const DtProceduralSoundConfig &  config)
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.

Parameters
configSound configuration to inspect.
Returns
Estimated minimum concurrent voice count.
static QString makVrv::DtProceduralSoundPreviewRenderer::polyphonyHintHtml ( )
static

Constant rich-HTML explaining that actual polyphony depends on clip durations. Appended after estimateMinPolyphony() so the user sees the caveat inline.

Returns
HTML string suitable for concatenation into a QLabel.

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)