Daily Gyan
Low on Fat. High on Gyan.
Showing posts with label Audio. Show all posts
Showing posts with label Audio. Show all posts

In case you are like me, you have experienced the violent urge to rip apart your computer cabinet and pull out that tiny internal speaker every time the Linux terminal/vi beeps at you. Tab beeps, backspace beeps, every stupid action in vi causes it to mock at you with that silly beep. Well it's time to show who is the real master.
In case you haven't noticed, the beep doesn't come from the system's big external speakers. It is from a speaker that is inside your cabinet which according to me should be used solely by BIOS. So today we are going to disable that little speaker.

Temporarily disabling the system beep


sudo rmmod pcspkr

For Debian/Ubuntu users open a terminal and run the above command. For CentOS/Redhat/RHEL/Fedora Linux log-in as root and then run rmmod pcspkr

Permanently disabling the system beep


For Debian/Ubuntu based systems :
sudo echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist

For CentOS/Redhat/RHEL/Fedora Linux users, run
echo "alias pcspkr off" >> /etc/modprobe.conf

as root

Read More......


Want to extract the audio of your favorite musical video, but stuck because you use Linux? Just fire up the terminal and hit shmooze:


ffmpeg -i my_video_file.avi extracted_audio.mp3



Well, in the linux world, it's a pity if you don't give an alternate way to do stuff. So here it is:
mplayer -dumpaudio my_video_file.avi -dumpfile extracted_audio.mp3


This technique can be used to extract audio from AVI, MPG and FLV files.

Photo by Peter Fuchs

Read More......