Skip to main content

Crate oscyl_driver

Crate oscyl_driver 

Source
Expand description

The contract every Oscyl synth driver implements, plus what drivers share: 7-in-8 packing, SysEx framing and the one-in-flight request engine. Sans-IO: time enters only as Instant arguments.

Re-exports§

pub use contract::Bank;
pub use contract::Capabilities;
pub use contract::Driver;
pub use contract::DriverError;
pub use contract::DriverSession;
pub use contract::FieldInfo;
pub use contract::FileFormat;
pub use contract::Info;
pub use contract::LibProgram;
pub use contract::LibraryData;
pub use contract::NameRules;
pub use contract::PanelListener;
pub use contract::SessionEvent;
pub use contract::SessionOp;
pub use contract::Simulator;
pub use contract::UnitKind;
pub use curation::*;

Modules§

contract
What a driver tells Oscyl about one synth model.
curation
Curation and generation data a driver gives the apps: editor pages, controls, help, generation recipes. Platform-neutral; apps render it.
engine
Generic sans-IO request/reply engine.
pack
KORG 7-in-8 packing: each group of up to 7 data bytes is sent as one byte holding their MSBs (bit i = MSB of byte i) followed by their low 7 bits.
sysex
Reassembles complete SysEx messages from a raw MIDI byte stream.