Xmodal / autonomX

Experiment with life-like processes to generate dynamic, emergent and self-organizing patterns and output these patterns via OSC.
10 stars 4 forks source link

Implement a Generator metadata system #278

Closed netherwaves closed 3 years ago

netherwaves commented 3 years ago

see below for the list of issues resolved w/ this PR.

the main feature that is brought along with this pull request is the GeneratorMetaModel class, and the entire system of GUI data exposure that precedes it. this system both takes care of registering all available generator types into a QAbstractListModel, as well as providing the dynamic GUI field layout necessary for user interaction. comprehensive documentation has been included in generators/README.md.

in addition, some work was done to further generalize the Generator class, namely its two initialize and resetParameters methods. these are now extendable in sub-classes, and are represented in the GUI by two buttons located in the header bar, when editing a generator. although the Restart button currently works for the SNN, the Reset params button is not doing anything.