Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. conversion from wave to mp3

conversion from wave to mp3

Scheduled Pinned Locked Moved C / C++ / MFC
designhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    puneet_cha
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • P puneet_cha

      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

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups