The Need

I like hearing Korean while an English YouTube video plays. It is the most useful thing TransLee does for me. I can look at the video and listen, without reading the screen.

But for a week this needed two phones. Phone A played the video. Phone B, with my earphones, read the translation out loud. It worked, but it was a hassle. I had to find a second phone, charge it, connect it, and keep both screens in order.

If you also have a “this needs two devices” setup, ask one more question before you accept it: what exactly do I need from the first device?

The Proof

Today I listen with phone A only. I open the video link, tick one box, and the video plays with no English sound. The Korean voice comes out of the same phone, in the same earphones. Phone B is in a drawer.

It was not a new invention. It was one checkbox, and the video is muted.

The Story

In my earlier post, I wrote that one phone cannot do this. That was true for the live mode, which listens to the video through the microphone. If phone A speaks Korean while the microphone is open, the microphone hears the Korean and tries to translate it again. Echo cancellation would also remove the English I want to translate. That is why I split the work across two phones.

Then I tried a different mode, which I had already built. In script mode, TransLee does not listen at all. It takes the YouTube captions, translates them, and reads the Korean sentences with the video’s timing. There is no microphone, so there is no loop.

I asked Claude whether I could drop phone B. The answers kept coming back around phone B, because the English sound seemed to be in the way. Two sounds from one phone, the video and the Korean voice, did not look like they could work.

So I pasted the question into an AI chatbot, away from Claude Code. The answer was short: mute the YouTube video while it plays. Then the only sound left is the Korean voice.

When I thought about it, the reason Claude kept needing phone B was my own missing sentence. I never said: I do not need to hear the English. I only said I wanted to hear Korean. A listener who wants both languages needs two sound paths. A listener who wants only Korean needs one. Claude could not know which listener I was, and I had not told it.

I do not want to blame the tool too much. The words “I do not need the English” never appeared in my prompts, so the plan it made was reasonable for what it knew.

💬 Prompt that worked “Is there really no way to run this without phone B? Please review the following opinion.” (and under it, I pasted the chatbot’s answer, which said to mute the video)

My next message, a few hours later: “Please implement option 1, and let me choose option 1 on phone A in the current feature.”

The How

1. Use script mode, not live mode. Script mode takes captions from the video (a small Python container on my NAS, with yt-dlp), translates them with DeepSeek, and keeps the translation in a cache. It never uses the microphone. That is the reason muting is safe.

2. Mute the player with the YouTube IFrame API. One call:

player.mute();
player.playVideo();

The video still plays and still shows the picture. Only the English sound is gone. Mobile browsers also try to pause one sound when another starts, so muting the video avoids that fight.

3. Read the Korean sentences from MP3 files. The phone’s built-in voice repeated sentences and lost its end signal, so I had already moved the voice to files made on the NAS (the same /tts service from my last post). In the new mode, phone A asks for the next three sentences ahead of time, plays them in an <audio> element, and chooses the speed from the real audio length:

speed = audio length / time left until the next sentence

I keep it between 1.0 and 1.6, so the voice does not get too fast. The position comes straight from the player, so there is no second phone to tell.

4. Add a checkbox. On the video page I added one box, “listen on phone A only.” When it is on, the video is muted, the MP3 reader runs on the same phone, and nothing is sent to phone B.

🗂 Claude.md Rule When asking for a feature, say what the user does not need as well as what they want. “Hear Korean” and “hear Korean and not English” lead to very different designs. State “I do not need X” in the first prompt.

Cost: nothing new. The voice is the free edge-tts service running on my NAS, the video is muted, and the DeepSeek translation is the same as before. I have no clean per-hour figure for DeepSeek.

What I want to improve next

  • On the first day of the new mode, the voice sometimes came late and then raced to catch up, and I noted that the text changed while the voice stayed silent for a while. I want to tune the timing so a late sentence is skipped rather than rushed.
  • edge-tts is an unofficial service, so Microsoft can change it. I want a second voice option ready.
  • I want to try it on longer videos and on other phones, and I want to test how it behaves when another app starts a sound.
  • Phone B can stay as an option for people who want to hear both languages. For me, the simple version won.