Switching

Normally when the subject switches to another sample, the currently playing sample stops and the another starts from beginning. In parallel switching the switching to another sample is done by cross-fading to the other sample and does not just jump to the start to the beginning of the sample. Useful in test where long samples are compared. Parallel switching can be used only with free sequence tests.

Normal switching

In normal switching when the subjects switches to another sample, the currently playing sample is stopped and the another starts from beginning.

Normal switching is selected by setting the sampleSwitching parameter in the test config file to 'normal':

   # set switching to 'normal'
   sampleSwitching=normal

Parallel switching

In parallel switching the switching to another sample is done by cross-fading to the other sample. Both samples are played at the same time and the sample position is the same in both samples.

Parallel switching is selected by setting the sampleSwitching parameter in the test config file to 'parallel':

   # set switching to 'parallel'
   sampleSwitching=parallel

Sample switch cross-fade type

The type of the cross-fade used in parallel swithing can be selected. Available types are linear fade and exponential (decibel linear) fade.

Cross-fade type is selected by setting the sampleSwitching.fadeType parameter in the test config file. Use value 'linear' or 'exp' to select linear or exponential fade. The default is 'linear'. Example:

   # set sample switching cross-fade type
   sampleSwitching.fadeType=linear

Sample switch cross-fade length

The length of the cross-fade in parallel swithing is selected with the sampleSwitching.fadeLength parameter in the test config file. The length of fade is in seconds. The default is 0.04 seconds (40ms). Example:
   # set sample switching cross-fade length in seconds
   sampleSwitching.fadeLength=0.04
The fade length was set to 40ms (0.04s).

Notes

Some notes about switching:
· Tests index · Document index ·

Last modified: Mon Jul 20 13:43:27 EEST 1998