作者uranusjr (←这人是超级笨蛋)
看板iPod
标题Re: [爱碰] 学英文的技巧?!
时间Sun Apr 19 03:35:49 2009
※ 引述《mmmmmfff (仔宅)》之铭言:
: 恕删
: 我前两天刚好在准备英文口试,用了以下小技巧。
: 以下作法仅限mac,不过pc应该也有方法可以做到。
: 我把我要背的英文文章利用系统中的辅助语音念一次
: 逼真的Alex帮我念文章的同时打开garageband把alex念的录下来
You don't really have to do that...
Run this as AppleScript:
tell application "TextEdit"
open (choose file)
set theFileName to name of front document
set theText to every paragraph of front document
end tell
set soundLocation to (choose file name default name theFileName & ".aiff")
say (theText as string) saving to soundLocation
tell application "TextEdit" to quit
就行了, SpeechSynchronizer 本身就有存档功能
如果不是 txt 或 rtf 也可以, 自己把文件打开来全选, 执行这个:
--Part 1:
set soundLocation to (choose file name default name "clipboard.aiff")
--Part 2:
set theText to (the clipboard as string)
say theText saving to soundLocation
(Taken from "AppleScript: The Missing Manual" by Adam Goldstein)
: 然後共享成为itunes的一首歌。
: 把文章复制下来,去那首歌的简介贴上去当做歌词。
: 随便放个可爱的图片当专辑封面,就变成一首学习语言的歌罗。
: 这样一来在iphone上也可以轻松背文章,忘记怎麽拼还可以看一下歌词。
: 赞啦
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.132.100.141
1F:推 mmmmmfff :谢啦 高手 果然叫电脑录自己的声音很蠢 XD 04/19 03:44
※ 编辑: uranusjr 来自: 220.132.100.141 (04/19 03:58)
2F:推 yllan :Well, another one-liner: say xxx.txt -o xxx.aiff 04/19 04:16
3F:→ yllan :orz 反了,应该是 say -o xxx.aiff xxx.txt 04/19 04:18
4F:推 bag :推! 04/19 04:49