mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-12 21:02:52 -05:00
drafting
This commit is contained in:
parent
bdd729efc1
commit
f80e71d2ec
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user