Csound Csound-dev Csound-tekno Search About

[Csnd] GEN1 and table opcodes

Date2012-07-27 15:30
FromRoger Kelly
Subject[Csnd] GEN1 and table opcodes
I would like to be able to move a pointer around inside a GEN1 loaded soundfile.  I see tablei opcode can be use to do this, but the manual only shows access using k or i rate values in a loop.

How can I move around a pointer and play a portion using something like an 'a' rate index pointer?  I thought about using a phasor somehow and scaling the values for it from 0 to 1 as 0 to len table, but I am a bit lost.

Thanks.