copying between buffers


    Oct 16 2006 | 2:07 pm
    i want to be able to copy data from one buffer~ into another and I would also like to specify which section gets copied. For example I record 30 seconds of audio into buffer A but I might only want the first 10 seconds to get moved over to buffer B. I also want the transfer of data to be fairly instantanious i.e I don't want to have to play the audio into the second buffer. I have already looked at the "mxj buf.Op" object and even though the "copyInto" command moves audio from one buffer to another it seems that you can't specify a length. Any ideas? Many thanks... :)

    • Oct 16 2006 | 2:34 pm
    • Oct 16 2006 | 2:51 pm
      I'm not using jitter, only max/MSP.
    • Oct 16 2006 | 3:32 pm
      Here is my quick fix using Uzi and Peek~.
    • Oct 16 2006 | 3:54 pm
      Hi Barry,
      There is an external called bufcpy~ which I use a lot. I think this is
      what you need. I use it in conjunction with the "max.externals" by
      maximilian Marcoll
      Falk
      Am 16.10.2006 um 16:08 schrieb Barry Farrimond:
      >
      > i want to be able to copy data from one buffer~ into another and I
      > would also like to specify which section gets copied. For example I
      > record 30 seconds of audio into buffer A but I might only want the
      > first 10 seconds to get moved over to buffer B. I also want the
      > transfer of data to be fairly instantanious i.e I don't want to have
      > to play the audio into the second buffer. I have already looked at the
      > "mxj buf.Op" object and even though the "copyInto" command moves audio
      > from one buffer to another it seems that you can't specify a length.
      > Any ideas? Many thanks... :)
      >
      >
    • Oct 16 2006 | 5:32 pm
      sadly I am on an intel mac and there doesn't seem to be a version of bufcpy~ available for this platform. Many thanks though!
    • Oct 16 2006 | 5:46 pm
      Quote: Nick Inhofe wrote on Mon, 16 October 2006 09:32
      ----------------------------------------------------
      > Here is my quick fix using Uzi and Peek~.
      ----------------------------------------------------
      Many thanks Nick I think thats sorted it!!
    • Oct 16 2006 | 11:50 pm
      check out Fredrik Olofssons hack for mxj buf.Op. it does what you want
      and is faster than the peek~/uzi method.
      http://www.fredrikolofsson.com/pages/code-max.html
      /m
      2006-10-16 kl. 16.08 skrev Barry Farrimond:
      >
      > i want to be able to copy data from one buffer~ into another and I
      > would also like to specify which section gets copied. For example I
      > record 30 seconds of audio into buffer A but I might only want the
      > first 10 seconds to get moved over to buffer B. I also want the
      > transfer of data to be fairly instantanious i.e I don't want to have
      > to play the audio into the second buffer. I have already looked at the
      > "mxj buf.Op" object and even though the "copyInto" command moves audio
      > from one buffer to another it seems that you can't specify a length.
      > Any ideas? Many thanks... :)
      >
    • Aug 31 2013 | 10:40 pm
      Belated thank you, Nick Inhofe, for the buffer copy patch.
      Here's an updated Max 6 version (probably works in 5 as well), which allows for using the mouse in the waveform window of buffer A to select the bits to be copied - in favor of dialing in number fields.
    • Sep 01 2013 | 3:57 am
      this thread is really old.. but for the sake of completeness:
      There is the duplicate message, followed by crop. (maybe not the most efficient in some cases but really simple and for many cases the most appropriate I think)