B4J Question AudioRecord

Philip Prins

Active Member
Licensed User
Longtime User
Hello ,

Is there a way to record audio from the microphone without the threading library?

Regards
Philip
 

Philip Prins

Active Member
Licensed User
Longtime User
Hello Steve,

I have looked at it but could not figure out to send the audio in a byte array.
I use AudioRecord and send the AR buffer over UDP to a server.
But there is a rattling noise on the receiving end.

When i send the same from an Android device the audio is clear.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
But there is a rattling noise on the receiving end.
If the rattling are clicks and pops, it may not be fast enough to capture the audio on the Gui thread, and will need the threading library.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
I am not familiar with opus, but if it's adding more processing to the chain it could quite easily cause latency in the signal path.
 
Upvote 0
Top