silktest

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Throwaway: exercise jargo's audio/opus Encoder end-to-end, the way the transport does — feeding 20 ms frames of 48 kHz mono S16LE PCM and decoding the packets back. Build with `-tags silk` to run the pure-Go SILK encoder (our pion/opus branch), or without tags for the CELT default. It resamples a clip to 48 kHz with the pure-Go resampler, encodes/decodes frame by frame, and writes jargo_in.wav / jargo_out.wav plus a bitrate/SNR summary.

go run -tags silk ./examples/silktest [input.wav]   # needs go.work -> our branch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL