Skip to content

Tips on Opus #585

Answered by pschatzmann
jeffiel asked this question in Q&A
Jan 25, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I am not sure but encoding and decoding are very expensive operations (which use extensive floating point operations) and maybe you are asking just a little too much from such a slow micro controller. I guess that was the reason why in my test case I used the reduced sample rate of 24000 and limited the channels to 1.

In order to confirm this: did you try to decrease (e.g. half) the sample rate ?

The esp32 has 2 processors, so if you really need to do both, you could consider to use one processor for encoding and the other for decoding.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@jeffiel
Comment options

@jeffiel
Comment options

@pschatzmann
Comment options

@jeffiel
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
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