Kyma Forum
  Kyma Support
  sonification of data streams

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   sonification of data streams
photonal
Member
posted 08 July 2008 04:56         Edit/Delete Message   Reply w/Quote
having worked in a banking environment and following the current financial crisis, i've been toying with the idea of sonifying finance data. The traders often had multiple screens (sometimes up to six!) displaying various applications and data sources but I never encountered any audio cues, it was all done visually.
This would provide additional info to a trader of a particular financial attribute being watched (or heard!). One could imagine generating inharmonics when an attribute declines (like a falling index or bear market) or soothing harmonics for example when a share price rises.

So, although I can scan a text file (Text to Pitch) I haven't been able to read a stream of dynamic data. Is there a way in Kyma to do this? I've been creating a test stream by doing a "tail -f /var/system.log >> /Users/Andrew/Documents/system.txt" but Text to Pitch seems only to read it through once and then stop. I'd like to do the "tail -f" unix command in kyma - is this possible?

thanks, andrew

IP: Logged

garth paine
Member
posted 08 July 2008 05:05         Edit/Delete Message   Reply w/Quote
FWIW, I do a lot of realtime data sonification of sensors, bio-data, gestures etc - I use Max to get the data in an OSCulator to send it to Kyma as a stream - works well and you can record data streams and build a playback system (simulation) if necessary for development purposes in Max very easily

Cheers, Garth

IP: Logged

photonal
Member
posted 08 July 2008 05:21         Edit/Delete Message   Reply w/Quote
thanks garth for the infos - i don't have MAX though, I was hoping Kyma could do this natively. Maybe I can stream a 'tail -f' into OSCulator and from there into Kyma?

IP: Logged

robertjarvis
Member
posted 08 July 2008 05:52         Edit/Delete Message   Reply w/Quote
Hi Andrew,

Great idea! Maybe you might also be interested in this: http://www.blackshoals.net/ . Perhaps Lise might be able to share some of her technical discoveries...? (Mention I recommended her to you, if you like!)

Best wishes,


Robert

[This message has been edited by robertjarvis (edited 08 July 2008).]

IP: Logged

SSC
Administrator
posted 08 July 2008 08:48         Edit/Delete Message   Reply w/Quote
Andrew, Maybe you could use perl (or C or Java) to package the data into OSC packets (http://opensoundcontrol.org/guide-osc-libraries). Then you could use OSCulator (http://www.osculator.net) to send those streams to Kyma over FireWire where you could use them as live controllers.

Another alternative would be to create a Kyma Tool that continuously reads from the text file you are continuously writing. You might have to reopen the file once you reach the end, but you could keep reading it even as it is changing. (Any time you want to use Smalltalk dynamically, rather than before the Sound starts playing, the Tool is the way to go).

IP: Logged

photonal
Member
posted 08 July 2008 09:04         Edit/Delete Message   Reply w/Quote
@SSC : thanks for the pointers! i'll explore some more and see what i can come up with.

@robert : very interesting project, would be great to see a trading floor move into a planetarium in order to check on their positions and financial risk!!

IP: Logged

tuscland
Member
posted 08 July 2008 18:19         Edit/Delete Message   Reply w/Quote
Hey photonal,

Yes, I think doing a script to convert text to OSC and send it to OSCulator is the easiest way to go. If you are comfortable with this language, I would recommend python, for which you can find an OSC class easily on the net (http://pypi.python.org/pypi/SimpleOSC/).
Perl also has an implementation, here : http://search.cpan.org/dist/Net-OpenSoundControl/

Best,
Cam

IP: Logged

photonal
Member
posted 16 July 2008 14:53         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by tuscland:
...I would recommend python, for which you can find an OSC class easily on the net (http://pypi.python.org/pypi/SimpleOSC/).

The indentation thing in python is really awful!!

apart from that, it seems quite straight forward to get OSC communication going - thanks (my hack is slowly taking shape)

[This message has been edited by photonal (edited 16 July 2008).]

IP: Logged

SSC
Administrator
posted 16 July 2008 15:16         Edit/Delete Message   Reply w/Quote
Are you hearing lots of rapidly declining attributes?

IP: Logged

photonal
Member
posted 17 July 2008 08:32         Edit/Delete Message   Reply w/Quote
actually, i'm getting rapidly increasing numbers of compilation errors!!

but hope to crack it (this year!)

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c