Skip to content

Suggested Communication Source to use for streaming >15 seconds Audio #1586

Answered by pschatzmann
soham2560 asked this question in Q&A
Discussion options

You must be logged in to vote

It is my gut feeling that the whole scenario could be handled by a simple http post from the ESP32 to the server which would provide the audio reply in the same request.

Keep the sample rate as low as possible.

To start I would suggest to try out the following

  • start with a sample rate of 8000 (this shoud be usually good enough)
  • encoding
    • use no encoding 16 bits
    • you can half the data by using no encoding 8 bits
    • try out e.g. the adpcm codec

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@soham2560
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants