opus
A nimterop wrapper for the opus audio decoder
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:28 |
Tags
Installation
nimble install opus
choosenim install opus
git clone https://github.com/capocasa/nim-opus
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| opus | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/capocasa/nim-opus |
|---|---|
| Homepage | https://github.com/capocasa/nim-opus |
| Registry Source | nimble_official |
README
nim-opus
A nim wrapper for opus, the latest and greatest freely usable audio codec
Portable and liberally licensed
Usage
# Get data as an array-like structure from a demultiplexer
let encodedData = getMyEncodedData()
let decoder = newDecoder()
let samples = decoder.decode(encodedData)
for i in 0..<samples.len:
echo $samples.data[i]
Documentation
Please see auto-generated documentation at https://capocasa.github.io/nim-opus/opus.html
Further information
For a full usage example of the opus decoder, see the lov video player, https://github.com/capocasa/lov
Design and project status also applies to nim-opus as well.