capture object

    Aug 31 2012 | 3:09 pm
    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.

    • Aug 31 2012 | 3:23 pm
      You could use the [mtr] object instead. Although it has multi-track recording and playback capabilities, you could use only one track [mtr 1].
    • Aug 31 2012 | 3:47 pm
      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/
    • Aug 31 2012 | 4:01 pm
      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.
    • Aug 31 2012 | 4:18 pm
      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?
    • Aug 31 2012 | 4:25 pm
      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??
    • Aug 31 2012 | 4:36 pm
      thanks tobiasros but that didnt help me. very frustrating problem.
    • Aug 31 2012 | 4:58 pm
      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?
    • Aug 31 2012 | 5:20 pm
      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.
    • Aug 31 2012 | 5:25 pm
      one way with using capture, but jit.matrix + maybe jit.fprint would be more comfortable...
    • Aug 31 2012 | 11:06 pm
      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.
    • Sep 01 2012 | 11:17 am
      thanks for this, i understand first argument sets the size of capture but no matter what i put in there it was always 512.
    • Sep 01 2012 | 11:20 am
      needs to be a power 2 number. i'm a total thicko.
      many, hundreds of thanks to everyone.
    • Sep 01 2012 | 12:56 pm
      "$là@ †q$>ÖÝ@ ‚q$†Šá@ †q$ΐÝ@ †q$V.à@ ˆq$
      i think it looks bootiful.
    • Sep 03 2012 | 3:24 am
      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