[LAU] Re: That must suck. For me it's about beauty --musicisjustone path

Ken Restivo ken at restivo.org
Fri Apr 6 13:21:07 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Apr 05, 2007 at 10:05:47PM -1000, david wrote:
> Ken Restivo wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >On Thu, Apr 05, 2007 at 06:26:11PM -0400, Paul Davis wrote:
> >>On Thu, 2007-04-05 at 12:19 -1000, david wrote:
> >>>Paul Davis wrote:
> >>>>On Thu, 2007-04-05 at 11:57 -1000, david wrote:
> >>>>
> >>>>>>Well, there is a Linux program that will read the entire contents of a
> >>>>>>hard drive as though it were one big audio file.  So I guess we have
> >>>>>>no more need for musicians, because that would be a collection of sine
> >>>>>>waves of various frequencies, and that's all it takes.
> >>>>>What's the name of that program? I want to listen to my /home folder! 
> >>>>>;-)
> >>>>cat(1)
> >>>Cat to what?
> >>cat /dev/hda1 > /dev/dsp^H^H^H^H^H^H^H^H/dev/snd/pcmC0D0p
> >>
> >>to listen to ~:
> >>
> >>	find ~ | xargs cat > /dev/snd/pcmC0D0p
> >>
> >
> >Now, if I wanted to be a truly modern musician/artist, I'd hack up a bash 
> >script something like:
> >
> >	dd if=/dev/hda bs=1024 count=1M | lame --cbr 128 - mydisk.mp3
> 
> Cute, lots of high-pitched chirps and static sounds, some bouncing 
> around between stereo sides. No discernible difference between dd and cat.


Heh, I sent that without actually trying it. It sounds to me like a lot of glitch music. And I kind of like the panning noise that starts it off:

http://www.restivo.org/misc/mydisk.mp3

Also, adjusting the line a bit:

	dd if=/dev/hda bs=1024 count=10000 | lame --preset cbr 128 - mydisk.mp3

And actually the dd should probably include a skip= parameter with a random number, so that it's not always starting from block 0.

I used dd instead of cat so as to include the "count" parameter, so that the file doesn't include the whole hard disk, just a minute or two of it. I suppose one could use "head -c 1000000"  or "tail -c 1000000"  too.

Paraphrasing the late great Bill Hicks: "Pick your own command line, and have fun with the joke".

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFGFoGDe8HF+6xeOIcRAvq+AKDWn2FPmueVGsosDYEH68/ZmO6U/ACgkWzV
cPgL7U9NR8mU9SySQO+k9tQ=
=ptmW
-----END PGP SIGNATURE-----



More information about the Linux-audio-user mailing list