sudo pacman -S mp3splt
2. usage
mp3splt input_file begin_time end_time -o output_file
time format: minutes.seconds[.hundredths]
sudo pacman -S mp3splt
mp3splt input_file begin_time end_time -o output_file
sudo pacman -S lame flac
flac -dc input.flac | lame -h - output.mp3
at 23:00 2005-09-15
at> /usr/local/bin/alarm
at> ..
at> # multiple commands can be executed at same time
at> ..
at> <EOT> # pressing CTRL + D means save and exit
atq #lists the user's pending jobs
# dom = Day of Month
# dow = Day of Week
# m h dom mon dow command
42 07 * * 1-5 /usr/local/bin/alarm
# run xterm to execute mplayer in another window
# with the parameter, display 0 you can quit playing easily,
# the parameter -loop 0 means repeat forever.
/usr/bin/xterm -display :0 -bg black -fg white \
-e /usr/local/mplayer -loop 0 filename.mp3
/usr/bin/mplayer -loop 0 filename.mp3
pkill mplayer