beep
beep copied to clipboard
A little package that brings sound to any Go application. Suitable for playback and audio-processing.
Hello, I have example from https://github.com/faiface/beep/wiki/Composing-and-controlling ``` for { fmt.Print("Press [ENTER] to pause/resume. ") fmt.Scanln() speaker.Lock() ctrl.Paused = !ctrl.Paused volume.Volume += 0.5 speedy.SetRatio(speedy.Ratio() + 0.1) //
Add proper module support for go 1.18, otherwise things that require submodules (like generators, etc) will not be able to resolve properly in the build system.
I'm trying to read an audio file through a reader from a `[]byte` array, but when I do this, the length of the output stream is `0`. However, using the...
This small sample program panics on Linux: ```go package main import ( "fmt" "time" "github.com/faiface/beep" "github.com/faiface/beep/speaker" ) func main() { format := beep.Format{ SampleRate: 44100, NumChannels: 2, Precision: 2, }...
First, thank you for the awesome project! I have multiple, large music files I want to stream from disk, like this: - play song A - stop song A, start...
Hello! Thanks for the great work on this library. Quick question: is it possible to change the speed without affecting the pitch? I'm trying the Speedy player example, but not...
FileSize must be `(file size) - 8` (except the size field itself and the chunk identifier). cf. https://en.wikipedia.org/wiki/Resource_Interchange_File_Format
Oto v2.0 was just released :) https://github.com/hajimehoshi/oto/releases/tag/v2.0.0 > * New APIs > - Accepting io.Reader instead of io.Writer to create a player > - Richer Player interface > * New...
The current vorbis decoder sets NumChannels to 2 even though `jfreymuth/oggvorbis` provides a way to determine a vorbis stream's number of channels. This is working in my testing, but if...