deus

Blog

Deus Lyrics: a karaoke visualizer that writes the words in light

Deus Lyrics: a sung word written by a glowing oscilloscope beam over a colourful tunnel visual.

Most lyrics views are a scrolling page of text next to the music. Lyrics, a mode of the free Chrome extension Deus (it used to be called Karaoke), does it differently: an oscilloscope beam writes each word on top of the visual at the moment it is sung, then lets it go. You can watch it live while Spotify or Yandex Music plays, or render a lyric video from your own track. Here is what happens under the hood and how to use it for clips.

What you see

With Lyrics on, the visualizer keeps playing whatever preset you picked: a tunnel, a MilkDrop classic, an XY Drift oscilloscope. On top of it a thin glowing beam draws the word being sung, the way an analog oscilloscope draws a figure. The word appears a moment before you hear it, stays until the next one (at most about a second), and the screen is empty between lines, so the visual is never buried under text. The sound itself shakes the beam a little, so the letters tremble with the voice.

The XY Lyrics preset goes further: there the oscilloscope itself writes the words, with the effects of XY Drift playing over them. Without lyrics it draws the track's title, or any text you type into its settings.

Under the hood: how a word becomes a beam

An oscilloscope can't print letters. It only moves one bright dot along a path, so every word has to become a path first:

  1. The word is painted in a bold system font, so any script works: Latin, Cyrillic, Arabic, Chinese, Japanese.
  2. Its outline is traced back from the pixels (the marching squares algorithm) and smoothed down to a few corners (Ramer–Douglas–Peucker), so the beam doesn't stutter on every pixel.
  3. The outlines are put in the order a beam would draw them, nearest next, and the beam spends only a small share of its time jumping between letters, so the jumps stay faint.
  4. The beam then runs along that path many times a second with a phosphor glow and trail, on a see-through layer the size of the visual.

That layer is drawn at a modest resolution (at most 640 pixels) and stretched to the screen, so lyrics cost very little. At Low quality, meant for computers that struggle, they turn off.

Deus's visual effects know about the words too. Effects that would wreck letters, such as pixelation, slit-scan or oil paint, apply to the preset only, under the words. The rest, such as colour shifts and glow, play over both, so the words feel part of the picture and stay readable.

Four moments of a Deus lyric video: the words written by an oscilloscope beam over a tunnel visual, one word at a time.
One word at a time: the beam writes each word as it is sung.

Where the lyrics come from

To write a word at the right moment, Deus needs timed lyrics: text with a time for every line, ideally for every word. It looks for them in a few places:

  • Spotify: Spotify's own synced lyrics decide when each line starts. If a lyrics site has the same song timed word by word and its lines match Spotify's at a steady offset, Deus moves those word times onto Spotify's lines. That gives you word-level timing that still agrees with Spotify.
  • Yandex Music: its own timed lyrics, or LRCLIB when it has none.
  • LRCLIB, a free open database of timed lyrics, for songs the service itself has no timed lyrics for.
  • NetEase Cloud Music, only if you allow it: many songs there are timed word by word. Deus asks once and Chrome confirms the permission.

A result is used only when its title and artist match the song, so you don't get the words of a cover or a different track. The lookups go straight from the extension to these services, never through Deus's server, and only the title, artist and length are sent. A small label next to the Lyrics switch shows where the current lyrics came from.

Staying in sync

A web player doesn't tell an extension exactly where in the song it is, and its progress bar only updates about once a second. Deus listens to the most precise clock the page has: the position the player reports to the browser's media controls, then the audio element itself, then the progress bar as a check. It writes each word about 120 ms early, because a beam needs a moment to draw it.

When the clock and the song drift apart, Deus doesn't jump. It plays the lyrics slightly faster or slower until they catch up, and only jumps when the gap is over a second and a half, for example after you seek. If a word was missed, it is written quickly, in about a tenth of a second, so no word is lost.

How to turn it on

  1. Install Deus from the Chrome Web Store.
  2. Play a song on Spotify or Yandex Music in Chrome.
  3. Open the Deus player. Lyrics are on by default; the switch is in the player's ⋯ menu, and the microphone button in the Deus popup turns them on and off.

The words also appear over the visual on the Spotify and Yandex Music pages themselves and in their fullscreen. If a tab was open before Deus was installed or updated, reload it once. For other sites, use the lyric video route below.

Making lyric clips with Deus Render

Deus can render an MP4 from an audio file on your computer, and Lyrics work there too. That makes it a lyric video maker that runs entirely in your browser.

  1. In the Deus player, open Render and choose your audio file. The track is rendered on your device and isn't uploaded anywhere.
  2. Turn on Lyrics. Deus looks the lyrics up right away by the file's tags and name. It cleans up names such as "01. Artist - Title [site.com]" and tries several readings until one matches.
  3. Read the status line. Lyrics found means you're ready. If only lyrics without timings exist, or only timed lyrics for a version of different length (a radio edit, a remaster), Deus says so instead of putting the words at the wrong moments.
  4. Pick a format (9:16 for Shorts, TikTok and Reels, 16:9 for YouTube, 1:1 for posts) and a visual: Magic, a single preset or a preset chain.
  5. Press Render video.

The words go over whatever visual the video uses, and the visual effects treat them the same way as in the player. In 9:16 the beam fits the width of the frame, so long words aren't cut at the sides.

No lyrics found? Bring your own

  • An .lrc file. Pick a lyrics file with timings in Render › Lyrics. Plain line times work; word times (<mm:ss.xx> stamps inside a line) make the beam follow every word. The dialog has an example file.
  • Mark up by hand (Pro), with the Mark up lyrics button. Paste the words, play the track and press Space at the start of every line or every word. Backspace undoes a tap. Play it back, click a line to tap again from there, shift everything a little if you were early or late, then use it for the video or save it as an .lrc file.
  • Time automatically with Whisper (Pro). The Whisper speech recognition model listens to the vocals and times the words for you. It runs in your browser, on the graphics card when it can: the track never leaves your computer, and only the model is downloaded, once. If you pasted the words, they keep your spelling and lines and only get Whisper's times. Then check it and fix any line by tapping.

Tips for lyric clips

  • Use music you have the rights to, such as your own songs or licensed tracks. Deus doesn't record Spotify or Yandex Music; renders come from your own file.
  • Pick a calm visual for wordy songs. The beam reads best over darker presets with less detail. XY Lyrics as a single preset makes the whole video an oscilloscope writing the song.
  • Keep the frame clean. In a Magic render you can hide the preset name card and the list of active effects, so only the visual and the words are on screen.
  • Check the timing in the player first. Marking up and playing back takes a few minutes and saves a render.

Karaoke on each music service

Step-by-step guides: Spotify karaoke on your computer, synced lyrics for YouTube Music and Yandex Music karaoke.

Is it free?

Lyrics in the player and on Spotify and Yandex Music are free, and so is rendering lyric videos with found lyrics or your own .lrc file; free videos carry a small Deus watermark. Deus Pro, a one-time purchase, removes the watermark and adds the markup editor with Whisper.