treble-lang 0.8.0

A live coding language for treble
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Lowering the language onto the engine, and rendering a piece offline.
//!
//! Two halves. [`compile`] turns a parsed buffer into what the engine needs —
//! events, instrument specs, resolved filters — and is shared with the live
//! front end so a rendered piece and a played performance cannot drift apart.
//! [`offline`] drives that output through the engine to produce samples,
//! which is what a piece needs and a performance does not.

pub mod compile;
pub mod offline;
pub mod wav;

pub use compile::PatternGate;
pub use offline::{
    Automation, LineStrikes, Progress, RenderOptions, RenderTelemetry, RenderedPiece,
    ScheduledNote, first_playing, occurrence_start_frame, render, render_with_options,
    render_with_progress, scheduled_notes, section_strikes,
};