mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-12 12:52:53 -05:00
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:
parent
c1ea47a509
commit
c583156d1b
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user