This is G o o g l e's cache of http://211.92.88.40/~minus273/page.php/ShellScripts as retrieved on 9 Aug 2005 04:57:21 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/u/KennedySchool?q=cache:4NIrETUqkQsJ:211.92.88.40/~minus273/page.php/ShellScripts+site:211.92.88.40&hl=en&ct=clnk&cd=32&ie=UTF-8


Google is neither affiliated with the authors of this page nor responsible for its content.

ShellScripts -- Minus273's Homepage

Minus273's Homepage -> ShellScripts

mp3toogg

It's a tool converting mp3s to oggs.
这是一个把mp3转成ogg的工具。

#!/bin/sh
M2O_FN=`echo $1|sed 's/.mp3//'`
madplay -o wave:.wav $1
if oggenc -q 0 --resample 11025 --downmix .wav
then
echo 'Double Channel'
else
oggenc -q 0 --resample 11025 .wav
fi
rm .wav

5 Newest Blogs
Aug 8 2005 TsinghuaMormons: Mormons dominating Tsinghua foreign language department?/摩门教统治清华外语系?
Aug 6 2005 WanderersNachtlied: A translation of Wanderers Nachtlied/《流浪者之夜歌》的翻译
Aug 5 2005 DieSont: The Song of Counter-revolutionaries in Cultural Revolution/文革的嚎歌zz
Jul 29 2005 HavaMal: Havamal Translation/翻译:高话
Jul 28 2005 CoolCursing: Cool cursing/骂人到了这境界

Back to FrontPage | Edit this page