Voder-Vocoder

The Log of Hal Canary

Navigation: Home | THE LOG | Log Archives | Resume | Contact Info | Public Key | SSL | Math Applets | Site Map | WP Backend | RSS2 | Atom

« …18 different colors… | A Proposal for a New VA Flag »

alarm

Here, I take a 10 second clip from “Whole Lotta Love”, 133 seconds
into the song, where Plant is orgasmily screaming and Page’s guitar is
doing the same. Then I increase the volume by a factor of 4. I then
reencode the wav as ALARM.mp3 and use it as the alarm sound for my egg
timer program.

FILE=~/Music/led_zeppelin/Led_Zepplin_-_BS_CD1_01_whole_lotta_love.mp3
lame --decode $FILE file.wav
sox file.wav trim.wav trim 133 10 vol 4
lame trim.wav ALARM.mp3
rm trim.wav file.wav
mv ALARM.mp3 ~/Music/

#!/bin/sh
# EGG TIMER.  #DTPD#
# ${HOME}/bin/timer
MINUTES=$1
echo ${MINUTES}:00
for M in $(seq -w $(($MINUTES - 1)) -1 0); do
    for S in $(seq -w 55 -5 0); do
	sleep 5 ; echo ${M}:${S}
    done
done
echo -e "\n\n\t\tALARM! ALARM! ALARM!\n\n"
exec mplayer ~/Music/ALARM.mp3 &> /dev/null

Hal Canary | Computers & Code | 2006-06-04 13:08:44 EDT
Permanent Link | No Comments

Comments are closed.

Copyright 1997-2007 by Hal Canary.
mailto: h3 at halcanary dot org
xmpp:halcanary@jabber.org
aim:halwcanary
http://halcanary.org