From 2b1b07806bde7206d15ce87b9f05f1176c965b2f Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 28 Jul 2017 02:06:08 -0400 Subject: initial wav impl --- wav/wav_test.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'wav/wav_test.go') diff --git a/wav/wav_test.go b/wav/wav_test.go index 4fa64db..a641b8f 100644 --- a/wav/wav_test.go +++ b/wav/wav_test.go @@ -6,10 +6,20 @@ import ( ) func TestLoad(t *testing.T) { - wf, err := Load("../downloader/out.wav") + ch, err := Load("../downloader/out.wav") if err != nil { t.Error(err) } - fmt.Println(wf) + ct := 0 + + for _ = range ch { + //fmt.Println(i) + ct++ + if ct%10000 == 0 { + fmt.Println(ct) + } + } + + fmt.Println("COUNT: ", ct) } -- cgit v1.3.1