ui library
Flutter UI bindings for flutter_vst3 plugins. Provides MethodChannel parameter binding for embedded Flutter GUIs.
Classes
- RotaryKnob
- Rotary control for a normalized (0..1) parameter.
- Vst3AudioBufferReader
- Reader providing direct zero-copy read access to VST3 audio buffers.
- VST3ParameterBinding
- Manages bidirectional parameter and audio streaming synchronization between the Flutter UI and the VST3 EditController across macOS, Windows, and Linux.
- Vst3WorkerProcessor
- DSP implementation driven by the worker event loop.
Constants
- knobDragRangePixels → const double
- Vertical drag distance, in logical pixels, that sweeps the full range.
- vst3CmdConfigure → const int
- Host command: reinitialize the DSP from the sample rate and block size.
- vst3CmdProcess → const int
- Host command: process the audio block.
- vst3CmdReset → const int
- Host command: clear DSP state.
- vst3CmdTerminate → const int
- Host command: exit the event loop.
- vst3OffsetCommand → const int
- Byte offset of the command.
- vst3OffsetHostParamRead → const int
- Byte offset of the parameter ring read index.
- vst3OffsetHostParams → const int
- Byte offset of the parameter ring.
- vst3OffsetHostParamWrite → const int
- Byte offset of the parameter ring write index.
- vst3OffsetInputL → const int
- Byte offset of the left input.
- vst3OffsetInputR → const int
- Byte offset of the right input.
- vst3OffsetMagic → const int
- Byte offset of the magic word.
- vst3OffsetMaxBlockSize → const int
- Byte offset of the maximum block size.
- vst3OffsetNumSamples → const int
- Byte offset of the sample count.
- vst3OffsetOutputL → const int
- Byte offset of the left output.
- vst3OffsetOutputR → const int
- Byte offset of the right output.
- vst3OffsetSampleRate → const int
- Byte offset of the sample rate.
- vst3OffsetVersion → const int
- Byte offset of the protocol version.
- vst3ShmMagic → const int
- Magic word identifying a live block ('VST3').
- vst3ShmMaxSamples → const int
- Maximum samples in one block.
- vst3ShmParamEventSize → const int
- Size in bytes of one parameter event.
- vst3ShmParamQueueSize → const int
- Capacity of the parameter ring.
- vst3ShmTotalSize → const int
- Total size of the block in bytes.
- vst3ShmVersion → const int
- Protocol version. The worker refuses a block with any other version.
Functions
-
knobValueAfterDrag(
double value, double deltaY) → double -
Returns the normalized knob value after a vertical drag of
deltaYpixels. -
Runs
processoras the DSP worker for one plugin instance.