Skip to main content

sim_lib_stream_bridge/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3//! MIDI/audio bridge helpers for STREAM 6.
4//!
5//! The bridge crate adapts finite stream packet spines between MIDI and PCM
6//! using the existing sound and audio-lift libraries. It does not talk to host
7//! audio or MIDI devices.
8
9mod lift;
10mod model;
11mod render;
12mod runtime;
13
14pub use lift::{lift_pcm_items_to_midi, lift_pcm_stream_to_midi};
15pub use model::{
16    BridgeOutput, StreamBridgeLiftMidiOptions, StreamBridgeRenderOptions,
17    stream_bridge_lift_midi_options_class_symbol, stream_bridge_render_options_class_symbol,
18    stream_bridge_symbol,
19};
20pub use render::{render_midi_items_to_pcm, render_midi_stream_to_pcm};
21pub use runtime::{StreamBridgeLib, install_stream_bridge_lib};
22
23#[cfg(test)]
24mod tests;