Upload lyric_sync/__init__.py
Browse files- lyric_sync/__init__.py +17 -0
lyric_sync/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
lyric_sync — Automatic perfect song lyric acquisition and synchronization.
|
| 3 |
+
|
| 4 |
+
Pipeline:
|
| 5 |
+
1. Identify song (AcoustID fingerprinting + transcription fallback)
|
| 6 |
+
2. Separate vocals (Demucs htdemucs_ft)
|
| 7 |
+
3. Transcribe with word-level timings (WhisperX)
|
| 8 |
+
4. Fetch reference lyrics (LRCLIB / syncedlyrics)
|
| 9 |
+
5. Align transcript onto reference lyrics (sequence alignment)
|
| 10 |
+
6. Refine timings via audio onset/offset analysis (librosa)
|
| 11 |
+
|
| 12 |
+
Output: Word-level synchronized lyrics with sub-10ms precision.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
__version__ = "0.1.0"
|
| 16 |
+
|
| 17 |
+
from lyric_sync.pipeline import LyricSyncPipeline
|