parameters
type: Specification
name: LV2 Parameters
release:
  revision: 0.2
  created: 2012-03-23
created: 2009-00-00
shortdesc: Common parameters for audio processing.
maintainer: me
developer: larsl
documentation: This extension defines parameters common in audio processing software. A parameter is purely a metadata concept, unrelated to any particular code mechanism. Parameters are used to assign meaning to controls so they can be used more intelligently or presented to the user more efficiently.

ControlGroup
type: Class
subclass of: Group
comment: A group representing a set of associated controls.

Amplitude
type: Parameter

Attack
type: Parameter
comment: The duration of an envelope's attack stage.

Cutoff Frequency
type: Parameter

Decay
type: Parameter
comment: The duration of an envelope's decay stage.

Delay
type: Parameter
comment: The duration of an envelope's delay stage.

Frequency
type: Parameter

Hold
type: Parameter
comment: The duration of an envelope's hold stage.

Pulse Width
type: Parameter
comment: The width of a pulse of a rectangular waveform.

Ratio
type: Parameter
comment: Compression ration.

Release
type: Parameter
comment: The duration of an envelope's release stage.

Resonance
type: Parameter
comment: The resonance of a filter.

Sustain
type: Parameter
comment: The level (not duration) of an envelope's sustain stage.

Threshold
type: Parameter
comment: Compression threshold.

Waveform
type: Parameter

Gain
type: Parameter
comment: A factor which controls an output level.

Wet/Dry Ratio
type: Parameter
documentation: The ratio between processed and bypass components in output signal. The dry and wet percentages can be calculated from the following equations: dry = (wetDryRatio.maximum - wetDryRatio.value) / wetDryRatio.maximum wet = wetDryRatio.value / wetDryRatio.maximum Typically, maximum value of 1 or 100 and minimum value of 0 should be used.

Wet Level
type: Parameter
comment: The level of the processed component of a signal.

Dry Level
type: Parameter
comment: The level of the unprocessed component of a signal.

Bypass
type: Parameter
comment: A boolean parameter that disabled processing if true.

Controls for a DAHDSR envelope.
type: Class
subclass of: ControlGroup
element:
  index: 0
  designation: Delay
element:
  index: 1
  designation: Attack
element:
  index: 2
  designation: Hold
element:
  index: 3
  designation: Decay
element:
  index: 4
  designation: Sustain
element:
  index: 5
  designation: Release

Controls for an oscillator.
type: Class
subclass of: ControlGroup
element:
  designation: Frequency
element:
  designation: Amplitude
element:
  designation: Waveform
element:
  designation: Pulse Width

Controls for a filter.
type: Class
subclass of: ControlGroup
element:
  designation: Cutoff Frequency
element:
  designation: Resonance

Controls for a compressor.
type: Class
subclass of: ControlGroup
element:
  designation: Threshold
element:
  designation: Ratio