How can I change the gain with timer in sigma studio?
Hi, I want to change the gain coefficient("Learning Rate") after 5 seconds.
Can it be changed by timer?
software
ADAU1787
Sigma Studio 4.6
timer
Integrated/Special Purpose A/D Converters
gain
ADAU 1787
SigmaStudio 4.6
ADAU1787 evaluation board
Audio CODECs
Show More
Hello Longyu,
Sorry, I was not quite sure about what you exactly need. But the thing you asked can be done using timers.
Longyu said:
Hi, I want to change the gain coefficient("Learning Rate") after 5 seconds.
Do you want to switch between two gain values, one to another after some time? Or do you want it like a loop?
Could you please explain a bit about how you want your circuit from input to output?
Look at the below simple circuit. where I have a switch block and switching the audio inputs between two gains. when the switch is turned Off, gainA will be applied to the signal. when the switch is turned On, after 5 seconds gainB will be applied to the signal. This is to show you how you can use timers to create a delay.
The number format will be 5.23 for your processor. You might need to shift based on that. I can help you with that if you tell me the program flow and how you want your circuit to function.
If you can tell me a bit more info of your program flow then I could able to create a project and send it to you.
Regards,
Harish
Please log in to reply.

