Hi Board,
This is a simple patch which demonstrates a linear interpolation implementation of tabread and tabread~, which might be helpful to those at the beginning of their Pd journey. The [wrap]/[wrap~] objects are used to find the decimal of the requested index location, which is then used as a sort of cross-fader between the points at index location n and index location n+1.
These abstractions would be nice for those who are looking to array-based sequencing and are not fond of tabread4/tabread4~'s mangling of values at integer index values (ie: approximation error at integer index points).
Pd experts, if their is a more efficient way to do this, I'd like to know for my own knowledge.
Cheers!