|
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.218-beta
Syntax GSF.Media.WaveFile.Combine = function(waveFiles, volumes);
View SourceParameters
- waveFiles WaveFile
- Wave files to combine
- volumes Double
- Volume for each wave file (0.0 to 1.0)
Return Value
WaveFileCombined wave files.
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