Compression/Decompression Wave File to MP3 and vice versa - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Compression/Decompression Wave File to MP3 and vice versa

Hello, everybody. Sorry to disturb you all.

Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able to record and playback real-time.

Children use this software at home and save their practice records in a single floppy disk. Then, children will bring the floppy disk with practice records inside when they return to our centre. There are 20 wave files that must be saved in a single floppy disk. Due to space insifficiency, one floppy disk is 1.44M in capacity.
Total size of 20 wave files = 20*188k = 3,760,000 bytes
Total floppy disk needed = (3,760,000)/1,440,000 = 2.6 floppy disks
But, I must save all the 20 wave files into a single floppy disk

Our problem is we are not able to save all 20 wave files in a single floppy disk. We cant afford a CD-RW for each child and we must use floppy disk. The solution is we have to compress the wave file to save the files in a floppy and decompress the files back to wave file in order to listen to how the children practice at home.

I am totally new to this as the software is written by one of my previous friend who worked together with me in a voluntary speech rehabilitation centre. We need this software to train children in the centre. I work part time there.

But, my problem is how to call any CODEC dll into correct place into my current project platform without causing any bugs? Please forgive me if I have asked a very silly question, I am sorry. After I have added the cpp and h files into my current project paltform, I dont know what should I do next.

My final destination is to save all 20 wave files in a single floppy disk. I didnt restrict that I must use compression/decompression methods but I dont know what else should I use.

Hope you can give me some guidances on how to do it or you please link me to pages that help me to do so. I promise I can learn as independent as possible but I really need your guidance at this very beginning, please.

Please, I really appreciate all your help.

