The forum of documents and methods for study - Lượm lặt kiến thức

Tải file âm thanh MP3 từ trình Google dịch


Tổng số bài gửi : 624
Tiền xu Ⓑ : 1712
Được cảm ơn № : 25
Ngày khởi sự Ngày khởi sự : 12/05/2014
on 13th May 2015, 17:16
1. Tra cứu và tải trực tiếp tại

2. Sử dụng công thức địa chỉ"TEXT"

Trong đó
- XX: Ngôn ngữ

  • en: English
  • vi: Vietnamese
  • zh: Chinese
  • auto: Tự động

- TEXT: Văn bản


Được sửa bởi congdantoancau ngày 13th May 2015, 17:29; sửa lần 1.

Tổng số bài gửi : 624
Tiền xu Ⓑ : 1712
Được cảm ơn № : 25
Ngày khởi sự Ngày khởi sự : 12/05/2014
on 13th May 2015, 17:18

How to get MP3 audio recordings of your target language from Google Translate

The following instructions are a manual process to add audio from Google Translate, but you can also accomplish the same automatically for multiple cards at the same time using AwesomeTTS.
So I've been dabbling in Korean a bit and stumbled across a helpful suggestion on How to Study Korean: if you want to hear a word in your target language pronounced, you can go to Google Translate, copy and paste the word in, make sure your target language is selected, and then press the listen button to hear it.
While that has its uses, what I really wanted was a way to get an MP3 of that audio so I could add it to Anki for the Korean flashcards I'm making. Sure enough, there's a way to do that too.
With a little help from StackOverflow, it wasn't very hard to figure out how to pull this off. This was tested in Chrome, so your mileage in other browsers may vary.

  1. Copy and paste this into your browser's URL field:

  2. Replace XX with the two-letter ISO 639-1 code for your target language, which can be found here. Some common ones are "de" for German, "en" for English, "es" for Spanish, "fr" for French, "it" for Italian, "ja" for Japanese, "ko" for Korean, "pt" for Portuguese, and "zh" for Chinese.

  3. Replace TEXT with whatever text you want to hear.

  4. Press return. You should now be able to play the audio in the browser window. A couple examples:
    Code:"¿Dónde está el carro?""车在哪儿呢?"

  5. Right click in browser window and select "Save As…".

  6. Save your MP3 file wherever you like.

If you're looking to make a whole bunch of MP3s, as I am, you can use this Excel file to help you do that. It automatically generates the URL after you input the word and the word's language in the blue cells. In lieu of copying and pasting whole URLs, it's also pretty easy to just swap the TEXT part out as many times as needed.

Although it's also not that hard to get audio files from RhinoSpike, using Google Translate has the benefit of immediate gratification (no need to wait for someone to record something for you, or needing to make recordings yourself to get to the front of the recording queue). On the other hand, it's a computer voice, so while it works pretty well for short words or phrases, intonation and pacing will be a bit weird for longer selections of text.
    Flag Counter