Expand description
AURA core — minimal process / editor / plugin surface.
UI windowing lives in [aura_baseview]; host Editor adapter in
aura-editor. This crate only defines the host-facing Editor
trait and plugin process API that formats and the adapter will share.
Re-exports§
pub use buffer::AudioBuffer;pub use bus::BusLayout;pub use bus::ChannelConfig;pub use bus::layout_at;pub use chunked_process::TimedParamEvent;pub use chunked_process::apply_at_time;pub use chunked_process::apply_event;pub use chunked_process::apply_non_chunked;pub use chunked_process::is_split_event;pub use chunked_process::split_points;pub use chunked_process::split_points_into;pub use config::AudioConfig;pub use config::ProcessMode;pub use editor::Editor;pub use editor::EditorBridge;pub use editor::IntoEditor;pub use editor::PluginContext;pub use editor::RawWindowHandle;pub use events::ParamEvent;pub use events::ParamEventQueue;pub use host_fence::host_callback;pub use host_fence::host_callback_with;pub use info::MidiDialect;pub use info::PluginCategory;pub use info::PluginInfo;pub use note_events::NOTE_UNSPECIFIED;pub use note_events::NoteBuffer;pub use note_events::NoteEvent;pub use note_events::NoteEventKind;pub use note_events::NoteExpression;pub use note_events::NoteTarget;pub use note_events::append_midi_as_notes;pub use note_events::append_notes_as_midi;pub use note_events::note_split_points;pub use note_events::note_split_points_into;pub use note_events::notes_or_midi;pub use note_events::route_param_mod;pub use note_events::route_param_value;pub use note_voices::NoteVoice;pub use note_voices::NoteVoiceTable;pub use plugin::NoteNameEntry;pub use plugin::PluginLogic;pub use preset::FactoryPreset;pub use preset::FactoryPresetState;pub use preset::apply_factory_preset;pub use preset::load_preset_file;pub use process::ProcessContext;pub use process::ProcessStatus;pub use state::decode_state;pub use state::encode_state;pub use transport::Transport;pub use tuning::Tuning;pub use tuning::TuningEvent;pub use tuning::TuningInfo;pub use tuning::TuningProvider;
Modules§
- buffer
- Non-interleaved audio buffer (minimal).
- bus
- Main-bus channel layouts for format wrappers.
- chunked_
process - Sample-accurate automation / modulation chunking.
- config
- Activation-time processing configuration.
- editor
- Host-facing editor trait (windowing:
aura-baseview; adapter:aura-editor). - events
- GUI → audio-thread param event queue.
- host_
fence - Host-boundary panic fence.
- info
- Static plugin metadata (CLAP / VST3 / LV2 focused — no AU/AAX fields).
- note_
events - CLAP-shaped note / expression / per-note-mod events for
process. - note_
voices - CLAP voice table keyed by
note_id— expressions in,NOTE_ENDout. - plugin
- User-facing plugin logic (minimal f32 leaf).
- preset
- Factory presets and filesystem preset load (CLAP
preset-load/preset-discovery). Same v1 param blob ascrate::state. - process
- Per-block process context (minimal).
- state
- Shared plugin state blob — host-agnostic, so every format wrapper
(CLAP
clap.state, VST3IComponent::getState, LV2 state ext) speaks the same byte layout and a session saved via one format restores identically in another. - transport
- Host transport snapshot for one process block.
- tuning
- Host tuning support (CLAP
clap.tuning/ MTS-ESP).
Structs§
- Midi
Buffer - Ordered MIDI events for one audio block. Sorted by
MidiEvent::sample_offset. - Midi
Event - One MIDI message at a sample offset within the current block.
- Midi
Message - One MIDI message. Channel is
0..=15for channel voice messages. - Ump
- One UMP packet: 1, 2, or 4 native-endian 32-bit words.
- UmpBuffer
- Ordered UMP events for one audio block. Same insert / rebase rules as
MidiBuffer. - UmpEvent
- One Universal MIDI Packet at a sample offset within the current block.
Enums§
- Midi
Status - High nibble of status byte (channel messages use low nibble as channel).
Traits§
- Float
- Math on
f32orf64(gains, freqs, coefficients — not necessarily samples). - Sample
FloatplusDefault + Send + Sync + 'staticfor buffers and scratch.
Functions§
- append_
midi_ as_ ump - Lift 7-bit MIDI into type-0x2 UMP (VST3/LV2 → process
ump). - append_
ump_ as_ midi - Down-convert UMP that has a MIDI 1 image (VST3/LV2 out). Per-note PB /
SysEx8/ Flex stay behind.