Archive for the ‘Sound’ Category

Using MPlayer as a music/guitar trainer

Say you are interested in figuring out how to play a blues lick in a video that somebody posted on YouTube. Here’s what you do:

Download the video to your computer using one of Firefox’ many video download extensions (e.g. Video DownloadHelper). Then fire up a terminal window and type

mplayer -af scaletempo -speed 0.5 '~/Desktop/myvideo.mp4'

This will open MPlayer playing the video at half speed (‘-speed 0.5’) while preserving the pitch. Of course, you can use values other than 0.5.

Categories: Sound, Video

Turn off the annoying system beep

January 24, 2010 Leave a comment

Sitting in the library or classroom with your laptop and the annoying system beep is causing all heads to turn and people give you dirty looks? Simply unload the pcspkr kernel module:

sudo modprobe -r pcspkr

If you want to remove it for good, add the line

blacklist pcspkr

to /etc/modprobe.d/blacklist.

Categories: Hacks, Sound