Вот таким развлекаюсь на работе…
#!/bin/sh
SOX=/usr/local/bin/sox
LAME=/opt/csw/bin/lame
ORIG=original.mp3
for i in 160 144 128 112 96 80 64 56 48 40 32 24 16 8 ; do
echo "$ORIG -> sample-$i.mp3"
$LAME --mp3input --decode $ORIG - | \
$SOX -p -t wav - -c 1 -t wav - trim 00:00:00.0 00:03:00.0 | \
$LAME -m mono -a -v --abr $i -o - sample-$i.mp3
done
…по работе. ![]()
![[del.icio.us]](http://plokodelika.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://plokodelika.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://plokodelika.com/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://plokodelika.com/wp-content/plugins/bookmarkify/google.png)
![[Kaboodle]](http://plokodelika.com/wp-content/plugins/bookmarkify/kaboodle.png)
![[MySpace]](http://plokodelika.com/wp-content/plugins/bookmarkify/myspace.png)
![[Slashdot]](http://plokodelika.com/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://plokodelika.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://plokodelika.com/wp-content/plugins/bookmarkify/technorati.png)
![[Yahoo!]](http://plokodelika.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://plokodelika.com/wp-content/plugins/bookmarkify/email.png)
