problems trying to record sfplay~ into a buffer

    Jun 15 2006 | 4:49 pm
    I'm having a bit of a problem with record~. I have an sfplay~ whose output i want to be able to capture into a buffer, but record~ doesn't seem to want to do it. I've had no problems before, but I recently started using a digi mbox2 as my primary soundcard, and I have a slight suspicion that it could be related. If somebody could take a look, I'd be grateful. sorry if this is blindingly obvious

    • Jun 15 2006 | 4:55 pm
      sorry - it was just that the buffer needed a length specified. i didn't post it in that patch, but i had been using -1 with no luck
      actually, this brings up a new question. -1 as the buffer size doesn't seem to work with record~, so does this mean there is no way that a buffer can be resized on the fly?
      robin (again)
    • Jun 15 2006 | 8:29 pm
      Your patch happily records the full length of zero seconds...
      Best is to start your patches with the helpfiles, they usually work, and you can copy bits and pieces into your own patches, modify them till they don't work anymore, and put them back into work, till you understand the interna...
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()
    • Jun 16 2006 | 10:14 am
      thanks stefan. I'm an idiot.
      rather than copy the part of the patch for inclusion in the list, I built it again, and neglected the argument -1 for the buffer length, which according to the helpfile lets it resize. if I want to achieve this using record~, is the only way to set a bigger buffer size than I think I will need?
    • Jun 16 2006 | 8:34 pm
      Yes, a record~ wich will grow while recording doesn't exist. If you want to do something like that, use sfrecord~ and then replace the file into a buffer~... Look into the quickrecord patch to see how to name soundfiles automatically...
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()