I need someone to modify the cdDSMixer component by Carlos Barbosa to enable true monaural (mono) sound. Simply, the Left and Right channels must be mixed together so that either the left channel and the right channel have both left and right channels mixed. Left and/or Right = Left + Right.
Nothing else in the component should be changed as it still must function as originally intended but with the mono setting as below. (The peak graphing should properly represent mono sound as well.
Once my channel is created by:
FilePlayer := [login to view URL](AudioMixer);
I need to be able to do the following:
[login to view URL] := 'My MP3 or Wav Audio File';
[login to view URL] := True; //Add this and code to play mono sound. Of course false for stereo sound. Or something similar.
[login to view URL]; //Current way to play. We could even do:
[login to view URL]
These are just suggestions that I would like. It will take some audio file knowledge to figure out how to combine tracks into stereo.
The component is based on DirectX. The component is dsmixer.zip.
Another component is a sample which uses wave files only but shows how they load a wave file as a monaural, (not stereo) file. This second file is [login to view URL] and again shows how they combine a wave (.wav) only file left and right channels into mono and may help.
The components are freeware. You may download them from:
ftp://[login to view URL]
(Too big to upload to [login to view URL])