Expand description
Feature-selectable, namespaced facade for the reusable strudel-rs libraries.
Enable a facade feature to make its module available. Modules re-export the complete public API of the corresponding workspace crate without flattening names into this crate’s root.
The default features give you the pattern engine plus both front ends:
[dependencies]
strudel-rs = "0.2"Example usage:
use strudel_rs::{core, dsl};
let output = dsl::execute(r#"note("c4 e4 g4")"#).unwrap();
let pattern: core::Pattern = output.pattern;
let first_cycle = pattern.first_cycle();
assert_eq!(first_cycle.len(), 3);Re-exports§
pub use ::midi_to_strudel;midi-to-strudelpub use ::strudel_audio as audio;audiopub use ::strudel_core as core;corepub use ::strudel_dsl as dsl;dslpub use ::strudel_dsp as dsp;dsppub use ::strudel_markov as markov;markovpub use ::strudel_mini as mini;minipub use ::strudel_music_theory as music_theory;music-theorypub use ::strudel_pcm as pcm;pcmpub use ::strudel_soundfont as soundfont;soundfont-gmpub use ::strudel_sounds as sounds;sounds