You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
store everything as float and convert instrument to int when get() called
Sequence
DONE Retain existing accessor, iterator and range support
DONE Add attribute which is a 2D numpy matrix, a sequence Notes
DONE Use CONSTS for the slots
DONE Extend validation to check shape of Notes being added
DONE Add attribute which is a list of child Sequences
DONE Support hierarchical traversal and apply from the subtree rooted at a Sequence, by DFS over all children
Add overloaded operator support to apply one Sequence to another as matrix operations
add
sub
mult
dot product
Port existing special purpose transformations, such as transpose, key change, swing and meter change
Generators
Add base class: defines generate() method taking no input and returning Sequence
Extend to support attribute which is a 2D numpy matrix, a sequence Notes stored as a matrix
Use CONSTS for the slots
Build up library based on different algorithms, e.g. random, by key, all one pitch, etc.
Modifiers
Add base class: defines transform() method taking Sequence as input and returning Sequence, pure function
Extend to support attribute which is a 2D numpy matrix, a sequence of Notes stored as a matrix
Use CONSTS for the slots
Add pipeline support to build DAGs with Sequence or Generator (returns a Sequence) at the source, and pipe support to chain any number of Modifiers after that and then return a Sequence, pure function
Combine with support for hierarchical Sequences
The idea is to be able to define arbitrary sequences and sub-sequences of Notes, and to apply arbitrary chains of transformations over them, all efficiently in vector space
Misc
Crib actual musical generator and transformation algo ideas from:
Note
Sequence
Generators
Modifiers
Misc
The text was updated successfully, but these errors were encountered: