|   | WaveFileCombine(WaveFile, Double) Method | 
        
        
            Combines wave files together, all starting at the same time, into a single file.
            This has the effect of playing two sound tracks simultaneously.
            
        
        Namespace: GSF.MediaAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.257-beta
 Syntax
SyntaxPublic Shared Function Combine ( 
	waveFiles As WaveFile(),
	volumes As Double()
) As WaveFile
public:
static WaveFile^ Combine(
	array<WaveFile^>^ waveFiles, 
	array<double>^ volumes
)
GSF.Media.WaveFile.Combine = function(waveFiles, volumes);
Parameters
- waveFiles  WaveFile
- Wave files to combine
- volumes  Double
- Volume for each wave file (0.0 to 1.0)
Return Value
WaveFileCombined wave files.
 Remarks
Remarks
            Cumulatively, volumes cannot exceed 1.0 - these volumes represent a fractional percentage
            of volume to be applied to each wave file.
            
            Resulting sounds will overlap; no truncation is performed. Final wave file length will equal length of
            longest source file.
            
            Combining sounds files with non-PCM based audio formats will have unexpected results.
            
 See Also
See Also