Graphing
I feel as though this should be a really easy answer and I am just looking over it. I am importing live values (XYZ) from a program (OPTI track- unimportant) into MAX 6. I have already figured out how to determine the aceleration, velocity and frequency with in the program. My goal how ever is how to graph these numbers in real time into a graph wile saving the data to an exportable txt document. If i can get it to graph, and record? the data I wouldn't necessarily need the .txt. but it would be nice. I can seem to find a streaming way to do this. Any and all help would be fantastic! thanks!
You can graph your data with multislider (in line scroll or point scroll mode). Or convert them into an audio stream and use plot~ - it depends on the kind of graph you need.
To record your data, I'd use mtr and write a text file.
hth
aa
I have been playing around with multi slider and the only downfall that i am having is that it will only display one number. If it could stream with 2 separate numbers it would be perfect. are there any benefits that i would gain in this problem converting it to audio?
I will check out the mtr.
Thank you for the response, I am incredibly frustrated at this point.
about multislider: you can!
the reason for converting your values to audio would be taking advantage of plot~, which is a very advanced graphing tool. it all depends on which kind of graphical representation you need...
LIFE SAVER!!! Thanks Dude! I am just looking for a scrolling one like this. I think I may be able to make this work. Now if i can export the data as a .csv i will be home free.
you can use [text] to store the numbers, one group per line, and use the "tab" message to separate them. I haven't had the best of luck using commas, but the "tab" and "cr" messages should be all you need. Then you can open in Excel or similar to convert to csv if needed, or just to view the results.
I wouldn't use [mtr] for this particular application unless you need the delta times between the values...if they're coming in a constant stream, just use [text] with one line per group, and you're assuming they come at a constant rate.
of course, [mtr] is really cool for automation and playback though :)