{"id":51899,"library":"hajimehoshi-oto","title":"oto","description":"A Go library that provides an io.Writer to play sound on multiple platforms.","status":"active","version":null,"language":"go","source_language":null,"source_url":"https://github.com/hajimehoshi/oto","tags":["audio","sound","playback","cross-platform"],"install":[{"cmd":"go get github.com/hajimehoshi/oto","lang":"bash","label":"Install github.com/hajimehoshi/oto"}],"dependencies":[],"imports":[{"symbol":"oto","correct":"github.com/hajimehoshi/oto"}],"quickstart":{"code":"package main\n\nimport \"github.com/hajimehoshi/oto\"\n\nfunc main() {\n\tcontext, _ := oto.NewContext(44100, 2, 2, 8192)\n\tplayer := context.NewPlayer()\n\t_ = player\n}","lang":"go","description":"Create an audio context and player for sound output."},"warnings":[{"fix":"Ensure the target platform has the necessary audio backend (e.g., ALSA on Linux).","message":"oto requires platform-specific audio drivers; may not work in all environments.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'audio':15 'cross':19 'cross-platform':18 'go':3 'io.writer':8 'librari':4 'multipl':13 'oto':1 'platform':14,20 'play':10 'playback':17 'provid':6 'sound':11,16","created_at":"2026-06-15T06:34:02.678149+00:00","updated_at":"2026-06-15T06:34:02.678149+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hajimehoshi/oto","github":"https://github.com/hajimehoshi/oto","docs":"https://pkg.go.dev/github.com/hajimehoshi/oto#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}