style(tracker/presets): set the voices of all presets to 1

The voices are anyway set during presets loading, so this value is
not honored.
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-10-26 19:18:46 +02:00
parent c1ea47a509
commit c583156d1b
68 changed files with 68 additions and 67 deletions

View File

@ -33,6 +33,7 @@ func main() {
}
tracker.RemoveUnusedUnitParameters(&instr) // remove invalid parameters
instr.Name = "" // we don't need the names in the preset files as they are derived from the file path
instr.NumVoices = 1
outData, err := yaml.Marshal(instr)
if err != nil {
fmt.Fprintf(os.Stderr, "could not marshal the preset file %v: %v\n", path, err)