Skip to content
Tim Santeford
  • How To Guides
  • Comparisons
  • Tools
  • About Me
  • Contact

audio

How To Guides

Playing Base64-Encoded PCM Audio in a Web Browser

November 11, 2024 by Tim Santeford
selective focus photo of black headset

Handling audio in a browser becomes tricky when dealing with non-standard formats like raw PCM. In this post, I’ll walk through how I worked with 24 kHz, 16-bit PCM audio encoded in Base64 and made it playable using the <audio> element and TypeScript. Browsers cannot play raw PCM directly, so the goal is to wrap

Continue Reading →
Photo of Tim
LinkedIn
Stackoverflow
X

I'm Tim, a software engineer with two decades of experience, specializing in full-stack development, generative AI integration, interface design, and databases, leveraging technology to empower businesses. More...

Recent Posts

  • Log Record Counts in PySpark (With a Timer)
  • Balancing Git Commit Quantity and Quality
  • Day One: Starting Strong as a New Software Engineer
  • Fixing PySpark Import Errors When Using Custom Modules
  • Running Development Mode in Multiple NPM Workspaces

Categories

  • Comparisons (6)
  • Error Fixes (15)
  • How To Guides (129)
  • Uncategorized (1)

Most Viewed Posts

  • How to use Biome with Next.js for Linting and Formatting
  • How to Fix “Microsoft.CodeAnalysis.LanguageServer client: couldn’t create connection to server” Error in Visual Studio Code on macOS
  • How to Fix Puppeteer Connection Error: “ProtocolError: Network.enable Timed Out” in Docker
  • How to Force a Complete Rebuild in Docker Compose, Including Anonymous Volumes
  • Setting Up Vitest to Support TypeScript Path Aliases
  • Docker WordPress Environment with HTTPS in 5 Steps

  • Privacy Policy
© 2025 Tim Santeford • Built with GeneratePress