Documentation
¶
Overview ¶
Command encodetest encodes a 16-bit PCM mono WAV file to MP3 using the same internal/voice/mp3 path the broadcast backends use, writing the result to a file. It exists to reproduce and verify call-audio encoding issues offline — e.g. piping its output through ffmpeg exactly as Rdio Scanner does:
go run ./cmd/encodetest in.wav out.mp3 ffmpeg -i out.mp3 -f null - # must succeed cat out.mp3 | ffmpeg -i - -f null - # must succeed (stdin, like Rdio Scanner)
Click to show internal directories.
Click to hide internal directories.