feat(tracker): save recovery file regularly & load it on startup

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2023-10-01 14:45:45 +03:00
parent 12f15d1066
commit df2605fddd
5 changed files with 357 additions and 292 deletions

View File

@ -296,6 +296,9 @@ loop:
}
func (p *Player) compileOrUpdateSynth() {
if p.bpm <= 0 {
return // bpm not set yet
}
if p.synth != nil {
err := p.synth.Update(p.patch, p.bpm)
if err != nil {