Language LabLanguage Lab
Upload a Korean track, get the lyrics transcribed, translated and broken down word by word with grammar notes.传一首韩语歌,拿到转写的歌词、翻译,以及逐词拆解和语法注解。
- Stack技术栈
- TypeScript · React · Gemini API · IndexedDB
Built for a selfish reason: I wanted to understand the Korean tracks I was listening to at the level of individual particles, not just the gist.
Drop in an audio file and it returns the original lyrics, a translation, a sentence-by-sentence pairing, a per-word breakdown with pronunciation, the grammar points worth knowing, notes on what sounds natural, and the mistakes learners usually make with those constructions.
The one interesting part
Analysis responses were cached in IndexedDB keyed by a hash of the input.
LLM calls over a four-minute song aren't cheap or fast, and while studying you
reopen the same track twenty times. Caching turned a 20-second wait into an
instant load and cut the API bill to roughly nothing.
Archived alongside the DAW when this site became a portfolio.
做它的理由很自私:我想把在听的那些韩语歌听懂到助词的级别,而不只是听个大概。
丢一个音频文件进去,它会返回原歌词、一份翻译、逐句对照、带发音的逐词拆解、 值得知道的语法点、哪些说法听起来才自然,以及学习者在这些结构上通常会犯的错。
唯一有意思的地方
分析结果按输入的哈希做 key 缓存在 IndexedDB 里。对一首四分钟的歌调 LLM
既不便宜也不快,而学习的时候你会把同一首歌翻来覆去打开二十遍。
加了缓存之后,20 秒的等待变成瞬间加载,API 账单也基本降到零。
在这个站变成作品集的时候,和 DAW 一起归档了。