by KerimF » Fri Feb 01, 2019 10:52 am
Attachments:
M_RoadToHell_ChrisRea1.wav(517.18 KiB)
S_RoadToHell_ChrisRea1.wav(1.13 MiB)
Lately, I try implementing the algorithm (stereo to mono above) on the stereo sample "S_RoadToHell_ChrisRea1.wav".by KerimF » Fri Feb 01, 2019 1:55 pm
M(2x-1) = ( L(x) + R(x) ) / 2
M(2x) = ( R(x) + R(x+1) ) / 2
This will preserve the original audio file length. But, as I hope, it will preserve its contents better.
Due to the world's sanctions against the people I was born among, the last genuine PC complier I was able to buy is the C compiler of the BorlandC 3.1 package.
Using this C compiler for DOS, a simple exe could be created to convert a stereo wav file to mono if the format of the original wav file is well known.
By using the "Free Hex Editor Neo", I was able copying the raw file, as hex, to "Excel".
I noticed there are two headers; at the beginning and at the end. So my first step is isolating them from the 'audio' data block and searching, as possible, about the meaning of 'all' their various parts (I already know some of them).
From the top header, one audio sample is 32 bits (4 bytes). But I wonder if its format is 2's complement or float.
Thank you.
Kerim