![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: sonification of data streams |
photonal Member |
![]() ![]() ![]() 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 |
![]() ![]() ![]() 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 |
![]() ![]() ![]() 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 |
![]() ![]() ![]() 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,
[This message has been edited by robertjarvis (edited 08 July 2008).] IP: Logged |
SSC Administrator |
![]() ![]() ![]() 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 |
![]() ![]() ![]() @SSC : thanks for the pointers! ![]() @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 |
![]() ![]() ![]() 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/). Best, IP: Logged |
photonal Member |
![]() ![]() ![]() quote: 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 |
![]() ![]() ![]() Are you hearing lots of rapidly declining attributes? IP: Logged |
photonal Member |
![]() ![]() ![]() 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 |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.