diff --git a/Pi/bananenkeyboard b/Pi/bananenkeyboard index b078655..111f960 100755 Binary files a/Pi/bananenkeyboard and b/Pi/bananenkeyboard differ diff --git a/Pi/main.go b/Pi/main.go index 847ae98..0dfc2fd 100644 --- a/Pi/main.go +++ b/Pi/main.go @@ -49,9 +49,9 @@ func mustLoadStream(p string) *beep.Buffer { defer streamer.Close() newFormat := format - // newFormat.SampleRate = format.SampleRate / 4 + newFormat.SampleRate = format.SampleRate / 4 // newFormat.SampleRate = format.SampleRate / 2 - newFormat.SampleRate = format.SampleRate + // newFormat.SampleRate = format.SampleRate resample := beep.Resample(4, format.SampleRate, newFormat.SampleRate, streamer) buffer := beep.NewBuffer(newFormat)