Skip to main content

Crate phosphor_plugin

Crate phosphor_plugin 

Source
Expand description

Plugin API definitions for Phosphor.

This crate defines the trait that all plugins (instruments, effects, analyzers) must implement. Built-in DSP and third-party plugins use the same interface — no special casing.

Structs§

MidiEvent
A MIDI event with a sample-accurate offset within the current buffer.
ParameterInfo
Parameter descriptor for plugin parameters.
PluginInfo
Metadata about a plugin.

Enums§

PluginCategory
Plugin category — determines where it appears in the UI and how it’s routed.

Traits§

Plugin
The core plugin trait. Every synth, effect, and utility implements this.

Functions§

clamp_parameter
Clamp a parameter value to the valid range.