Crates.io | quantum-entangler |
lib.rs | quantum-entangler |
version | 0.1.1 |
source | src |
created_at | 2022-04-24 20:24:29.752154 |
updated_at | 2022-05-25 23:47:23.904713 |
description | Rhythm as Code |
homepage | |
repository | https://github.com/damongroove/quantum-entangler |
max_upload_size | |
id | 573316 |
size | 45,359 |
In version 0.1.1 we are able to pass a small script/config to midi.setup.intercept() that defines a trigger and pattern
The first part/pipe of the trigger config cycle
is how the pattern should be triggered
The second pipe of the trigger config, ex: 4
, is how often the trigger occurs
The trigger config cycle|4
would trigger a pattern every 4
notes played
The first part/pipe of the pattern config random
is the pattern for selecting which previous played notes should be triggered
The second pipe of the pattern config is a list of numbers 1-9
defining the note value that should be triggered
Ex: 4
=> Quarter Note, 8
=> 8th Note, 3
=> Quarter Note Triplet
More to come - future versions will not be backwards compatible within 0.1.*
, with the nature of music composition
cargo install quantum-entangler
./examples/midi_forward_trigger_note
and play around with the note_values
and trigger value
cargo run --example midi_forward_trigger_note
then select your output and input midi portsmidi.setup.intercept()
function if you install the package