This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-10-16 23:55:02 +03:00
parent bdd729efc1
commit f80e71d2ec
5 changed files with 187 additions and 114 deletions

View File

@ -85,6 +85,9 @@ type (
broker *Broker
MIDI MIDIContext
presets PresetSlice
presetIndex int
}
// Cursor identifies a row and a track in a song score.
@ -202,6 +205,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.updateDerivedPresetSearch()
m.loadPresets()
return m
}