SpaceMusic DNA pipeline
DNA, the parameter source of truth for SpaceMusic, and the tools that turn it into code and UIs.
What it is
In SpaceMusic, DNA is the master list of every parameter (each slider, switch and value). A generator, SMCodeGen, turns that list into C# code and into a file that describes each control screen, so the screens are built from the list and not by hand (docs).
For us: You change a parameter once in DNA (DNA (Directus)) and run the generator, and the code and UIs follow. The SpaceMusic-dna-editor repo is the Directus interface plus ideas for making DNA editing easier. Two small tools sit around it: SpaceMusic-TreeDiagram shows the parameter hierarchy as a tree, and SpaceMusic-SidebarTester tries out sidebar menus with the real parameter data.
How to start
- Change parameters in DNA.
- Run
generate-params.batin the SpaceMusic repo to regenerate code and specs.
Find it
- Tools: SpaceMusic-dna-editor, SpaceMusic-TreeDiagram, SpaceMusic-SidebarTester
- Code generator: SpaceMusic (
csharp/SMCodeGen,SpaceMusicMeta,csharp/docs/SMCodeGen.md)
Guides
Ask
Armin SeltzNotion help; the Hetzner server; SpaceMusic programming- Where it lives
- DNA runs as the Directus service spacemusic-dna; the tools are repos.