Hi@rvalente
Sorry for the misunderstanding,I test this code and it should be what you want.
You still need to modify some configurations to meet your needs(such as sample rates,buff size)
Senlent_0-1626156102676.png
Senlent_1-1626156948925.png
Hope this answer is useful to you!
best regards!
Jim