Skip to main content

Crate sim_lib_stream_bridge

Crate sim_lib_stream_bridge 

Source
Expand description

MIDI/audio bridge helpers for STREAM 6.

The bridge crate adapts finite stream packet spines between MIDI and PCM using the existing sound and audio-lift libraries. It does not talk to host audio or MIDI devices.

Structs§

BridgeOutput
Result of a bridge conversion: the produced stream plus any diagnostics.
StreamBridgeLib
Loadable library exposing the stream/bridge function to a runtime.
StreamBridgeLiftMidiOptions
Options controlling PCM-to-MIDI lifting through the audio-lift libraries.
StreamBridgeRenderOptions
Options controlling MIDI-to-PCM rendering through the sound libraries.

Functions§

install_stream_bridge_lib
Installs the stream prelude and registers StreamBridgeLib into cx.
lift_pcm_items_to_midi
Lifts a collection of PCM stream items into a MIDI stream of detected notes.
lift_pcm_stream_to_midi
Drains a PCM stream and lifts it into a MIDI stream of detected notes.
render_midi_items_to_pcm
Renders a collection of MIDI stream items into a PCM stream.
render_midi_stream_to_pcm
Drains a MIDI stream and renders it into a PCM stream.
stream_bridge_lift_midi_options_class_symbol
Returns the class symbol for StreamBridgeLiftMidiOptions.
stream_bridge_render_options_class_symbol
Returns the class symbol for StreamBridgeRenderOptions.
stream_bridge_symbol
Returns the stream/bridge symbol naming the bridge function export.