Back to browse
Modembin – A pastebin that encodes your text into real FSK modem audio

Modembin – A pastebin that encodes your text into real FSK modem audio

by a13x57·Mar 3, 2026·13 points·1 comment

AI Analysis

●●●●GemWizardryRabbit HoleCozy

Vanilla TypeScript FSK encoding with quadrature discriminator—modem audio from scratch, no libraries.

Strengths
  • Ground-up signal processing: phase-continuous FSK, proper 8-N-1 framing, and quadrature FM discriminator with zero DSP libraries.
  • Bridges retro (Bell 103, SSTV, ham radio) and modern (browser-native, WebSocket chat, lz-string compression) with genuine nostalgia and technical depth.
  • Acoustic coupling mode enables actual speaker-to-mic air-gap transmission; novelty with real physical constraint.
Weaknesses
  • Niche audience: pastebin utility is thin; real value is hobby exploration, not productivity tool.
  • Modem audio encoding is fundamentally limited to ~1.2KB payloads; scale and practical adoption minimal.
Category
Target Audience

Ham radio enthusiasts, retro/nostalgia computing hobbyists, audio signal processing nerds

Post Description

Hey HN,

A fun weekend project: https://www.modembin.com

It's a pastebin, except text/files are encoded into .wav files using real FSK modem audio. Image sharing is supported via Slow-Scan Television (SSTV), a method of transmitting images as FM audio originally used by ham radio operators.

Everything runs in the browser with zero audio libraries and the encoding is vanilla TypeScript sine wave math: phase-continuous FSK with proper 8-N-1 framing, fractional bit accumulation for non-integer sample rates, and a quadrature FM discriminator on the decode side (no FFT windowing or Goertzel), The only dependency is lz-string for URL sharing compression.

It supports Bell 103 (300 baud), Bell 202 (1200 baud), V.21, RTTY/Baudot, Caller ID (Bellcore MDMF), DTMF, Blue Box MF tones, and SSTV image encoding. There's also a chat mode where messages are transmitted as actual Bell 103 audio over WebSocket... or use the acoustic mode for speaker-to-mic coupling for in-room local chat.

Similar Projects