Echo effect structure.
public struct TEchoEffect { public int nLeftDelay; public int nLeftSrcVolume; public int nLeftEchoVolume; public int nRightDelay; public int nRightSrcVolume; public int nRightEchoVolume; }
| 
Parameters  | 
Description  | 
| 
nLeftDelay  | 
Delay of left channel in milliseconds.  | 
| 
nLeftSrcVolume  | 
Percent of original volume in output for left channel.  | 
| 
nLeftEchoVolume  | 
Percent of echo volume in output for left channel.  | 
| 
nRightDelay  | 
Delay of right channel in milliseconds.  | 
| 
nRightSrcVolume  | 
Percent of original volume in output for right channe.  | 
| 
nRightEchoVolume  | 
Percent of echo volume in output for right channel.  | 
This structure specifies one echo effect. Hot it works:
You can combine original samples with delayed samples. Original samples are reduced to nLeftSrcVolume. Delayed samples are reduced to nLeftEchoVolume. And these samples are combined to output.
 Note: Be careful with volume percents.
 Note: Be careful with volume percents. 
| 
Copyright (c) 2010. Zoran Cindori -  All rights reserved. Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |