Skip to content
Closed
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
70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Bug report
description: Report something broken or unexpectedly behaving in this FeedBack repo.
title: "[Bug]: "
labels: ["bug", "needs triage"]
body:
- type: markdown
attributes:
value: |
Use this for reproducible failures. Include the smallest chart, plugin state, or workflow that shows the issue.
- type: textarea
id: summary
attributes:
label: Summary
description: What is happening?
placeholder: Describe the problem in one or two sentences.
validations:
required: true
- type: dropdown
id: area
attributes:
label: Area
options:
- screen.js / runtime behavior
- settings.html / settings persistence
- plugin reload or idempotency
- FeedBack core integration
- performance during playback
- documentation or packaging
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: What should someone do to see the issue?
placeholder: |
1. Open FeedBack...
2. Enable/open...
3. Play/import/change...
4. See...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual behavior
validations:
required: true
- type: textarea
id: validation
attributes:
label: Useful validation
description: What should be checked when this is fixed?
placeholder: Reload the plugin, open it from FeedBack, test during playback, and check console errors.
- type: input
id: environment
attributes:
label: Environment
placeholder: Browser/OS, FeedBack version or commit, plugin version, Docker image, etc.
- type: textarea
id: notes
attributes:
label: Additional notes
description: Logs, screenshots, chart files, console output, or related PRs/issues.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Roadmap or planning question
url: https://github.com/orgs/get-flashbacks/projects
about: Use the relevant GitHub Project board for roadmap-level planning when available.
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Feature request
description: Suggest a new capability or workflow improvement.
title: "[Feature]: "
labels: ["enhancement", "needs triage"]
body:
- type: textarea
id: problem
attributes:
label: User problem or opportunity
description: What workflow gap does this solve?
placeholder: When practicing or authoring in FeedBack, I want...
validations:
required: true
- type: dropdown
id: area
attributes:
label: Area
options:
- screen.js / runtime behavior
- settings.html / settings persistence
- plugin reload or idempotency
- FeedBack core integration
- performance during playback
- documentation or packaging
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed behavior
description: What should change from the user's perspective?
validations:
required: true
- type: textarea
id: implementation_notes
attributes:
label: Implementation notes
description: Mention relevant files, plugin lifecycle concerns, API/data format changes, or performance risks.
- type: textarea
id: acceptance
attributes:
label: Acceptance criteria
description: What must be true for this to be considered done?
placeholder: |
- [ ] The user can...
- [ ] The change survives reload/reopen...
- [ ] No console/server errors appear...
validations:
required: true
- type: textarea
id: references
attributes:
label: References or mockups
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Task or improvement
description: Track cleanup, refactors, documentation, research, or non-bug work.
title: "[Task]: "
labels: ["task", "needs triage"]
body:
- type: textarea
id: goal
attributes:
label: Goal
description: What should be accomplished?
validations:
required: true
- type: dropdown
id: area
attributes:
label: Area
options:
- screen.js / runtime behavior
- settings.html / settings persistence
- plugin reload or idempotency
- FeedBack core integration
- performance during playback
- documentation or packaging
validations:
required: true
- type: textarea
id: scope
attributes:
label: Scope
description: What is included, and what is intentionally out of scope?
- type: textarea
id: checklist
attributes:
label: Checklist
description: Break the work into concrete steps.
placeholder: |
- [ ] ...
- [ ] ...
validations:
required: true
- type: dropdown
id: priority
attributes:
label: Priority
options:
- low
- medium
- high
validations:
required: true
- type: textarea
id: validation
attributes:
label: Validation
placeholder: Reload the plugin, open it from FeedBack, test during playback, and check console errors.
67 changes: 67 additions & 0 deletions .github/workflows/pullfrog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED
name: Pullfrog
run-name: ${{ inputs.name || github.workflow }}
on:
workflow_dispatch:
inputs:
prompt:
type: string
description: Agent prompt
name:
type: string
description: Run name

permissions:
contents: read

jobs:
pullfrog:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Run agent
uses: pullfrog/pullfrog@v0
with:
prompt: ${{ inputs.prompt }}
env:
# add at least one provider API key
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GOOGLE_GENERATIVE_AI_API_KEY:
${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
XAI_API_KEY: ${{ secrets.XAI_API_KEY }}
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}

# for Amazon Bedrock (https://docs.pullfrog.com/bedrock)
# AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: us-east-1
# BEDROCK_MODEL_ID: <bedrock-model-id>

# for Google Vertex AI (https://docs.pullfrog.com/vertex)
# VERTEX_SERVICE_ACCOUNT_JSON: >-
# ${{ secrets.VERTEX_SERVICE_ACCOUNT_JSON }}
# GOOGLE_CLOUD_PROJECT: my-project
# VERTEX_LOCATION: global
# VERTEX_MODEL_ID: <vertex-model-id>

# for any OpenAI-compatible endpoint — LiteLLM, Cloudflare AI Gateway,
# self-hosted vLLM (https://docs.pullfrog.com/openai-compatible)
# OPENAI_COMPATIBLE_BASE_URL: https://litellm.example.com/v1
# OPENAI_COMPATIBLE_API_KEY: ${{ secrets.OPENAI_COMPATIBLE_API_KEY }}
# OPENAI_COMPATIBLE_MODEL: <model-id>
# both limits are required — set them to the real limits of that model
# OPENAI_COMPATIBLE_CONTEXT: "128000"
# OPENAI_COMPATIBLE_MAX_OUTPUT: "16384"
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.0",
"version": "1.1.4",
"private": false,
"nav": {
"label": "Lyrics Sync",
"screen": "lyrics-sync"
"screen": "plugin-lyrics_sync"
},
"screen": "screen.html",
"script": "screen.js",
Expand Down
Loading