<font color="#cc0000"><font>Thanks that fixed it<br></font></font><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 2:16 AM, Claude Heiland-Allen <span dir="ltr">&lt;<a href="mailto:claude@mathr.co.uk" target="_blank">claude@mathr.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10/10/12 12:51, Rick T wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greets All<br>
<br>
I was looking for a way to shift arrays (permutation) by samples<br>
</blockquote>
<br></div>
(permutation generally refers to something more general than shifting or rotating, more like shuffling a deck of cards than cutting it)<br>
<br>
Personally I keep all my vline~ in [0..1] and use maths to manipulate.<br>
<br>
Especially because (vanilla&#39;s, zexy has a better one)b [wrap~] wraps to [0..1], and could be help do what you need:<br>
<br>
[0, 1 1000(<br>
 |<br>
[vline~]<br>
 |<br>
[+~ 0.25]  &lt;-- this value in [0..1] too, modulatable at signal rate<br>
 |<br>
[wrap~]<br>
 |<br>
[*~ table size here]<br>
 |<br>
[tabread4~ your table hear]<br>
<br>
will play the table wrapped around<br>
starting with the last 3/4 then first 1/4<br>
<br>
To convert between samples and [0..1], elementary arithmetic helps.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Claude<br>
-- <br>
<a href="http://mathr.co.uk" target="_blank">http://mathr.co.uk</a><br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</font></span></blockquote></div><br>