mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-23 07:24:47 -04:00
drafting
This commit is contained in:
parent
285f33c261
commit
c09a3f04db
@ -17,6 +17,7 @@ type (
|
||||
forUnit map[int]derivedForUnit
|
||||
forTrack []derivedForTrack
|
||||
forPattern []derivedForPattern
|
||||
rail SignalRail // signal rail for the current patch
|
||||
}
|
||||
|
||||
derivedForUnit struct {
|
||||
@ -152,6 +153,7 @@ func (m *Model) updateDerivedScoreData() {
|
||||
}
|
||||
|
||||
func (m *Model) updateDerivedPatchData() {
|
||||
m.derived.rail.update(m.d.Song.Patch)
|
||||
clear(m.derived.forUnit)
|
||||
for i, instr := range m.d.Song.Patch {
|
||||
for u, unit := range instr.Units {
|
||||
|
Reference in New Issue
Block a user