Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How vibedom turns a website's look into a procedural soundscape

Paste a URL into vibedom and it plays a soundtrack built from that site's design. A scraper reads the page, a JSON "Sound Seed" is produced, and Tone.js synthesises pad, drone and arpeggio in the browser: no samples, no account, no audio file to download. I built it as a CS student at the University of Málaga. The code is open source ( germantes/vibedom , MIT). From URL to seed A scan is POST…

Paste a URL into vibedom and it generates a soundscape built from that site's visual design. A scraper extracts the page's elements, creates a "Sound Seed" in JSON format, and Tone.js synthesizes the audio in the browser without downloading any samples or audio files. The code is open source (germantes/vibedom, MIT). The process begins with a POST request to /api/scan, which checks the URL, performs DNS lookups, fetches HTML and up to four stylesheets, and enforces a timeout of 8 seconds per fetch within a 20-second budget, capping bodies at 2 MB.

If the request is met with a 403, 429, or 5xx status code, it retries once with a browser-like User-Agent. The scraper retains a compact aesthetic fingerprint, including semantics (title, meta description, up to five h1 elements, and a text sample), colors (hex and rgb values from CSS, plus meta theme-color), background color (from html, body, or :root rules or the most frequent CSS color), and categorizes type (serif, sans-serif, monospace, or display) and motion (presence of animation or transition).

The HTML is not stored; only the domain and UTC day of the scan are kept in the public ranking. The Sound Seed, generated by Gemini on Vertex AI or a local composer, undergoes normalization, with invalid types and enums being rejected, out-of-range numbers clipped, and free text truncated. If no URL is provided, three static presets (Cyberpunk, Editorial, Indie pastel) are played.

The Sound Seed serves as the contract between analysis and playback, determining the musical parameters such as BPM, root note, scale, and octave. The musical parameters and synth configuration are applied through Tone.js, which builds a small audio graph consisting of a sine drone, a pad with a fat oscillator, an arpeggio, chorus, and reverb, followed by a limiter and master output. The visualizers display the audio analysis.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Two customers, one item left: preventing overselling with one PostgreSQL UPDATE

Two customers. One kurta left. Both press Place order within the same second. In many stores, both orders go through. Somebody finds out later, usually the shop owner, on the phone, apologising.

  • Prevent overselling with single PostgreSQL UPDATE statement
  • Reserve stock in conditional update to check availability
  • Lazy cleanup releases expired reservations without cron job

Build a Time-Zone-Safe Itinerary Validator in Python

A travel itinerary looks like a sequence of cards: a museum at 10:00, lunch at 12:30, and a train later in the day. Underneath those cards, however, is a scheduling problem.

  • Validator checks itinerary facts, reports conflicts
  • Requires ISO 8601 timestamps with explicit offsets
  • Catches time zone mistakes and transfer buffer issues

More from Thursday 26 November →