Go Back   Home Recording Forum > Recording Engineers / Producers > Audio Engineering

Audio Engineering Discuss audio engineering techniques such as mic placement, technique, and gear selection. Discuss the recording of drums, electric guitar, acoustic guitar, bass, vocals, and more.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-18-2006, 02:10 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Compress/Decompress Wave file to MP3 and vice versa

Hello. Sorry to disturb you all. I hope to get your opinion. For your information, I have a Visual C++ 6.0 software to record and playback human speech. All the speech is recorded with sampling rate of 16kHz in wave file format. Each wave file size is 188kbytes. I have 20 wave files in each practice or each usage of software. And, I need to save all these 20 wave files into a single floppy disk (1.44 Mbytes).

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

I hope it can work like this: save the data as a wave file in the temporary directory and then convert wave file to MP3 file in your floppy disk. To load a file, convert the mp3 file to wave file in the temporary directory and then load the wave file to the memory.
Can this method enable me to save all 20 wave files in a single floppy disk?

I don?t know how to insert the encoding/decoding program codes into my current software without causing any new bugs.

Or, other than the MP3 compression method, do you have another method or idea of minimizing the size of each wave file? Please tell me.

Hope to hear you soon, thanks.
Reply With Quote
  #2 (permalink)  
Old 04-18-2006, 04:01 AM
Senior Member
 
Join Date: Nov 2005
Posts: 118
Rep Power: 7
PhilB is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Google for the free program CDeX. Does all the compressing/decompressing you would need.

If the limits of your situation are more lax than you state, or for some hip ideas for the future, read on:

Do you have internet, where the file is going? If so, I'd use that and just have the floppy as a backup.
Most e-mails have, I THINK, 5MB ? limit for file sizes of stuff e-mailed. Since MP3s are fine enough quality for music (at 128 to 192), for speech, more than fine I would think.

But if you are interested in the .wavs, or want to send bigger MP3's or other file, try www.yousendit.com or www.dropload.com, which allow you to send very large stuff (up to 100 MB), it's incredibly convenient, and free. the limits (7 days for each file for dropload), etc are on the site of course.

others may easily know more than me,

pb
Reply With Quote
  #3 (permalink)  
Old 04-18-2006, 07:23 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Hi, PhilB, thank you for your reply, appreciate.

I need to incorporate compression/decompression source codes into my current software.

I can accept lossy compression like LAME.

Which one (LAME or APE) is easier to be incorporated into the current software? 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 rehabilitaion centre. We need this software to train children in the centre. I work part time there.

Could you please spend some time to teach me or guide me how to incorporate the source codes into the current software? I promised I will try my best and I promise to be as independent as possible. But, I really need your help at this very beginning, please help. I really appreciate, please.
Reply With Quote
  #4 (permalink)  
Old 04-18-2006, 02:31 PM
brandondrury's Avatar
Supreme Overlord Commander
 
Join Date: Sep 2005
Posts: 19,209
Rep Power: 25
brandondrury has disabled reputation
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Quote:
I have a Visual C++ 6.0 software to record and playback human speech.
I'm pretty sure that Visual Studio is for developing software applications. Maybe I didn't understand you correctly, but I'm guessing you are using a custom application.

I'm no nothing about the software you are using, but getting pieces of audio to combine into one file is fairly easy.

To combine the audio files, I'd probably just use one of the free recording programs. You won't be using 99% of their features, but they all should let you slap up an audio file or 20 and render that into one file. http://www.recordingreview.com/forum...hp?topic=735.0

Then, I'd just use Razorlame to encode the files to mp3. You mentioned LAME. I know that Razorlame incorporates LAME into it's design. http://www.recordingreview.com/free_..._Converter.php

Let me know if this helps. I have no problem working you through the process.

Brandon
Reply With Quote
  #5 (permalink)  
