Package snd provides methods and types for sound processing and synthesis.
go get dasa.cc/snd
In addition to regular unit tests, there are plot tests that produce images saved to a plots/ folder. This depends on package gonum/plot and requires an additional tag flag to enable as follows:
go get github.com/gonum/plot go test -tags plot
This package was very much inspired by Victor Lazzarini's SndObj Library for which I spent countless hours enjoying, and without it I may never have come to program.