| | |
Compression/Decompression Wave File to MP3 and Vice Versa
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2006
Posts: 52
Reputation:
Solved Threads: 0
Hi, WolfPack, I have tried to implement in my current software followed the instrustions given in your post, appreciate your help.
For your info, I put the code in the OnSave so that the lame exe will be executed whenever I click the button 'Save'.
But, what happens is after I record one sentence, I click 'Save', the software prompt me for save file name and the lame.exe came out very fast and disappeared in just a blink. And, I went to check the folder, I couldnt find any .mp3 file.
I am sorry, I think I must have made some mistakes. I wonder where I did wrong. still searching...
For your info, I put the code in the OnSave so that the lame exe will be executed whenever I click the button 'Save'.
But, what happens is after I record one sentence, I click 'Save', the software prompt me for save file name and the lame.exe came out very fast and disappeared in just a blink. And, I went to check the folder, I couldnt find any .mp3 file.
I am sorry, I think I must have made some mistakes. I wonder where I did wrong. still searching...
•
•
•
•
Originally Posted by cindy_16051988
Hi, WolfPack, I have tried to implement in my current software followed the instrustions given in your post, appreciate your help.
For your info, I put the code in the OnSave so that the lame exe will be executed whenever I click the button 'Save'.
But, what happens is after I record one sentence, I click 'Save', the software prompt me for save file name and the lame.exe came out very fast and disappeared in just a blink. And, I went to check the folder, I couldnt find any .mp3 file.
I am sorry, I think I must have made some mistakes. I wonder where I did wrong. still searching...
1. All your wav files
2. Lame.exe
3. the script file Convert_To_MP3.cmd
into a single folder and double click the Script file. All the wav files in that folder will be converted to MP3 files.
If you find that enough for your requirements you can use it freely. Otherwise if you want to find the error in your code, you should post your code.
バルサミコ酢やっぱいらへんで
•
•
•
•
Originally Posted by cindy_16051988
HI, WolfPack. I mean it generated a file name LAME_REPORT.txt but when I opened, it is empty and nothing inside.
Anyway zip your code and attach it in this thread if it is too big. If a wave file is not that big, attach a sample wave file too.
バルサミコ酢やっぱいらへんで
•
•
Join Date: Apr 2006
Posts: 52
Reputation:
Solved Threads: 0
Hi, WolfPack, thanks for your reply.
I have run it successfully with your latest zip file, thanks.
May I ask some more?
1. After the children complete their practices, they will use your codes to compress and then save in a floppy. Then, they bring the floppy to our centre on the next visits. We (Me and the therapist) need to decompress the MP3 file back to Wave file because our software is designed to play the wave.
May I know how can I decompress back? Is it a big problem?
2. I still get the LAME_REPORT.txt which is empty, did I make any mistake? (I am just asking)
I have run it successfully with your latest zip file, thanks.
May I ask some more?
1. After the children complete their practices, they will use your codes to compress and then save in a floppy. Then, they bring the floppy to our centre on the next visits. We (Me and the therapist) need to decompress the MP3 file back to Wave file because our software is designed to play the wave.
May I know how can I decompress back? Is it a big problem?
2. I still get the LAME_REPORT.txt which is empty, did I make any mistake? (I am just asking)
![]() |
Other Threads in the C++ Forum
- Previous Thread: arrays and functionality of the program...
- Next Thread: please fix the error
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






