Apologies for spam; we've changed our policy by requiring approval for accounts, and deleted all existing spam and user - thanks for your help flagging content. We continue to test our forums and Vanilla software, aiming for release early in 2013. If you need to give us feedback outside the forum, contact us via http://createdigitalmusic.com/contact/ or on Facebook
Detect loop point using tabread4~
  • Hi all,

    I'm trying to fire a bang exactly when a sample is looped.

    Here's my setup: I'm using a phasor~ to read data out of an array using tabread4~. And I'm using snapshot and metro to let me know current position that file. Basically, metro pings the snapshot object on an interval and gives me a reading of where we are. 

    I'd love it if an event would fire when we've reached the end of the array. But as far as I can tell, there's no such event. 

    And, because metro runs on an interval, I don't have sample accuracy. Snapshot will not reliably give me the zero position - it'll just give me something close to zero, as it's dependent on the metro interval, which has no relation to when the sample actually loops. (Hope that makes sense!)

    I've been able to make this work decently using expr, but again, it's not sample accurate.

    Is there a way to send a bang precisely when a sample is looped using tabread4~?

    Thanks...
  • Since this question is really about Pd itself, you'll get an answer sooner if you send it to pd-list.
  • ok thanks