schollz / miti

miti is a musical instrument textual interface. Basically, its MIDI, but with human-readable text. :musical_note:

Home Page:https://schollz.com/blog/miti/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

declared but not used error in miti/src/record/record.go

shakfu opened this issue · comments

Incidentally, just tried to compile current master using latest golang 1.19.3 and I get 'declared but not used error' on line 36 of miti/src/record/record.go:

patterns := 0
currentPattern := ""
currentState := ""
previousNote := music.NewNote("C", 4) // <--- here
go func() {