save_midi_catalog
Saves a sound catalog drafted from a user-provided list into the user's Moontide data folder, extending the specified model without writing into Moontide itself.
Instructions
Saves a sound catalog that you drafted from a sound list the user gave you (for example the maker's PDF list), into the user's Moontide data folder (catalogs/.json), never into Moontide itself. The catalog extends the model named by model. Send the sounds grouped as the list prints them, at most 500 per call: the first call starts the draft (source, programNumbering, and overwrite when it replaces a catalog), later calls add parts with append: true, with more: true while parts remain. The last part checks the whole draft and returns a summary that shows three sounds with their program as sent and as numbered from 1, and saves nothing. Show that summary to the user, then call again with model and confirmed: true, and nothing else, only after they say yes. The draft lives only in this session; a restart of the server loses it. For a model whose rhythm channels take a bank, a group of drum kits takes role: rhythm and may give noteMap; its kits are saved in the catalog's kits list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | No | true while more parts remain; absent or false on the last part | |
| banks | No | The sounds of this part, grouped by bank and category; at most 500 sounds in the call | |
| model | Yes | The id of the model the catalog extends: a model Moontide ships or one saved with save_midi_model | |
| append | No | true to add this part to the draft of the model; absent or false starts a new draft | |
| source | No | The document title and version the list comes from; required when a draft starts | |
| confirmed | No | true only after the user said yes to the summary; send it with model and nothing else | |
| overwrite | No | true to replace an existing catalog of the model; read when a draft starts | |
| programNumbering | No | How the list numbers programs: from-1 when the first program is printed as 1; required when a draft starts |