
RESET MARKERS
-------------

This GUI module simplifies enormously the task of automatically setting the waveform markers positions when a new sample is loaded, recorded or simply when the user wants to reset them to a default; a task which would otherwise require advanced SynthEdit wiring skills, unreliable tricks and several third party modules.

The four INT pins on the left side are output-only pins and must be connected to the Patch Memories holding, respectively, sample Start, sample End, Loop Start and Loop End positions.

The two float pins accept a percentage of the sample size, to specify to which default position the loop markers shall be placed with respect to the whole sample.

Everytime a new non-zero value is set on either Sample Length In pins (e.g from the WavSampleLoader or the AudioRecorder), if the bool pin Auto is set to TRUE, suitable default values will be sent to the four INT position pins automatically: the Start marker will be placed at position 0, the End marker at position [length -1] and the Loop Start and Loop End markers at the specified position as a percentage of the sample size.
The same operation can be accomplished manually everytime the Reset bool pin is set to TRUE.

Two Sample Length In pins have been provided for convenience, one on the left and one on the right. Their behaviour is identical and the two pins are NOT internally connected.