Tickd.ai
← The Tickd Guide

Inspiration

How to Build a Fictional 1990s Winamp-Style MP3 Player in the Browser Using Claude 3.5 Sonnet

Relive the golden era of MP3s. Learn how to prompt Claude 3.5 Sonnet to build a fully functional, skin-swapping, visualiser-bouncing Winamp clone in vanilla code.

Updated 11/18/2026

The Glorious Era of Shitty UI

Modern web design is, frankly, a bit of a bore. Everything is a sea of rounded corners, generous white space, and sterile, neutral-toned interfaces. What happened to the grit? What happened to the cluttered, pixel-perfect, hyper-functional chaos of the late 1990s?

If you want to truly test what makes an LLM tick when it comes to front-end development, skip the generic SaaS dashboard. Instead, ask it to build a tribute to the undisputed king of shareware: Winamp 2.x.

We are going to use /platforms/claude to construct a fully interactive, retro MP3 player directly in the browser. It won't just look the part with custom skins and double-sized pixel art. Thanks to the Web Audio API, it will actually play audio files and run a real-time, bouncing green-and-yellow frequency visualiser.

Here is how to coax Claude into building a masterpiece of nostalgia, complete with code architectures that actually work.

---

Which AI should I use for this?

Tickd is independent and not affiliated with any AI company.

The Architecture: Why Winamp is a Nightmare for LLMs

On the surface, Winamp looks simple: just a few grey boxes. But under the hood, a faithful recreation is a complex web of modern web APIs and retro design constraints. If you just ask Claude to "build Winamp," it will give you a modern flat player styled with grey CSS. It will look like a sad Bootstrap template from 2012.

To get the real deal, we need Claude to architect three distinct systems:

  1. The Double-Pixel CSS Layout: Winamp didn't use smooth modern anti-aliasing. It used raw, blocky 1x1 pixels scaled up by 2x. We need a CSS grid with image-rendering: pixelated and custom fonts.
  2. The Web Audio Node Pipeline: We cannot just use a basic HTML <audio> tag. We need a MediaElementAudioSourceNode routed through an AnalyserNode to feed raw frequency data to our custom canvas visualiser.
  3. The Modular Window System: Winamp had three windows—the Main Player, the Equaliser, and the Playlist Editor. They need to be draggable, dockable, and toggleable.

---

The Prompting Recipe

To bypass Claude's tendency to write clean, modern code and force it into the grimy depths of 1998, you need a highly specific system prompt.

Copy this setup directly into Claude 3.5 Sonnet (using the Artifacts view if you have it enabled, or generating a single HTML file you can run locally):

`text Write a complete, single-file HTML/JS/CSS application that recreates an interactive, fictional 1998 Winamp-style MP3 player.

Visual Requirements: - Use a strict retro theme. 2x pixelated styling, neon-green digital timer fonts, and a canvas-based spectrum analyser. - Build three distinct, draggable windows: Main Player, Equalizer (with mock sliders), and Playlist. - Avoid any modern CSS frameworks. Write raw, dense, modular CSS. - Include a 'Skin Selector' dropdown with at least three themes: 'Classic Winamp' (grey/green), 'Midnight Obsidian' (dark/purple), and 'Toxic Radioactive' (black/neon green).

Technical Requirements: - Use the Web Audio API. When the user uploads or plays one of the embedded royalty-free synth loops, render a real-time, canvas-based frequency bar visualizer. - The timer must toggle between 'Time Elapsed' and 'Time Remaining' when clicked. - Implement a working 'Ooze' or 'Visualizer Mode' button that toggles between bar spectrum and oscilloscope modes. - Embed at least three high-quality synthesizer synth loops (using base64 audio URIs or reliable public URLs) so the app works immediately without requiring manual file uploads. `

You can also generate custom system configurations using our /prompts if you want to swap the theme to a different retro era, like a Sony Walkman or a Minidisc player.

---

Deep-Dive: Making the Visualiser Actually Bounce

