[PD] [tabread4~] sample offset...

IOhannes m zmoelnig zmoelnig at iem.at
Wed Aug 16 13:33:28 CEST 2006


Tas Pas wrote:
> Hi list,
> 
> Is there a way to set the begining of a file to be played with 
> [tabread4~], to other position  than the start of the file?
> 

???
[tabread4~] reads the samples from a table according to the index it 
gets via its inlet.
if you read the table with a signal-ramp ([line~], [phasor~]) from 
0..44100 you get the 1st second. if you read the samples 44100..88200 
you get the 2nd second, and so on.

so you have to offset the index-signal somehow.
when you are using [line~] you could just send it [44100, 88100 1000( to 
achieve this.

a more general approach would be to use [+~ 44100] (or whatever offset 
you like) just before the signal goes into [tabread4~]

mfgad.sr.
IOhannes




More information about the Pd-list mailing list