[EMAIL PROTECTED] wrote:
> i don't have them with me, but uploaded a text file containing patterned
> 1s and 0s (produced under high load by a 'fork bomb' i wrote).
Be interested to know how to import or convert this kind of data into
different formats...
Here's a few of my attempts:
# convert ascii 1 and 0 characters to pgm
fold -b -w698 whileout1 | asciitopgm 698 698 > whileout1.pgm
# convert ascii 1 and 0 characters to bitmap
fold -b -w698 whileout1 | head -698 | atobm -chars 10 > whileout1.bitmap
# convert ascii 1 and 0 characters to wav audio (warning, dc takes a while)
dc -e '2i?P' < whileout1 | sox -r2400 -c2 -b -u -t .raw - whileout1.wav
dc -e '2i?P' < whileout1 | sox -r1200 -c2 -b -u -t .raw - whileout2.wav
# play ascii 1 and 0 characters as raw audio
dc -e '2i?P' < whileout1 | bplay
# play raw audio at random speeds forever
dc -e '2i?P' < whileout1 > whileout1.bin; while true; do { bplay -S -s `echo $((
$RANDOM % 14400 +1 ))` whileout1.bin; }; done
I put them up at
ftp://object.thesame.net/public/transfer/transforms.tar.gz
> will up some small samples later too.
Me too. I've got a little series of music samples that might be fun to
play with...