Jump to content

Cindy_16051988

Members
  • Posts

    3
  • Joined

  • Last visited

Cindy_16051988's Achievements

Novice

Novice (1/7)

0

Reputation

  1. Hello, sorry to disturb you all. I am newbie here. Recently, I call lame.exe from my software to do the encode and decode part by the help of a friend. My software is designed to record and play wave file in audio and visual. It is used in our speech rehabilitation centre to help children with speech problem. I work part time there. I convert the wave file recorded by my software to MP3 by calling the lame.exe. It happened successfully. Then, since the software can only play wave (cannot play MP3), I use the lame.exe to convert MP3 to wave file again. But, my software failed to play the wave giving the error of “Unsupported File Format”. I checked both the wave file before and after conversion. They give the same format: PCM, mono, 16 kHz, 16 bits, 256 kbps. I could not figure out why the software cant play the wave file after conversion. The software can play the wave file recorded by the software itself. Then, I tried by changing “- -decode” to “- - decode –t” but I get another error of saying that “Invalid File Type”. The, I tried again for “-x” because I thought there may be problem of little endian and big endian. The problem is still the same. Hope you can give me some ideas or suggestions. I promise to do it as independent as possible, please, please. Please guide me at this very beginning.
  2. 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.
  3. 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.
×
×
  • Create New...