Comments

  • IDKIDK Posts: 1,784Member
    : Hello, everybody. Sorry to disturb you all.
    :
    : Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able to record and playback real-time.
    :
    : Children use this software at home and save their practice records in a single floppy disk. Then, children will bring the floppy disk with practice records inside when they return to our centre. There are 20 wave files that must be saved in a single floppy disk. Due to space insifficiency, one floppy disk is 1.44M in capacity.
    : Total size of 20 wave files = 20*188k = 3,760,000 bytes
    : Total floppy disk needed = (3,760,000)/1,440,000 = 2.6 floppy disks
    : But, I must save all the 20 wave files into a single floppy disk
    :
    : Our problem is we are not able to save all 20 wave files in a single floppy disk. We cant afford a CD-RW for each child and we must use floppy disk. The solution is we have to compress the wave file to save the files in a floppy and decompress the files back to wave file in order to listen to how the children practice at home.
    :
    : I am totally new to this as the software is written by one of my previous friend who worked together with me in a voluntary speech rehabilitation centre. We need this software to train children in the centre. I work part time there.
    :
    : But, my problem is how to call any CODEC dll into correct place into my current project platform without causing any bugs? Please forgive me if I have asked a very silly question, I am sorry. After I have added the cpp and h files into my current project paltform, I dont know what should I do next.
    :
    : My final destination is to save all 20 wave files in a single floppy disk. I didnt restrict that I must use compression/decompression methods but I dont know what else should I use.
    :
    : Hope you can give me some guidances on how to do it or you please link me to pages that help me to do so. I promise I can learn as independent as possible but I really need your guidance at this very beginning, please.
    :
    : Please, I really appreciate all your help.
    :
    :
    Why not rar or zip it?
    MP3 isn't freeware, you have to download an external encoder, called lame. Search for lame encoder.
    XP computers are maneging zip files like normal folders.

    Happy coding wishes
    the one and only
    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

  • cindy_16051988cindy_16051988 Posts: 5Member
    : : Hello, everybody. Sorry to disturb you all.
    : :
    : : Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able to record and playback real-time.
    : :
    : : Children use this software at home and save their practice records in a single floppy disk. Then, children will bring the floppy disk with practice records inside when they return to our centre. There are 20 wave files that must be saved in a single floppy disk. Due to space insifficiency, one floppy disk is 1.44M in capacity.
    : : Total size of 20 wave files = 20*188k = 3,760,000 bytes
    : : Total floppy disk needed = (3,760,000)/1,440,000 = 2.6 floppy disks
    : : But, I must save all the 20 wave files into a single floppy disk
    : :
    : : Our problem is we are not able to save all 20 wave files in a single floppy disk. We cant afford a CD-RW for each child and we must use floppy disk. The solution is we have to compress the wave file to save the files in a floppy and decompress the files back to wave file in order to listen to how the children practice at home.
    : :
    : : I am totally new to this as the software is written by one of my previous friend who worked together with me in a voluntary speech rehabilitation centre. We need this software to train children in the centre. I work part time there.
    : :
    : : But, my problem is how to call any CODEC dll into correct place into my current project platform without causing any bugs? Please forgive me if I have asked a very silly question, I am sorry. After I have added the cpp and h files into my current project paltform, I dont know what should I do next.
    : :
    : : My final destination is to save all 20 wave files in a single floppy disk. I didnt restrict that I must use compression/decompression methods but I dont know what else should I use.
    : :
    : : Hope you can give me some guidances on how to do it or you please link me to pages that help me to do so. I promise I can learn as independent as possible but I really need your guidance at this very beginning, please.
    : :
    : : Please, I really appreciate all your help.
    : :
    : :
    : Why not rar or zip it?
    : MP3 isn't freeware, you have to download an external encoder, called lame. Search for lame encoder.
    : XP computers are maneging zip files like normal folders.
    :
    : Happy coding wishes
    : the one and only
    : [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]
    :
    :

    Hi, Niklas Ulvinge, thank you very much for your reply, appreciate.
    For your information, I cant use a third-party software that is 'outside' from my software such as 'Winzip' or 'Rar'. I need to call the CODEC dll from my software project platform.

    I have searched for the lame encoder website. It didnt mention about how to call the lame_enc.dll from my software. In the website section of "User Interface", it didnt mention how to call the dll, it only mentions what should be included in a software GUI whenever use lame.

    Can you please tell me how to call any codec dll from my software? Or if you are busy, can you please link me to the pages that have these details or guidance?

    Please, I really need your help. Please advise

  • cindy_16051988cindy_16051988 Posts: 5Member
    : Hello, everybody. Sorry to disturb you all.
    :
    : Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able to record and playback real-time.
    :
    : Children use this software at home and save their practice records in a single floppy disk. Then, children will bring the floppy disk with practice records inside when they return to our centre. There are 20 wave files that must be saved in a single floppy disk. Due to space insifficiency, one floppy disk is 1.44M in capacity.
    : Total size of 20 wave files = 20*188k = 3,760,000 bytes
    : Total floppy disk needed = (3,760,000)/1,440,000 = 2.6 floppy disks
    : But, I must save all the 20 wave files into a single floppy disk
    :
    : Our problem is we are not able to save all 20 wave files in a single floppy disk. We cant afford a CD-RW for each child and we must use floppy disk. The solution is we have to compress the wave file to save the files in a floppy and decompress the files back to wave file in order to listen to how the children practice at home.
    :
    : I am totally new to this as the software is written by one of my previous friend who worked together with me in a voluntary speech rehabilitation centre. We need this software to train children in the centre. I work part time there.
    :
    : But, my problem is how to call any CODEC dll into correct place into my current project platform without causing any bugs? Please forgive me if I have asked a very silly question, I am sorry. After I have added the cpp and h files into my current project paltform, I dont know what should I do next.
    :
    : My final destination is to save all 20 wave files in a single floppy disk. I didnt restrict that I must use compression/decompression methods but I dont know what else should I use.
    :
    : Hope you can give me some guidances on how to do it or you please link me to pages that help me to do so. I promise I can learn as independent as possible but I really need your guidance at this very beginning, please.
    :
    : Please, I really appreciate all your help.
    :
    :


    Sorry to disturb, May I ask?

    I was confused with the acm driver and as a newbie, I really coulndt implement it without any bug after finding the driver and doing the two conversions. I just want to call the third-party software.exe to help me do the compression and decompression part. Do I need to call the dll? Or, Can I just call the .exe from my software?

    Sorry for causing any confusion, I was not clear with dll before I put this thread, after I read the pdf about dll, I think that maybe I dont need to call dll but just call the exe.

    Please forgive me, I apologized for the trouble caused by me.

    Do you think it is possible to call any CODEC software exe from my software? Which one is easier for a newbie like me?

    But, I dont know how can I do so, do you mind to give me some guidance? Please, Please forgive me for my ignorance. I try my best in doing it. Hope you can teach me some. Please.

  • IDKIDK Posts: 1,784Member

    : Hi, Niklas Ulvinge, thank you very much for your reply, appreciate.
    : For your information, I cant use a third-party software that is 'outside' from my software such as 'Winzip' or 'Rar'. I need to call the CODEC dll from my software project platform.
    :
    : I have searched for the lame encoder website. It didnt mention about how to call the lame_enc.dll from my software. In the website section of "User Interface", it didnt mention how to call the dll, it only mentions what should be included in a software GUI whenever use lame.
    :
    : Can you please tell me how to call any codec dll from my software? Or if you are busy, can you please link me to the pages that have these details or guidance?
    :
    : Please, I really need your help. Please advise
    :
    :
    I really have no idea...
    This forum is rather dead, try asking in the C/C++ forum wich is more alive:

    http://www.programmersheaven.com/c/MsgBoard/wwwboard.asp?Board=3
  • MojojojoMojojojo Posts: 17Member
    Do you really need to compress the files directly from your code? I think the problem can be easily solved by collecting the WAV files and compressing them later with a standalone app like iTunes or Windows Media player...
  • IDKIDK Posts: 1,784Member
    : Do you really need to compress the files directly from your code? I think the problem can be easily solved by collecting the WAV files and compressing them later with a standalone app like iTunes or Windows Media player...
    :
    If I remember correctly, the program was going to be used with disabled people of some kind, and they wanna keep it simple.
Sign In or Register to comment.