conv-mp3-mp3mono

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

conv-mp3-mp3mono

Post#1 by bigbass » 23 Jan 2012, 06:15

conv-mp3-mp3mono

I have some radio programs I listen to
and when I download the mp3's some are 70mb
and after running the script it gets reduced down to 6mb
so you can see quickly how fast you would fill up a mp3 player

for me the sound quality is fine and I can fit 10 times the amount of programs/songs
on the device

simple but effective DragNdrop
the original file is unchanged
a new file is made with a *.mono.mp3

Joe

Code: Select all

#!/bin/bash

#dragNdrop
# conv-mp3-mp3mono

A="$@"
NO_EXT_FILE=`echo "${A//.mp3/}"`
echo $NO_EXT_FILE
TITLE=`basename "$@"`



xterm  -geometry 40x30+150+40 -e lame  -b 32 -m m  $NO_EXT_FILE".mp3"


# rename mp3

mv $NO_EXT_FILE".mp3.mp3" $NO_EXT_FILE"_mono.mp3"