
SAMPLING 2 / SAMPLE NAVIGATOR
-----------------------------


Navigates thru a v2 sample retrieving sample values either statically or dynamically.

Technically, this module can be considered the Audio equivalent of the Sample Value DSP module, but position is interpolated and can be modulated at audio rate.

With *INTELLIGENT* usage, this module can be used to produce scratch-like effects, pitch modulations, random-walk playback or similar effects.

As long as a valid v2 sample is present on the Sample pin, the sample frame value whose position is specified by the Position pin is sent to the Audio output.

Depending on the hidden Position Mode pin, the specified sample position can be:

-Absolute, i.e. 0 V for first sample, 10 V for sample at position #10, 3000 V for sample at position #3000, ...
 
-Relative, normalized to 10 V, i.e. 0 V for first sample, 10 V for last sample.

The reading position is clamped to the physical sample boundaries, i.e [0, length-1].
To use Absolute positioning, sample length must be known of course.

Output audio is set Streaming or Static depending on the Position pin status.

Anti Aliasing is performed both for reading at fractional positions (up-sampling interpolation) and for reading with jumps larger than one sample (down-sampling). The filter used can be chosen with the Anti Alias pin (please refer to SAMPLING_V2.pdf for the available filters.)
NOTE: to avoid unnecessary CPU load, jumps larger than 16 samples won't be filtered any further and aliasing may occur.



NOTE: to avoid clicks and DC offset with audio applications, you may want to add a DC blocking filter at the output, like a stock 1-Pole HPF set to 0. This wasn't done internally not to break consistency (i.e. if you set position N, you also expect the value of sample frame #N).

WARNING: since position is expressed as a 32 bits floating point value (a higher accuracy is not possible with SynthEdit pins), positioning accuracy will be gradually lost with sample size. You are therefore advised NOT TO USE THIS MODULE WITH SAMPLES LONGER THAN FEW SECONDS !



 
