

SAMPLING 2 / SAMPLE SAVER (DSP & GUI)
-------------------------------------

Saves the standard BLOB v2 sample(s) present on the input pin(s) as a 16, 24 bits PCM or 32 bit FLOAT wavefile.

Depending on how input pins are connected, either a mono, stereo or multi-channel wav file will be saved.

All input samples should be the same size, otherwise shorter samples will be zero padded or longer samples will be trimmed, depending on the pin setting order (the last received sample dictates the size).

Operation is always triggered by the Trigger pin. However, if Auto Trig is enabled, triggering also occurs automatically every time any File Name pin is set.




USING A FILE REQUESTER MODULE

An annoying feature of SynthEdit prevents a pin being updated whenever it is set with the same value. This prevents the module being triggered when Auto Trigger is enabled and the same filename is set, for example to rewrite a same sample. To circumvent this issue, a better File Requester module is included in EDM package (GUI/FileOperations) providing an additional User OK pin, which is set to true (and then to false) everytime the user presses the OK button in the file requester.
This pin can be connected to the Trigger pin of the Wav loaders and savers.


PIN DESCRIPTION

.Auto Trig (Bool) - triggers automatic saving when any Filename pin is set

.Filename In (Text) - Filename for the wav file to be saved.  Two identical pins are provided for convenience on
                      the GUI version, one on the left and one on the right side

.Sample Rate In (Int) - Supply here the sample rate to be saved in the wavfile (DSP VERSION ONLY: specify any
			value <=0 to use automatically the working sample rate)

.Loop Start In / Loop End In: you can provide here the loop points (integer) to be saved inside the wav file in
                              the SMPL chunk (only one loop supported)

.Bits Choice / Bits Item List: standard list entry pins (GUI version) or enum pin (DSP version) to select the
                               saving bit depth (16, 24 bits PCM or 32 bits FLOAT) 

.Trigger (Bool) - Always triggers saving, if a valid filename string is supplied




                      
