mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-12 21:02:52 -05:00
drafting
This commit is contained in:
parent
09c93420e4
commit
cc03a7cf91
@ -86,7 +86,7 @@ type (
|
||||
|
||||
MIDI MIDIContext
|
||||
|
||||
presets PresetSlice
|
||||
presets Presets
|
||||
presetIndex int
|
||||
}
|
||||
|
||||
@ -165,6 +165,8 @@ const (
|
||||
QuitChanges
|
||||
QuitSaveExplorer
|
||||
License
|
||||
DeleteUserPresetDialog
|
||||
OverwriteUserPresetDialog
|
||||
)
|
||||
|
||||
const (
|
||||
@ -205,8 +207,8 @@ func NewModel(broker *Broker, synthers []sointu.Synther, midiContext MIDIContext
|
||||
TrySend(broker.ToPlayer, any(m.d.Song.Copy())) // we should be non-blocking in the constructor
|
||||
m.signalAnalyzer = NewScopeModel(broker, m.d.Song.BPM)
|
||||
m.updateDeriveData(SongChange)
|
||||
m.presets.load()
|
||||
m.updateDerivedPresetSearch()
|
||||
m.loadPresets()
|
||||
return m
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user