Crate chord_composer

Source

Modules§

performance
theory

Enums§

FailResult
Possible failures.
SuccessResult
Possible successes.

Functions§

build_event
Helper to build music events. Chord intervals will be transposed and converted to midi key values in the returned PatternEvent.
export_file_to_midi
Load a composition then export it to midi files. Each pattern will be exported as a different midi file.
export_template
Export a template of a composition YAML file to a path.
export_to_midi_file
Export a composition to a midi files. Each pattern will be exported as a different midi file.
get_chord_keywords
Returns all the internally supported chord keywords.
play
Play a composition and all it’s patterns from the start.
play_file
Load a YAML file of a composition then play all it’s patterns from the start.
play_file_from
Load a YAML file of a composition then play it’s patterns starting from a composition’s pattern name and time.
play_from
Play a composition starting from a composition’s pattern name and time.
play_from_index
Play a composition starting from the composition’s pattern index and time.
play_yaml
Parse YAML of a composition then play all it’s patterns from the start.
play_yaml_from
Parse YAML of a composition then play all it’s patterns starting from a composition’s pattern name and time.