mremove prints

This commit is contained in:
Christopher Cooper 2017-07-05 18:11:26 -04:00
parent 538d42f9a6
commit 6dd3a9a643
1 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ func (s *sine) Stream(samples [][2]float64) (n int, ok bool) {
if len(samples) == 0 { if len(samples) == 0 {
os.Exit(-1) os.Exit(-1)
} }
fmt.Println(len(samples))
for i := 0; i < len(samples)-2; i += 2 { for i := 0; i < len(samples)-2; i += 2 {
val := math.Sin(math.Pi*s.time*s.freq) / 1.1 val := math.Sin(math.Pi*s.time*s.freq) / 1.1
s.time += 1 / s.rate s.time += 1 / s.rate
@ -32,7 +31,6 @@ func (s *sine) Stream(samples [][2]float64) (n int, ok bool) {
samples[i+1][0] = low samples[i+1][0] = low
samples[i+1][1] = high samples[i+1][1] = high
} }
fmt.Println(samples)
return len(samples), true return len(samples), true
} }