mirror of
https://github.com/vsariola/sointu.git
synced 2026-03-01 03:23:17 -05:00
feat: save only the units and comment to instrument/preset files
This commit is contained in:
parent
f3bb0001cd
commit
4cb9308af3
4
patch.go
4
patch.go
@ -21,8 +21,8 @@ type (
|
||||
Instrument struct {
|
||||
Name string `yaml:",omitempty"`
|
||||
Comment string `yaml:",omitempty"`
|
||||
NumVoices int
|
||||
Mute bool `yaml:",omitempty"` // Mute is only used in the tracker for soloing/muting instruments; the compiled player ignores this field
|
||||
NumVoices int `yaml:",omitempty"`
|
||||
Mute bool `yaml:",omitempty"` // Mute is only used in the tracker for soloing/muting instruments; the compiled player ignores this field
|
||||
// ThreadMaskM1 is a bit mask of which threads are used, minus 1. Minus
|
||||
// 1 is done so that the default value 0 means bit mask 0b0001 i.e. only
|
||||
// thread 1 is rendering the instrument.
|
||||
|
||||
Reference in New Issue
Block a user