libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayDelphi.TEchoEffect Record

Echo effect structure.

Pascal
TEchoEffect = record
  LeftDelay: Integer;
  LeftSrcVolume: Integer;
  LeftEchoVolume: Integer;
  RightDelay: Integer;
  RightSrcVolume: Integer;
  RightEchoVolume: Integer;
end;
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. 

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr