Tickd.ai
← The Tickd Guide

Inspiration

How to Build a Fictional 1980s Cassette Tape Deck in the Browser Using Claude 3.5 Sonnet

Ditch the flat design trend and build a tactile, skeuomorphic 1980s cassette player complete with Web Audio tape hiss, winding animations, and custom printable labels.

Updated 11/15/2026

The Magic of Skeuomorphic Web Apps

Modern web design is incredibly clean, highly efficient, and—if we are being entirely honest—sometimes a little bit boring. Every dashboard looks like a variations-on-a-theme SaaS template. But the browser is a canvas capable of rendering almost anything, and there is immense joy in building things that serve no corporate purpose other than to look, sound, and feel delightful.

Skeuomorphism—the design practice of making digital interfaces mimic real-world objects—is the perfect antidote to flat-design fatigue. In this guide, we are going to build a fully interactive, fictional 1980s cassette tape deck. It will feature clicking physical buttons, spinning tape spools, a customisable handwritten label, and a real-time Web Audio API signal path that adds authentic tape hiss, warmth, and "wow and flutter" to any audio file you drag and drop onto it.

To build this, we will be partnering with /platforms/claude, which is uniquely brilliant at translating visual descriptions into clean, inline SVG code and structured Web Audio graphs.

Which AI should I use for this?

Tickd is independent and not affiliated with any AI company.

The Anatomy of a Retro Cassette Deck

To make this simulator feel authentic, we cannot just slap a flat rectangle on the screen. We need to recreate the physical feedback of plastic, metal, and magnetic tape. Our browser-based deck needs:

  1. The Cassette Shell (Skeuomorphic SVG): A beautifully rendered plastic cassette casing with clear windows, brass screws, spinning internal spools, and a customisable paper label.
  2. The Tape Transport Controls: Tactile, chunky plastic buttons (Play, Stop, Fast Forward, Rewind) that physically depress when clicked with satisfying mechanical sound effects.
  3. The Analogue Audio Path: A Web Audio API setup that loads a user's MP3, routes it through a bandpass filter (to mimic the frequency response of magnetic tape), injects a low-level noise floor (tape hiss), and introduces subtle pitch modulation (wow and flutter).

What makes these nostalgic projects really click (and what makes the browser tick as a creative medium) is the tension between modern, perfect digital audio and the wonderfully flawed, fragile nature of analogue hardware.

Step 1: Prompting Claude for the Skeuomorphic SVG Casing

We will start by generating the visual layer. We want Claude to build a single-file HTML page containing the styled SVG cassette and deck. The key here is to prompt for depth. SVGs can look incredibly 3D if you use linear and radial gradients for shadows, inner bevels, and metallic reflections.

Copy and paste this prompt into Claude 3.5 Sonnet to get the interface structure:

`text Write a self-contained HTML file containing a highly detailed, skeuomorphic 1980s cassette tape deck using inline SVG and CSS.

Avoid flat design. Use CSS gradients, box-shadows, and SVG filters to create a tactile, physical look. The interface must include: 1. A dark, brushed-metal deck housing with a glass viewing window. 2. Inside the window, a realistic cassette tape shell (transparent grey plastic) with two internal spools (wheels with teeth). 3. Animated tape spools that spin when a 'playing' class is active (using CSS transforms). 4. A handwritten-style paper label across the middle of the cassette where the user can type a custom title. 5. Five physical, chunky control buttons at the bottom (Play, Stop, FF, REW, Eject) that visibly depress using CSS active states.

Ensure all CSS is embedded in a <style> tag and the layout is fully responsive and centred on the screen. `

Claude will output a remarkably detailed interface. If the styling needs adjusting or the buttons feel a bit too flat, do not hesitate to ask for specific aesthetic tweaks, such as adding a subtle chrome bezel or fine-tuning the drop shadows.

Step 2: Injecting the Analogue Audio Soul (Web Audio API)

An authentic cassette deck cannot play pristine, digital MP3s. It needs to degrade them beautifully. We will use the Web Audio API to build an audio processing chain.

Our signal path will look like this: Audio Source -> BiquadFilterNode (for that restricted, warm cassette frequency curve) -> DelayNode (modulated by a low-frequency oscillator to simulate tape speed fluctuations) -> GainNode (to mix in a layer of simulated tape hiss noise) -> Destination.

To implement this, ask Claude to add the JavaScript engine with the following prompt:

`text Now, add a robust JavaScript system to the page that handles audio playback and processing using the Web Audio API.

Implement the following features: 1. An invisible file input that lets the user drag-and-drop or upload their own MP3/WAV file onto the deck. 2. A Web Audio graph that takes this audio source and applies: - A BiquadFilter (bandpass) to limit frequencies between 80Hz and 12,000Hz (simulating typical magnetic tape limits). - A subtle 'Wow and Flutter' effect using a DelayNode modulated by a low-frequency oscillator (LFO) running at around 4Hz with very low amplitude. - A continuous, low-level pink or white noise generator (tape hiss) that only plays when the tape is in 'Play' mode. 3. Link the SVG buttons to the Web Audio states: clicking Play starts the music and noise, spins the SVG spools, and physically depresses the button. Clicking Stop halts everything. 4. Include a subtle mechanical 'clunk' sound effect when any physical button is pressed (you can synthesize this using a short envelope on a low-frequency oscillator in Web Audio). `

If you run into any performance hitches or audio glitching when assembling this system, you can check out our dedicated troubleshooting resources at /platforms/claude/articles for tips on handling audio contexts and browser autoplay policies.

Step 3: Modding the Tape Label and Spool Physics

To make the tape deck truly interactive, we should allow the user to click directly on the cassette's paper label to type their own mixtape name. Claude can easily achieve this by inserting an SVG <foreignObject> containing an HTML input styled with a vintage marker-pen font (like Caveat or Permanent Marker loaded from Google Fonts).

Additionally, real tape spools change size as the music plays. The left side empties, and the right side fills up. You can ask Claude to calculate the ratio based on the track's current playback position and dynamically scale the SVG tape thickness rings using JavaScript. It is a tiny, obsessively detailed touch that elevates the project from a neat toy to a masterpiece of browser nostalgia.

Take It Further

Once you have your basic cassette deck humming with tape hiss and spinning its digital spools, you do not have to stop there. Here are a few creative ways to expand your vintage audio player:

  • Add a VU Meter: Create an SVG needle VU meter that bounces realistically based on the actual audio output levels using an AnalyserNode.
  • Generate Cassette Box Art: Want to go full analogue? Use /platforms/midjourney to generate some authentic 1980s synthwave or metal album covers, and set them as a virtual cassette case background.
  • A "Write Protect" Tab: Add a little plastic tab at the top of the cassette. If the user toggles it off, they cannot "record" (upload) new audio to that tape.

Building interfaces like this reminds us that web development is not just about building clean, efficient data pipelines. It is about creating spaces of joy, curiosity, and tactile interaction. Grab Claude, fire up your local editor, and start building your ultimate 1980s mixtape player today.

claudecreative-codingweb-audio-apiinspirationhtml5

Keep going

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