pattrns
pattrns is an experimental imperative-style music sequence generator engine.
It allows you to programmatically create music sequences either in plain Rust as library (static, compiled) or in Lua as a scripting engine (dynamic, interpreted). So it's also suitable for live coding music.
In addition to its imperative event generator approach, it also supports the creation of musical events using tidalcycle's mini-notation.
This crate only deals with the generation of raw musical events. It does not generate audio. You must use an application with built-in support for pattrns to use it.
Conceptional Overview
pattrns generates musical sequences using three distinct components, stages:
Rhythm : ( pulse in scripts) dynamic pulse generator to define a rhythmical pulse train.
: ( in scripts) dynamic pulse generator to define a rhythmical pulse train. Gate : ( gate in scripts) optional pulse filter between rhythm and event emitter.
: ( in scripts) optional pulse filter between rhythm and event emitter. Emitter: ( event in scripts), dynamic note or parameter event generator which gets triggered by the pulse train.
... continue reading