|
WaveFileCombine(WaveFile) 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.207-beta
Syntax Public Shared Function Combine (
ParamArray waveFiles As WaveFile()
) As WaveFile
GSF.Media.WaveFile.Combine = function(... waveFiles);
View SourceParameters
- waveFiles WaveFile
- Wave files to combine
Return Value
WaveFileCombined wave files.
Remarks
This overload "equalizes" the volume of each source wave file. To specify a desired volume for
each combined wave file use the Combine(WaveFile, Double) overload that takes
a series of volumes as a parameter.
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