- AVS
- A challenge: non-music visualizations
Archive: A challenge: non-music visualizations
graemeklass
23rd July 2007 04:03 UTC
A challenge: non-music visualizations
Hi all,
Just throwing this out there as a challenge.
I have a stream of data captured in a CSV file format from some sensors. If you look at the stream of data that I get, it kinda looks like music data.
I thought it might be cool to create a visualization based on this data.
Anyone interested in working on this with me? Just PM me.
Regards,
Graeme.
graemeklass
25th July 2007 23:39 UTC
clarification
By "non-music visualisation" I meant that the visualisation from the data can be put into a form that can be fed into AVS - and thus produce the different types of moving visualisations.
Hope that clarifies it a bit :)
Yathosho
26th July 2007 00:05 UTC
who's providing the ape to read your csv file? won't happen, sorry!
Mr_Nudge
26th July 2007 08:47 UTC
how about a csv to mp3 converter?
graemeklass
26th July 2007 10:08 UTC
Originally posted by Mr_Nudge
how about a csv to mp3 converter?
Funny you say that. I am getting a contractor to write a CSV to mp3 converter.
I will keep you updated.
Yathosho
26th July 2007 17:27 UTC
which reminds me, a friend of mine converted the moves of a chessgame to midi-data. sounded crazy.
graemeklass
27th July 2007 01:26 UTC
here is a sample mp3 file created from the sensor data.
http://www.klassicventures.com/dataus_slow.zip
J.Melo
27th July 2007 01:44 UTC
Hm, sounds odd. So, what kind of specific visualization did you want to create to view this data?
graemeklass
29th July 2007 07:51 UTC
Originally posted by J.Melo
Hm, sounds odd. So, what kind of specific visualization did you want to create to view this data?
Haha, yeah, it does sound odd. Basically it's a portion of a signal obtained from accelerometers of my movement on treadmill. You will notice that it kinda get louder and quicker. That's me walking/running faster on the treadmill.
When I looked at the data it looked like sound data. I thought it might be cool if that can be a basis for a visualisation.
In terms of *what* visualisation I am looking for, i dunno - I thought the creative geniuses here could come up with something :)
I have inputted the mp3 into Winamp and had a look at some of standard visualisations and it looked pretty cool. A unique look of my time on the treadmill!
Mr_Nudge
5th August 2007 06:26 UTC
that does sound very interesting.. just one thing i noticed that you might want to look at fixing. the entire audio stream is 90 degrees out of phase. i don't know if you know anything about sound, but basically sound waves vary between -1 and +1, 0 being silence. your stream however is zero'd at +1 and your audio peaks downwards towards 0. it's the same as the difference between a sin(x) and cos(x) graph, instead of starting at 0 and going up or down, you're starting at 1 and going down.
other than that, making a vis for this might be difficult because there are no distinct beats, so a lot of options go down the drain, still, someone might be able to come up with something.
graemeklass
6th August 2007 00:30 UTC
Good point Mr. Nudge. I'll see what my contractor can do.
FYI, I've just set up a new open source project on sourceforge. It's being reviewed and will keep you informed when it becomes active.
Reply if you are interested in being part of the development.
PAK-9
6th August 2007 20:42 UTC
Originally posted by Mr_Nudge
that does sound very interesting.. just one thing i noticed that you might want to look at fixing. the entire audio stream is 90 degrees out of phase. i don't know if you know anything about sound, but basically sound waves vary between -1 and +1, 0 being silence. your stream however is zero'd at +1 and your audio peaks downwards towards 0. it's the same as the difference between a sin(x) and cos(x) graph, instead of starting at 0 and going up or down, you're starting at 1 and going down.
What you have described is not a phase offset, it is an amplitude offset; Phase is the offset of the signal in time.
For example in avs if you make a superscope with points:
x=2*i-1;
y=sin(x*$pi);
offsetting the amplitude would be
x=2*i-1;
y=sin(x*$pi)+1; //add one to amplitude
...matching what you describe. On the other hand offsetting the phase would be
x=2*i-1;
y=sin(x*$pi+1); //add one radian (about 58 degrees) to phase