quantum-entangler

Crates.ioquantum-entangler
lib.rsquantum-entangler
version0.1.1
sourcesrc
created_at2022-04-24 20:24:29.752154
updated_at2022-05-25 23:47:23.904713
descriptionRhythm as Code
homepage
repositoryhttps://github.com/damongroove/quantum-entangler
max_upload_size
id573316
size45,359
Damon Groove (DamonGroove)

documentation

README

quantum-entangler

Rhythm as Code

  • 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

Crates.io Docs.rs CI Coverage Status

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install quantum-entangler

Getting Started

  • You can see the example ./examples/midi_forward_trigger_note and play around with the note_values and trigger value
  • If you clone the repo you can just run cargo run --example midi_forward_trigger_note then select your output and input midi ports
  • You can set your input as a virtual midi keyboard or usb midi keyboard, a virtual midi port on computer as your output, open up your DAW like Logic Pro X, select your output in your midi preferences, attach a virtual instrument track and go crazy on your keyboard!
  • You can also build your own script using the midi.setup.intercept() function if you install the package
  • See the Rhythm as Code section for more details

License

Commit count: 21

cargo fmt