Skip to content

speech communication detection #822

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

You must be logged in to vote

You can use the VolumeOutput to determine if you have a signal and based on this, switch the forwarding to the ESPNow on or off.
I just added a new class OnOffOutput, so you can use the following output chain:

                                      -> VolumeOutput   
I2S - copy -> MultiOutput   
                                      -> OnOffOutput -> ESPNowStream

To figure out if you have a capacity problem, I suggest to switch to the L8 codec and reduce the sample rate e.g to 8000. This should produce less data and you are more flexible to play with the sample rate. Maybe using 8 bits might even be good enough for the final solution if it is just for voice.

I have never tested any duplex…

Replies: 9 comments 26 replies

Comment options

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

Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

@aeschimannr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

@aeschimannr
Comment options

@pschatzmann
Comment options

@aeschimannr
Comment options

Comment options

You must be logged in to vote
14 replies
@pschatzmann
Comment options

@aeschimannr
Comment options

@pschatzmann
Comment options

@aeschimannr
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@aqildad-create
Comment options

@aeschimannr
Comment options

@aqildad-create
Comment options

@aeschimannr
Comment options

@aqildad-create
Comment options

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