oto is a low-level cross-platform audio playback library for Go. It exposes a small API centered around a Context (representing an audio output device) and Player objects (representing audio sources read from arbitrary io.Readers). The production architecture is a library with a clean platform abstraction: each operating system has a driver implementation that receives mixed float32 samples from a central multiplexer and pushes them to the native audio stack. Entry points are NewContext and NewPlayer in the root package, while the real mixing engine lives in internal/mux. The data flow is straightforward: user audio data enters via io.Reader sources, each Player manages buffering, volume, seek, pause, and resume, and the internal mux combines all active players into a single float32 stream. Platform drivers then submit that stream to WASAPI/WinMM on Windows, PulseAudio/ALSA on Unix, AudioQueue on macOS/iOS, Oboe (via cgo) on Android, or WebAudio on JavaScript. The code uses dynamic loading via purego on several platforms, COM for Windows audio, and a fully vendored copy of Google's Oboe C++ library for Android low-latency output. The codebase is well-engineered for a portable audio library. It demonstrates robust fallback chains (e.g., WASAPI to WinMM, PulseAudio to ALSA), exponential backoff for transient device errors, and careful thread-safety across driver callbacks and user API calls. It is an application library, not a data/research repository. Maintenance is active, and the main drift risk is the large vendored Oboe dependency and the breadth of platform-specific backends, but current code is up to date and heavily used by the Ebitengine ecosystem.
FamiStudio is a cross-platform NES/Famicom music tracker and editor written primarily in C#. It provides a full-featured graphical environment for composing music targeting the 2A03 APU and a wide range of expansion chips (VRC6, VRC7, FDS, MMC5, N163, Sunsoft 5B, EPSM). The system includes real-time audio playback via emulation (NesSndEmu, NotSoFatso), a custom OpenGL-based UI framework, support for multiple export formats (NSF, WAV, MP3, OGG, video), and a 6502 assembly sound engine for real hardware. The codebase demonstrates strong engineering in its versioned binary serialization, undo/redo system, channel state machine pattern for emulation, and extensive localization support. It is actively maintained with regular commits and a well-documented feature set, though it relies on several third-party native libraries (GPL/LGPL) and a custom UI framework that may present maintenance overhead.