Skip to content

Instantly share code, notes, and snippets.

View sagemono's full-sized avatar

sage sagemono

View GitHub Profile
@sagemono
sagemono / rsf2wav.py
Created July 24, 2026 09:14
rsf2wav converts Relentless Software RSF streamed audio to at3 or wav.
#!/usr/bin/env python3
"""
rsf2wav converts Relentless Software RSF streamed audio to at3 or wav. RSF likely stands for "Relentless Streaming Format"
RSF is the streamed music container used by Buzz! Quiz TV and related titles. It is a 32 byte big endian header repeated at the start of every 64 KiB block, wrapping raw Sony ATRAC3 (this is NOT ATRAC3plus, and NOT scrambled)
header layout, big endian:
0x00 u8 format tag, always 6 so far
0x02 u8 channel count
0x04 u16 sample rate