Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

awk

0 views
Skip to first unread message

Davorin Vlahovic

unread,
Oct 19, 2010, 8:20:12 PM10/19/10
to

awk 'function wl() {\
rate=4000; \
return int((rate/160)*(0.87055^(int(rand()*10))))}; \
BEGIN {\
srand(); \
wla=wl(); \
while(1) {\
wlb=wla; \
wla=wl(); \
if (wla==wlb) \
wla*=2; \
d=(int(rand()*10+5)*rate/4); \
a=0; b=0; c=128; \
ca=40/wla; cb=20/wlb; \
de=rate/10; di=0; \
for (i=0;i<d;i++) {\
a++; b++; di++; c+=ca; c+=cb; \
if (a>wla) \
{a=0; ca*=-1}; \
if (b>wlb) \
{b=0; cb*=-1}; \
if (di>de) \
{di=0; ca*=0.9; cb*=0.9}; \
printf("%c",c)}; \
c=int(c); \
while(c!=128) {\
c<128?c+=1:c-=1; \
printf("%c",c)};};}' > /dev/dsp

:D

--
Some men see things as they are and say: Why?
I dream things that never were and say: Why not?
-- Tatsuya Ishida

Luka Ćavara

unread,
Oct 20, 2010, 4:55:45 AM10/20/10
to

print " \033[1;38m" " ██▓▒░░" "\033[31m" " ♥ " "\033[38m" "░░▒▓██" "\033[0m"; \
};};}'


:P

--
Ali tko zabacuje strah Božji,
neće moći dugo ustrajati u dobru,
nego će brzo upasti u mreže
đavlove. (Thomas von Kempen)

Zlatko Đurić

unread,
Oct 20, 2010, 5:12:27 AM10/20/10
to
On 10/20/2010 10:55 AM, Luka Ćavara wrote:
> On 20.10.2010 02:20, Davorin Vlahovic wrote:

Blah! Trebam virtualku za isprobavat pizdarije.

--

Zlatko

Luka Ćavara

unread,
Oct 27, 2010, 8:42:39 AM10/27/10
to
On 20.10.2010 02:20, Davorin Vlahovic wrote:


awk '{ print "while playing press 3 timez Ctrl-C to kill"}' <<<""; \
sleep 2; echo "";sleep 2; echo ""; \
echo ""; echo""; echo""; \
trap "fg; trap - INT" 2; \

printf("%c",c)};};}' > /dev/dsp & \
dd if=/dev/dsp|xxd| \
sed 's/ \|\.\|.*://g'| \
sed 's/f\|7/█/g'| \
sed 's/8\|0/░/g'| \
awk '{ print "\x1b[31m" $0 \
"\x1b[37m" $0 \
"\x1b[34m" $0\
}'
;

0 new messages