Registry / other / hajimehoshi-oto

hajimehoshi-oto

JSON →
librarygogounverified

A Go library that provides an io.Writer to play sound on multiple platforms.

go get github.com/hajimehoshi/oto
INSTALL
IMPORT
SIG · HAJIMEHOSHI-OTO
H
hajimehoshi-oto
othergo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

oto
github.com/hajimehoshi/oto

Create an audio context and player for sound output.

package main import "github.com/hajimehoshi/oto" func main() { context, _ := oto.NewContext(44100, 2, 2, 8192) player := context.NewPlayer() _ = player }
Debug
Known issues
gotchaoto requires platform-specific audio drivers; may not work in all environments.
fix
Ensure the target platform has the necessary audio backend (e.g., ALSA on Linux).
affects: all
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources
hajimehoshi-oto — go get hajimehoshi-oto · libregistry