diff --git a/goborator.go b/goborator.go index 3f5f5b3..502b66f 100644 --- a/goborator.go +++ b/goborator.go @@ -47,7 +47,7 @@ func (g *Gaborator) gaborTransform(audioData []float32) { func (g *Gaborator) GetChannel() chan []float32 { if g.coefficientOutputChannel == nil { - g.coefficientOutputChannel = make(chan []float32) + g.coefficientOutputChannel = make(chan []float32, 1024) } return g.coefficientOutputChannel diff --git a/sample/README.md b/sample/README.md index 3c73667..c8c9fd7 100644 --- a/sample/README.md +++ b/sample/README.md @@ -1,2 +1,2 @@ -$ ffmpeg -i MooveKa_-_Rockabilly_Punk_Rock.mp3 -map 0:a:0 -ar 16000 -ac 1 -c:a pcm_f32le -f f32le test.raw +`$ ffmpeg -i MooveKa_-_Rockabilly_Punk_Rock.mp3 -map 0:a:0 -ar 16000 -ac 1 -c:a pcm_f32le -f f32le test.raw`