libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayVB.TEchoEffect Structure

Echo effect structure.

Visual Basic
Public Structure TEchoEffect
  Public nLeftDelay As Integer
  Public nLeftSrcVolume As Integer
  Public nLeftEchoVolume As Integer
  Public nRightDelay As Integer
  Public nRightSrcVolume As Integer
  Public nRightEchoVolume As Integer
End Structure
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