Skip to topic | Skip to bottom
Note: Included topic Gulli.WebTopBar? does not exist yet
Gulli
Gulli.ProtoGullerr1.1 - 02 Jun 2005 - 21:11 - TWikiGuesttopic end

Start of topic | Skip to actions

ProtoGuller

first thoughts

ProtoGuller tails logfiles and sends the log data to a Gulli-driven sound generator. sound should be morphable between a peep-like 1:1 audio-projection of events happening and a more twingled sound processor where logfile-events tend to control paramters abstracted some layers away from a direct sound manipulation.

LogSnarfer

the tail command seems suitable to get timely information from the logfile(s). theres a command switch where one can set the update-intervall to lower than a second (the default).

a sample syslog:

May 28 00:55:54 zwei ippl: port 43587 UDP datagram from 62.116.13.18
May 28 00:55:54 zwei last message repeated 2 times
May 28 00:55:54 zwei ippl: www connection attempt from 62.116.31.110
May 28 00:55:57 zwei ippl: www connection attempt from 200.42.110.177
May 28 00:55:57 zwei ippl: www connection attempt from 200.42.110.177
May 28 00:55:58 zwei ippl: port 43587 UDP datagram from 62.116.13.18
May 28 00:55:59 zwei ippl: www connection attempt from 200.196.60.25
May 28 00:55:59 zwei ippl: port 43587 UDP datagram from 62.116.13.18
May 28 00:55:59 zwei ippl: webcache connection attempt from 127.0.0.1
May 28 00:55:59 zwei ippl: mysql connection attempt from 62.116.31.110
May 28 00:56:00 zwei ippl: www connection attempt from 200.196.60.25
May 28 00:56:01 zwei last message repeated 7 times
May 28 00:56:01 zwei ippl: port 43587 UDP datagram from 62.116.13.18
May 28 00:56:01 zwei ippl: port 43587 UDP datagram from 62.116.13.18
May 28 00:56:01 zwei sm-mta[6152]: h4RMtsMH006152: ruleset=check_rcpt, arg1=<office@url.co.at>, relay=MG009050.user.veloxzone.com.br [200.165.9.50] (may be forged), reject=550 5.7.1 <office@url.co.at>... Relaying denied. IP name possibly forged [200.165.9.50]
May 28 00:56:01 zwei ippl: www connection attempt from 200.196.60.25
May 28 00:56:02 zwei last message repeated 3 times
May 28 00:56:03 zwei sm-mta[6152]: h4RMtsMH006152: lost input channel from MG009050.user.veloxzone.com.br [200.165.9.50] (may be forged) to MTA after rcpt
May 28 00:56:03 zwei sm-mta[6152]: h4RMtsMH006152: from=<61y375sg7@aol.com>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=MG009050.user.veloxzone.com.br [200.165.9.50] (may be forged)
May 28 00:56:03 zwei ippl: www connection attempt from 200.196.60.25

data should be "normalized" in some way. there are some fields common to all entries: date/time hostname program name.

some entries are from the syslogd(?) last message repeated.., --- MARK --- etc.

all other data has to be parsed protocol-specific. the LogSnarfer has to "know" syslog entries from mail, kernel, etc daemons. not too hard, but some work.

the ruby language should be interesting to use. sick of perl code. there is already RubyOSC.

sound engine structures

try out a system based on jack. there is a dummy alsa driver which seems to work with jack. arecord or a hacked jackrec could pipe into lame/shoutcast. there is a shoutcast ruby module as well (whatever this can do). the big question: how stabel is such a system?

a headless supercollider with a commandline sclang and a custom library with an autostart main-startup method doing the osc processing would be a desirable platform, me thinks.

also a more advanced spatial processing would be interesting. we should have a 5.1 surround set ready by the time this wunderbare extigy device starts working on all 6 channels. there are a bunch of supercollider ambisonic ugens.

here is documentation for the jackrec sample client (not really easy stuff because of the thread twingling with a seperate disk write thread. should be possible to adapt: http://userpages.umbc.edu/~berman3/

sound itself could be a distinction between oscillators and effects units. in a jack-based system it would be possible to have these modules in two different sound engines (or more for that matter).

-- Main.andi - 28 May 2003
to top


You are here: Gulli > ActivityLog > ProtoGuller

to top

Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback