problems trying to record sfplay~ into a buffer
hi
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
robin
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)
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
--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com
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?
robin
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
--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com