Change/read echo delay

=> R0 = 2
R1 = new echo delay in milliseconds (0 for no change)

<= R0 = preserved
R1 = old echo delay in milliseconds



When pseudo stereo is enabled (see PlayIt_Config 0) a more realistic sound can be obtained for mono samples on stereo devices by playing the same sound on both channels but with a slight delay between them. The right channel trails R1 milliseconds (actually 1024ths of a second) behind the left. The upper limit on the delay depends on the frame rate of the output device - specifically the maximum delay in seconds is 2048 (frames) divided by the output frame rate in frames per second. ie 2048/outrate. This is about 0.1 seconds at 20kHz (normal sound system speed) and about 45ms at 44kHz.



The default is 20ms.



To actually enable and disable this feature configuration bit 5 needs to be set appropriately (see PlayIt_Config 0 bit 5).



This feature has no effect on stereo samples and changes to the echo delay do not take effect until the start of the next playback.


[ Parent ] [ Manual root ]


Created by SHtoHTML v1.20