conversion from wave to mp3
-
hi all i am undergoing a project which converts wave file to Mp3. Inorder to design this audio format converter i am considering the mp3 algo which has following steps:- 1.divide the data into frames such that each frame lasts for 1 sec. so by the field in header named bits per sample,i have divided the frames.for eg if bits per sample is 8 ie there will be 8 bits or 1 char in each frame and so on........... in addition to this there are following steps:-- 1.if two notes are played at a single time and they are exactly same,only one of them shoudl be retained. 2. if two notes are playing at the same time,but one is of higher freq and one is of lower,only higher one shoudl be retained. i have traversed the wave header and accesed the data,but that data is in ascii form. so on that data how can apply the above 2 steps. the wave header is also not giving me any help. any help is welcome
-
hi all i am undergoing a project which converts wave file to Mp3. Inorder to design this audio format converter i am considering the mp3 algo which has following steps:- 1.divide the data into frames such that each frame lasts for 1 sec. so by the field in header named bits per sample,i have divided the frames.for eg if bits per sample is 8 ie there will be 8 bits or 1 char in each frame and so on........... in addition to this there are following steps:-- 1.if two notes are played at a single time and they are exactly same,only one of them shoudl be retained. 2. if two notes are playing at the same time,but one is of higher freq and one is of lower,only higher one shoudl be retained. i have traversed the wave header and accesed the data,but that data is in ascii form. so on that data how can apply the above 2 steps. the wave header is also not giving me any help. any help is welcome
puneet_cha wrote:
i have traversed the wave header and accesed the data,but that data is in ascii form.
Huh? There may be some ASCII there, but there's more. WAVE PCM soundfile format[^] Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder