Vital Technical Documentation

website·Indexed 31 days ago

https://davidmvogel.com

Doxygen-generated technical reference for the Vital codebase, detailing C++ classes for synthesizer components including voice handlers, LFOs, distortion modules, reverb, compressors, and modulation processors.

Tokens
2.5M
Snippets
21.5K
Records
25K
Agent score
56%

What's inside Vital

  1. Overview of vital::filters_module

    The vital::filters_module is a module that manages two instances of FilterModule. It allows audio signals to be routed through these filters in three primary configurations: parallel, serial forward (Filter 1 → Filter 2), or serial backward (Filter 2 → Filter 1). The routing mode is determined dynamically by control parameters.
  2. Overview of the CompressorSection UI class

    The CompressorSection class provides a user interface for configuring a multiband compressor effect. It manages sliders for compressor parameters (attack, release, mix, and gain) for low, band, and high frequency bands. It also includes a mode selector to switch between single band, low band, high band, or multiband modes, and a visual editor for manipulating band settings.
  3. Overview of WaveSourceOverlay

    The WaveSourceOverlay class provides a graphical user interface overlay for editing WaveSource objects within the Wavetable component. It allows users to manipulate time-domain waveforms as well as frequency-domain data (amplitudes and phases) by integrating with WaveSourceEditor and BarEditor components.
  4. Overview of the SampleSection class

    The SampleSection class provides a UI section for managing and editing sample-based audio sources. It allows users to load, browse, and edit samples, with controls for pitch, tuning, panning, level, looping, key tracking, and random phase. It integrates with SampleViewer for waveform display and PresetSelector for browsing samples, and supports configuring the routing destination for sample output.
  5. Overview of FileSource wavetable generation

    The FileSource component constructs wavetables from an external audio file buffer. It allows for flexible wavetable generation through the use of FileSourceKeyframe, which encapsulates specific configurations including start position, window fade, and style settings. It supports various interpolation/fade styles for waveform shaping and phase manipulation strategies (such as randomizing phases for vocoder effects).
  6. Overview of PhaseModifier class

    The PhaseModifier class is a WavetableComponent used to modify the phase of frequency components within a wavetable frame. It adjusts phase relationships between harmonic components to create various sonic effects, such as shifting harmonics uniformly or clearing phase information. It supports partial blending of these modifications via a mix parameter.
  7. Overview of Wavetable3d component

    The Wavetable3d class is an OpenGL-based component used to visualize wavetables. It supports three primary rendering modes: a 3D representation of multiple wavetable frames, a 2D single-frame waveform view, and a frequency amplitude view. The component supports loading wavetables via JSON, copy/paste operations, resynthesis, and text-to-wavetable conversions, and integrates with parameter modulation for distortion, spectral morph, and frame adjustments.