From 84c427b5928e35745806b57ea248d61bd2f2ab72 Mon Sep 17 00:00:00 2001 From: Mark Kremer Date: Sat, 3 Aug 2024 20:39:41 +0200 Subject: [PATCH 1/4] Update badges in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4428dc..cdd3075 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Beep -[![GoDoc](https://godoc.org/github.com/gopxl/beep?status.svg)](https://godoc.org/github.com/gopxl/beep) +[![Go Reference](https://pkg.go.dev/badge/github.com/gopxl/beep/v2.svg)](https://pkg.go.dev/github.com/gopxl/beep/v2) [![Go build status](https://github.com/gopxl/beep/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/gopxl/beep/actions/workflows/go.yml?query=branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/gopxl/beep/badge.svg?branch=main)](https://coveralls.io/github/gopxl/beep?branch=main) -[![Go Report Card](https://goreportcard.com/badge/github.com/gopxl/beep)](https://goreportcard.com/report/github.com/gopxl/beep) +[![Go Report Card](https://goreportcard.com/badge/github.com/gopxl/beep/v2)](https://goreportcard.com/report/github.com/gopxl/beep/v2) [![Discord Chat](https://img.shields.io/discord/1158461233121468496)](https://discord.gg/erpa32cB) From 9e9ce7dfa773abac7b31eb5ca1eb81959fdc70c8 Mon Sep 17 00:00:00 2001 From: Mark Kremer Date: Sat, 3 Aug 2024 20:41:19 +0200 Subject: [PATCH 2/4] Fix misspelling for goreportcard --- wav/encode_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wav/encode_test.go b/wav/encode_test.go index 50fc88e..d1b7fb9 100644 --- a/wav/encode_test.go +++ b/wav/encode_test.go @@ -127,10 +127,10 @@ func TestEncodeDecodeRoundTrip(t *testing.T) { } if actual[i][0] <= data[i][0]-delta || actual[i][0] >= data[i][0]+delta { - t.Fatalf("encoded & decoded sample doesn't match orginal. expected: %v, actual: %v", data[i][0], actual[i][0]) + t.Fatalf("encoded & decoded sample doesn't match original. expected: %v, actual: %v", data[i][0], actual[i][0]) } if actual[i][1] <= data[i][1]-delta || actual[i][1] >= data[i][1]+delta { - t.Fatalf("encoded & decoded sample doesn't match orginal. expected: %v, actual: %v", data[i][1], actual[i][1]) + t.Fatalf("encoded & decoded sample doesn't match original. expected: %v, actual: %v", data[i][1], actual[i][1]) } } }) From 226523d5c35a83c0847ae355e4f82b4310e0275b Mon Sep 17 00:00:00 2001 From: Mark Kremer Date: Sat, 3 Aug 2024 20:44:44 +0200 Subject: [PATCH 3/4] Use Discord invite link that doesn't expire --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdd3075..71e118d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Go build status](https://github.com/gopxl/beep/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/gopxl/beep/actions/workflows/go.yml?query=branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/gopxl/beep/badge.svg?branch=main)](https://coveralls.io/github/gopxl/beep?branch=main) [![Go Report Card](https://goreportcard.com/badge/github.com/gopxl/beep/v2)](https://goreportcard.com/report/github.com/gopxl/beep/v2) -[![Discord Chat](https://img.shields.io/discord/1158461233121468496)](https://discord.gg/erpa32cB) +[![Discord Chat](https://img.shields.io/discord/1158461233121468496)](https://discord.gg/hPBTTXGDU3) A little package that brings sound to any Go application. Suitable for playback and audio-processing. From 29d3d4d42e676f151095ddbfd8fd4a2f3ad32520 Mon Sep 17 00:00:00 2001 From: Mark Kremer Date: Sat, 3 Aug 2024 20:49:47 +0200 Subject: [PATCH 4/4] Mention MIDI decoding in the README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71e118d..97d423f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ go get -u github.com/gopxl/beep/v2 Beep is built on top of its [Streamer](https://godoc.org/github.com/gopxl/beep#Streamer) interface, which is like [io.Reader](https://golang.org/pkg/io/#Reader), but for audio. It was one of the best design decisions I've ever made and it enabled all the rest of the features to naturally come together with not much code. -- **Decode and play WAV, MP3, OGG, and FLAC.** +- **Decode and play WAV, MP3, OGG, FLAC and MIDI.** - **Encode and save WAV.** - **Very simple API.** Limiting the support to stereo (two channel) audio made it possible to simplify the architecture and the API. - **Rich library of compositors and effects.** Loop, pause/resume, change volume, mix, sequence, change playback speed, and more.