capture object
i'm trying to save osc data as it comes in to a float box by using the capture object, however with the limitation being 512 values I'm getting around 4 seconds worth of data before it overwrites it, which is kinda rubbish.
is their any way to stack the capture objects or write a new file every 512 values? any help at all would be amazing.
You could use the [mtr] object instead. Although it has multi-track recording and playback capabilities, you could use only one track [mtr 1].
I don't follow, i need the osc data to be stored externally for excel. its not signal data i need stored its numerical.
i was using the capture object with the write message for this.
never used the mtr object before/
mtr doesn't deal with signals, otherwise I guess it would be called mtr~, it records any kind of message, such as ints or floats.
You can then write the resulting data to a text file easily imported in Excel.
im getting no data from a continuous float going into the left input with a record message also going into the left input and when i send the write message the file is blank. i cant work out how this object works?
now the text file has this nonsense in it ptrack Q Zqfloat $là@ †q$>ÖÝ@ ‚q$†Šá@ †q$ÎÝ@ †q$V.à@ ˆq$
i simply want to store incoming float values and store more than 512 of them, is this beyond Max??
thanks tobiasros but that didnt help me. very frustrating problem.
Start by using the Help File. Use the drop-down menu at the left.
Choose Record
Move the first slider to the left randomly.
Choose Stop
Choose Play.
The slider choose repeat the slider movement.
Now Choose Write
In the Save As dialog choose "Text File".
Does it work?
thanks for all your help, i'm going to use the text object, it writes a float every 0.13 seconds which is ample for my needs.
i appreciate all your help.
one way with using capture, but jit.matrix + maybe jit.fprint would be more comfortable...
The capacity of the capture object is set with its first argument. (See object help and reference pages.)
The data to be recorded in mtr must go in the inlets to the right of the first inlet, not the first inlet. (See object help and reference pages.)
One can store floats in a jit.matrix with a 'setcell' (or in this case, 'setcell1d') message.
thanks for this, i understand first argument sets the size of capture but no matter what i put in there it was always 512.
needs to be a power 2 number. i'm a total thicko.
many, hundreds of thanks to everyone.
"$là@ †q$>ÖÝ@ ‚q$†Šá@ †q$ÎÝ@ †q$V.à@ ˆq$
i think it looks bootiful.
-110
when i send the write message the file is blank. i cant work out how this object works?
____________________________________
Love life, stay healthy and enjoy every day
http://www.mmolive.com/
http://www.mmohome.com/