mdlayher / waveform

Go package capable of generating waveform images from audio streams. MIT Licensed.
MIT License
353 stars 28 forks source link

Add waveform generation from []float64 #5

Closed mdlayher closed 10 years ago

mdlayher commented 10 years ago

Since []float64 is computed from reading samples anyway, allow direct generation by inputting []float64. Also add the option to retrieve the values used to compute a new waveform from a io.Reader, so that the same waveform can be quickly regenerated.

mdlayher commented 10 years ago

This was added in this commit: https://github.com/mdlayher/waveform/commit/f13af1c191b696d4a73fd704c1230a05a7134545