One area where Claude often trips up is the animation loop for the Web Audio visualiser. It will write the code to create the AnalyserNode, but it frequently forgets to handle the garbage collection of the animation frames, or it fails to scale the frequency data properly, resulting in a flatline.

To make sure your visualiser actually dances to the music, check that the JavaScript Claude generates matches this structure:

`javascript const audioCtx = new (window.AudioContext || window.webkitAudioContext)(); const analyser = audioCtx.createAnalyser(); analyser.fftSize = 64; // Low FFT size for that retro, blocky bar look

const bufferLength = analyser.frequencyBinCount; const dataArray = new Uint8Array(bufferLength);

function drawVisualiser() { requestAnimationFrame(drawVisualiser); analyser.getByteFrequencyData(dataArray); canvasCtx.fillStyle = '#000'; // Black background canvasCtx.fillRect(0, 0, canvas.width, canvas.height);

const barWidth = (canvas.width / bufferLength) * 1.5; let x = 0;

for(let i = 0; i < bufferLength; i++) { const barHeight = (dataArray[i] / 255) * canvas.height; // Create the classic green-to-red Winamp gradient const gradient = canvasCtx.createLinearGradient(0, canvas.height, 0, 0); gradient.addColorStop(0, '#00ff00'); // Green at bottom gradient.addColorStop(0.7, '#ffff00'); // Yellow middle gradient.addColorStop(1, '#ff0000'); // Red peaks canvasCtx.fillStyle = gradient; canvasCtx.fillRect(x, canvas.height - barHeight, barWidth - 1, barHeight); x += barWidth; } } `

If Claude serves you a broken visualiser canvas or the bars refuse to budge when the music plays, refer to our debugging guides at /platforms/claude/articles to troubleshoot audio context state locks (which are usually caused by modern browsers blocking audio until the user interacts with the page).

---

Adding the Magic: Custom 'Skins'

The true soul of Winamp was its skins. People spent thousands of hours painting custom BMP files to make their media players look like brushed aluminum, anime shrines, or glowing alien consoles.

We can recreate this in the browser using CSS Custom Properties. Tell Claude to define a default palette in the :root selector, and then swap those variables out based on the class applied to the main wrapper:

`css / The Classic Winamp Skin / .winamp-skin-classic { --winamp-bg: #2a2a2e; --winamp-border: #46464a; --winamp-text: #00ff00; --winamp-panel: #18181c; }

/ The Cyberpunk Skin / .winamp-skin-cyberpunk { --winamp-bg: #120136; --winamp-border: #03001e; --winamp-text: #ff007f; --winamp-panel: #03001e; } `

Once Claude sets this up, you can dynamically toggle the class on the outer container using a simple JS event listener on your skin selector dropdown. The entire interface—buttons, borders, text, and even the visualiser gradients—will instantly morph into your chosen aesthetic.

---

Where to Take This Project Next

Once you have the basic media player ticking along, the real fun begins. Because Claude has wrapped the entire app into a single, highly performant file, you can easily extend it.

Here are three creative feature expansions to prompt Claude for next:

  • Add Desktop Drag-and-Drop: Allow users to drag real .mp3 files from their actual computer desktop directly onto the Winamp playlist window to play them.
  • Include a Micro-Visualiser Widget: Build a tiny, simplified mini-player mode (the double-click title bar trick) that collapses the entire UI into a tiny bar that sits at the top of your screen.
  • Simulate the 56k Dial-Up Lag: Add an optional 'Dial-up Mode' that introduces artificial loading latency and intermittent audio stuttering, complete with authentic dial-up handshaking noises when the app first loads.

Building retro interfaces isn't just a fun trip down memory lane. It is one of the best ways to master complex DOM event handling, state coordination, and real-time canvas rendering. Drop our prompt into Claude, load up your favourite tunes, and start skinning.

clauderetrocreativejavascript

Keep going

Build something with the prompt generator, decode the jargon in the glossary, or compare the tools on our platform deep-dives.