
ANIM TO SAMPLE POS (1 and 2)
--------------------------------

This module allows quick and easy setting of integer sample positions (sample start, sample end, loop points, etc. of the Sample Osc or other similar modules using sample-accurate integer positioning) by a knob or other normalized control, computing automatically the integer sample position in function of the total sample length, i.e position = (sample_length -1) * normalized_control.

ED Sampling modules use integer sample positions by design, unlike similar sampling modules of the past, either private or published, which made use of normalized (float or volts) positioning. This solution offers the advantage of unambigue sample-accurate positioning without rounding errors. Unfortunately, when not using the Sample Display and the Sample Markers, computing the integer sample position from a normalized control in function of the total sample length can be tricky for the average user.

This module was introduced to make such tasks very simple and is supplied in two versions, (1) for receiving Sample Length from a DSP Wav Loader, Audio Recorder or other DSP source, and (2) for receiving Sample Length from a GUI pin like the GUI Wav Loader.

It incorporates two integer Parameters, thus acting like two Patch Memories: one for storing an integer sample length, coming for example from an Audio Recorder or Wav Loader; one for storing an integer position, which can be easily adjusted with a normalized control (like a knob or slider) connected to the Anim Pos pin.

The DSP Sample Position output can be connected to any DSP sample position input pin of either the Sample OSC or other modules accepting integer sample positions.

The GUI Sample Position pin, being bi-directional, can be used to connect a Text Entry for displaying and manual entering of the adjustable sample position stored in the internal Parameter.

NOTE: everytime a new Sample Length is received, the previously stored Sample Position is maintained and a new Anim Pos is recomputed, and NOT vice-versa. Whenever the previous Sample Position resulted larger than the new Sample Length minus one, it will be clipped.


Please DO NOT CONNECT ANY FURTHER PATCH-MEMORIES TO THIS MODULE, they would have no purpose other than causing possible conflicts.

