diff --git a/pkg/wave/wave.go b/pkg/wave/wave.go index 8a6f148..9723238 100644 --- a/pkg/wave/wave.go +++ b/pkg/wave/wave.go @@ -8,6 +8,12 @@ type Audio interface { At(i, ch int) Sample } +// EditableAudio is an editable finite series of audio Sample values. +type EditableAudio interface { + Audio + Set(i, ch int, s Sample) +} + // ChunkInfo contains size of the audio chunk. type ChunkInfo struct { Len int