JHH StudioMaster · Dash · Space

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

  1. Change parameters in DNA.
  2. Run generate-params.bat in the SpaceMusic repo to regenerate code and specs.

Find it

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.

Related Cards