B4J Question Record voice with jaudiorecord

le_toubib

Active Member
Licensed User
Longtime User
Hi I'm trying to record simple voice using jaudiorecord library and then upload the wav file to a server... But the output is a very large file even if I use mono with a bit rate of 5525 . Its still too large for uploading.
What's the best way to get very small file size that can be playable programmatically.. With a reasonable audio quality for simple audio note?
 

stevel05

Expert
Licensed User
Longtime User
You probably need to compress the file to Mp3 or Ogg format before uploading it. I don't remember seeing a Library for B4j that can do it. You may be able to find a stand alone app that you can call via the shell to do the compression.
 
Last edited:
Upvote 0
Top