But reading from the same point you are writing to (after having written) would be equivalent to just connecting it up straight with cables (ie. no delay)...? Maybe I've got the wrong end of the stick here. If tabwrite~ is 5 samples BEHIND tabread~ then this would give you a delay of (TABLENGTH-4) samples, I think. But for a loopsampler you would not need to use a table to output the CURRENT audio, only the repetitions, so there should be no issue with reading the table WHEN it is being written to. Then again if I have misunderstood your problem, can you provide some more info on what you need to do? Cheers,
Matt
-=-=-=-=-=-=-=-=-=-=-=- http://www.loopit.org -=-=-=-=-=-=-=-=-=-=-=- ----- Original Message ----- From: "Peter Plessas" plessas@sbox.tugraz.at To: pd-list@iem.at Sent: Monday, July 11, 2005 11:38 AM Subject: [PD] simultaneous read and write in tables
Hi List,
I need some ideas for reading and writing to a table at the same position with audio signals. I need to create a looping sampler which is based on tables, not delays. So i need to write to a table with tabwrite~ and read from the exactly same position with a tabplay~, though this gives me strange behavior (weird audio, distortion, etc). So i figure it is a problem between tabwrite~ and tabplay~ accessing the same sample in the table... Sadly, it has to be exactly the same, as i then feed my playback signal into the tabwrite~ again, and a minimum lag would add up with each repetition. As i have tabwrite~ write 5 samples behind tabplay~, audio is fine, but it's not the same position (see above). I know that xsample from Thomas Grill has some of this functionality, but it's not quite what i need.
Any hints?
regards, Peter