When reading a file from a table using phasor~ and tabread4~, what is the best way to detect when you have reached the end of the table? I'd like to send a bang once the table has played through once so I can stop playback instead of looping. I'm sure there is a simple and accurate solution I'm overlooking. Thanks for the help!
-
Best way to detect the end of an array using phasor~ and tabread4~?
-
You'll might want to use [line~] instead of [phasor~] as it will ramp from 0 to 1 only once and then it will stay there. Not sure though about the math for the ramp time, but it shouldn't be very complicated.
-
Ahh, good call. Thanks alexandros, I'll give that a try.