VizMapping

class VizMapping(val drives: List<VizDrive>, val needs: Set<VizNeed> = emptySet(), val silence: VizSilence = VizSilence.Idle, val quality: List<VizQualityControl> = emptyList(), val silenceSettleSeconds: Float = 2.0f)

What a drawing does with the audio, in a form a test and a menu can read.

The drives say which audio value moves which part of the picture, through which fixed curve and with which timing. DriverInjectionTest renders the drawing twice, with one driver changed, and checks that the declared part answers. A driver that moves the picture as much as the declared ones and is not listed fails the same test, so a declaration cannot hide a response.

Constructors

Link copied to clipboard
constructor(drives: List<VizDrive>, needs: Set<VizNeed> = emptySet(), silence: VizSilence = VizSilence.Idle, quality: List<VizQualityControl> = emptyList(), silenceSettleSeconds: Float = 2.0f)

Properties

Link copied to clipboard

Every driver this drawing declares.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Seconds of silence after which the silence comparison starts.

Functions

Link copied to clipboard
fun of(driver: VizDriver): List<VizDrive>

The drives of one driver, in declaration order.