10-21-2009, 07:42 AM
Random Noises in Linux.
By iintens - brought to you by the iintens blog
One of the awesome things about *NIX is that everything is a file, most of your devices can be found inside the /dev directory usually- your sound card is usually /dev/dsp - You can do lots of stuff keeping this in mind, Today I'm going to show you how to send random data straight to your sound card using /dev/urandom (A random number generator).
Basically that'll use the dd tool to send whatever /dev/urandom is spitting out directly to your sound card (/dev/dsp). Type in the command and get ready for epic!
Yea, All you heard was static, so out of this you have pretty much done nothing useful, but it's still a good party trick?
I wonder what would happen if you pushed crap at your graphics card ;)
By iintens - brought to you by the iintens blog
One of the awesome things about *NIX is that everything is a file, most of your devices can be found inside the /dev directory usually- your sound card is usually /dev/dsp - You can do lots of stuff keeping this in mind, Today I'm going to show you how to send random data straight to your sound card using /dev/urandom (A random number generator).
Code:
# dd if=/dev/urandom of=/dev/dsp
Basically that'll use the dd tool to send whatever /dev/urandom is spitting out directly to your sound card (/dev/dsp). Type in the command and get ready for epic!
Yea, All you heard was static, so out of this you have pretty much done nothing useful, but it's still a good party trick?
I wonder what would happen if you pushed crap at your graphics card ;)