ΣSigmaStudio Ask AI Русский Log in

ADAU1787 Signal Detect Block

SigmaDSP & SigmaStudio Natan Feb 16, 2021 00:00 1 replies Original on forum ↗
Subscribe
Natan Question
Feb 16, 2021 00:00

I need an equivalent to the "Signal Detect" Block as seen in the ADAU1761 algorithms but for the ADAU1787 device. Can this be implemented? Thank you.

1401.Captufdasfasfsafare.JPG
1401.Captufdasfasfsafare.JPG
DaveThib Reply
Feb 19, 2021 00:00

Hello Natan,

It looks like this block we just have not ported over to this newer processor. We have to prioritize.

So you can always do this the more discrete way:

Pass the audio into an envelope follower and then compare it with a threshold level. Then output a one or zero to use to control a switch or send it out of a GPIO pin.

The threshold is best to do this way which is easy to setup:

The time constants on the envelope generator and the threshold level will control how long it takes to build up to switch over and how long to shut off.

This example uses a peak envelope generator which goes up instantaneously. You can use an RMS envelope generator to have an attack time constant.

I hope this helps.

Dave T

pastedimage1613773074176v1.png
pastedimage1613773074176v1.png
pastedimage1613773243801v2.png
pastedimage1613773243801v2.png