Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 35 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,52 @@
# Lyrics Sync

A [Slopsmith](https://github.com/got-feedback/feedback) plugin that generates time-synced LRC lyrics files using Whisper forced alignment against isolated vocals stems.
A [feedBack](https://github.com/got-feedback/feedback) plugin for authoring and
time-aligning song lyrics: generate synced timing with Whisper forced
alignment against an isolated vocals stem, or hand-edit with tap-to-time and
waveform drag-editing.

## How it works

### AI alignment

1. Select a sloppak song that has split stems (vocals track required)
2. Paste or upload plain text lyrics
3. The plugin sends the vocals stem to your [Slopsmith Demucs Server](https://github.com/byrongamatos/slopsmith-demucs-server) for Whisper forced alignment
4. Preview the timestamped result, then download as `.lrc` or save directly into the sloppak for playback display

Because sloppak songs already have an isolated vocals track from Demucs separation, alignment accuracy is significantly better than aligning against a full mix.
3. The plugin sends the vocals stem to your [feedBack Demucs Server](https://github.com/byrongamatos/slopsmith-demucs-server) for Whisper forced alignment
4. Preview the timestamped result, then download as `.lrc`, save directly into the sloppak, or open it in the manual editor to fix anything alignment got wrong

### Manual editor

Click **Open Editor** once a song is selected — it loads that song's existing
lyrics for correction, or starts empty for authoring from scratch. Click
**Edit Manually** on an alignment preview to review/fix the result before
saving.

- **Tap-to-time** — play the song and tap Space along with the vocal; each
tap stamps the next syllable's start time and closes the previous one's
duration, so a whole verse can be timed in one pass
- **Waveform drag-editing** — syllable blocks are laid over the stem's
waveform; drag a block to move it, drag an edge to resize it, double-click
to edit its text. Blocks snap to neighbouring edges (hold Alt to bypass)
- **Seed from text** — paste plain lyrics to create untimed syllables; mark
syllable splits within a word with `/` (e.g. `won/der/ful`)
- **A–B loop + speed control** — loop a phrase and slow playback down while
timing a tricky section
- **Undo/redo**, and a stem picker for switching between the vocals track and
the full mix

## Features

- **Line, word, and syllable granularity** — choose the level of timing precision
- **Line, word, and syllable granularity** for AI alignment — choose the level of timing precision
- **Language hint** — optional language code to improve accuracy for non-English lyrics
- **LRC export** — standard `[mm:ss.xx] line` format compatible with any LRC player
- **Save to song** — writes synced lyrics into the sloppak manifest so they display during playback via the lyrics toggle
- **Preview panel** — review timestamps before exporting
- **Save to song** — writes synced lyrics into the sloppak so they display during playback via the lyrics toggle. Directory-form sloppaks are rewritten in place; zip-form `.sloppak` files are re-zipped (with a one-time `.bak`) so edits land in the distributable file, not just the extraction cache
- **Preview panel** — review AI-aligned timestamps before exporting or saving
- **Manual editor** — tap-to-time, waveform drag-editing, and text seeding for authoring or correcting lyrics by hand

## Requirements

- A running [Slopsmith Demucs Server](https://github.com/byrongamatos/slopsmith-demucs-server) with the `/align` endpoint (v2+)
- The demucs server URL must be configured in Slopsmith settings
- Sloppak songs with split stems (use the Sloppak Converter plugin with Demucs splitting enabled)
- The manual editor works on any sloppak — no external service required
- AI alignment additionally needs a running [feedBack Demucs Server](https://github.com/byrongamatos/slopsmith-demucs-server) with the `/align` endpoint (v2+), configured in feedBack settings, and split stems on the song (use the Sloppak Converter plugin with Demucs splitting enabled)

## Install

Expand All @@ -32,4 +55,4 @@ cd plugins
git clone https://github.com/got-feedback/feedback-plugin-lyrics-sync.git lyrics_sync
```

Restart Slopsmith and the plugin will appear in the Plugins dropdown.
Restart feedBack and the plugin will appear in the Plugins dropdown.
4 changes: 2 additions & 2 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"id": "lyrics_sync",
"name": "Lyrics Sync",
"version": "1.0.2",
"version": "1.1.1",
"private": false,
"nav": {
"label": "Lyrics Sync",
"screen": "lyrics-sync"
"screen": "plugin-lyrics_sync"
},
"screen": "screen.html",
"script": "screen.js",
Expand Down
Loading
Loading