Old 04-19-2006, 01:09 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Quote:
Originally Posted by brandondrury
Quote:
I have a Visual C++ 6.0 software to record and playback human speech.
I'm pretty sure that Visual Studio is for developing software applications. Maybe I didn't understand you correctly, but I'm guessing you are using a custom application.

I'm no nothing about the software you are using, but getting pieces of audio to combine into one file is fairly easy.

To combine the audio files, I'd probably just use one of the free recording programs. You won't be using 99% of their features, but they all should let you slap up an audio file or 20 and render that into one file. http://www.recordingreview.com/forum...hp?topic=735.0

Then, I'd just use Razorlame to encode the files to mp3. You mentioned LAME. I know that Razorlame incorporates LAME into it's design. http://www.recordingreview.com/free_..._Converter.php

Let me know if this helps. I have no problem working you through the process.

Brandon
Hi, Brandondrury, thank you very much for your post, appreciate.
I am reading the two links that you attached.
But, forgive me if my question looked stupid. I cant use a third party software that is 'outside' of my software project platform. I need to incorporate or call the compression/decompression source code into my software.
I have problem of how to call or incorporate the source code into my software.
Can you please give me advice? Please help, really dont know where and how should I start, please, please
Reply With Quote
  #6 (permalink)  
Old 04-19-2006, 04:23 PM
brandondrury's Avatar
Supreme Overlord Commander
 
Join Date: Sep 2005
Posts: 19,209
Rep Power: 25
brandondrury has disabled reputation
Default Re: Compress/Decompress Wave file to MP3 and vice versa

You are totally welcome, cindy_16051988.

It sounds like your question is something for more of a software development forum than an audio recording forum unless I'm not understanding it properly.

Can you explain what it is exactly that you are doing? It may help. I have a few programmer buddies that may be able to help.

Brandon
Reply With Quote
  #7 (permalink)  
Old 04-20-2006, 01:01 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Brandondrury, thanks for your patience and forgive me for my poor English.
I try my best to make it clear.

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 rehabilitaion centre. We need this software to train children in the centre. I work part time there.

But, my problem is how to call lame_enc.dll (just an example or any other codec dll such as acm, speex and many others that I can search on the web) into my current project platform? Please forgive me if I have asked a very silly question, I am sorry.

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.

Please, I really appreciate all your help.
Reply With Quote
  #8 (permalink)  
Old 04-21-2006, 01:05 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Please help, please
Reply With Quote
  #9 (permalink)  
Old 04-21-2006, 08:01 AM
brandondrury's Avatar
Supreme Overlord Commander
 
Join Date: Sep 2005
Posts: 19,209
Rep Power: 25
brandondrury has disabled reputation
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Quote:
But, my problem is how to call lame_enc.dll (just an example or any other codec dll such as acm, speex and many others that I can search on the web) into my current project platform?
If this was in Greek, I probably wouldn't understand it any better. I'm sorry, but your problem is sort outside the expertise of this forum. I'd love to help you out, but I know little about the subject. While I'd gladly help with any audio issues, (where my knowledge generally lies), I'm quite clueless about your situation.

I highly recommend that you contact the developers of Lame and get on as many software development sites as you can as this seams to be the topic of your problem.

Brandon
Reply With Quote
  #10 (permalink)  
Old 04-24-2006, 02:13 AM
New Member
 
Join Date: Apr 2006
Posts: 8
Rep Power: 0
cindy_16051988 is on a distinguished road
Default Re: Compress/Decompress Wave file to MP3 and vice versa

Hi, Brandondrury, thank you very much for your replies, appreciate.

I know you have tried your best to help me, thanks anyway.

I am just dont know where and how should I start, I tried to search other places but until now I still couldnt find a way to solve my problem, sigh...

Brandondrury, if later on, you or your friends have some clues, hope you all can please tell me, thanks, thanks, appreciate.

If anyone could help, please, I appreciate.
Reply With Quote
Reply

Tags
audio, convert, home, mp3, music, record, recording, studio

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT -6. The time now is 05:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Inactive Reminders By Mished.co.uk

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91