Plugin Categories
Built-in plugins are organized by category:BuiltInPlugin Base Class
All built-in plugins extend theBuiltInPlugin abstract class:
- Unique identifier per instance
- ImGui-based UI rendering
- Category organization
- Integrated enable/disable toggle
Utility Plugin
The Utility plugin provides essential mixing controls for gain, panning, stereo width, and phase manipulation.Features
Volume Control
Adjustable gain from -90 dB to +35 dB
Stereo Width
Width adjustment from -100% to +400%
Pan Control
Left/right panning from -50 to +50
Phase Tools
Mono mode and per-channel phase inversion
Implementation
Audio Processing
The Utility plugin processes audio in the following order: 1. Mono/Width ProcessingGain Calculation
Volume is converted from decibels to linear gain:The gain conversion formula:
linear = 10^(dB / 20) ensures proper decibel-to-linear scaling.Stereo Width Algorithm
Width control uses mid-side processing:- Mid =
(L + R) / 2- Mono information (center) - Side =
(L - R) / 2- Stereo information (width) - Width Scaling =
side * ((width + 100) / 100) - Reconstruction:
L = mid + side,R = mid - side
-100%- Inverted stereo0%- Normal stereo100%- Doubled width400%- Maximum width (5x)
SimpleEq Plugin
The SimpleEq plugin provides basic filtering and EQ functionality using BiQuad filters.Filter Types
Parameters
Filter cutoff/center frequency (0 - 22000 Hz)
Filter resonance/bandwidth (0.1 - 18)
Shelf gain in decibels (-15 to +15 dB) - Only for shelf filters
Implementation
Filter Processing
Filter Characteristics
Low Pass Filter
Low Pass Filter
Allows frequencies below the cutoff to pass through while attenuating higher frequencies.
- Use Cases: Removing high-frequency noise, darkening bright sounds
- Q Parameter: Higher values create resonance at cutoff frequency
High Pass Filter
High Pass Filter
Allows frequencies above the cutoff to pass through while attenuating lower frequencies.
- Use Cases: Removing rumble, reducing low-end muddiness
- Q Parameter: Higher values create resonance at cutoff frequency
Low Shelf
Low Shelf
Boosts or cuts frequencies below the cutoff frequency.
- Use Cases: Bass adjustment, low-end enhancement
- Gain: Positive values boost, negative values cut
High Shelf
High Shelf
Boosts or cuts frequencies above the cutoff frequency.
- Use Cases: Treble adjustment, high-end enhancement
- Gain: Positive values boost, negative values cut
UI Integration
Built-in plugins feature ImGui-based interfaces with:Common UI Elements
- Enable Toggle - Round toggle button (orange when active)
- Plugin Name - Displayed in menu bar
- Selection Highlight - Visual feedback for selected plugins
Utility Plugin UI
- Knob Controls - Different visual styles for different parameters
- Double-click Reset - Returns parameters to default values
- Fontaudio Icons - Audio-specific iconography
- Conditional Disable - Width knob disabled in mono mode
SimpleEq Plugin UI
- Contextual Controls - Gain knob only active for shelf filters
- Visual Feedback - Filter type icon displayed in UI
- Combo Selection - Dropdown menu for filter type selection
Default Plugin Chain
Every track in Lumix includes these plugins by default:Plugin Chain Management
Learn how built-in plugins are organized in the processing chain
Performance Considerations
Built-in plugins are lightweight and optimized for real-time processing:
- Utility Plugin: Simple mathematical operations per sample
- SimpleEq Plugin: Single BiQuad filter per channel