Hello bitmechanic and all fellas,
Base on my logic right now, the pop noise is due to write/read process from arduino. As far as I can think to implement the mute right now is, if I want to mute the audio, so I need to write to the mute cell. Still got interaction there that will cause the noise I guess. (EDIT: I get it wrong perhaps. My bad! But still wonder mute/unmute got different parameter data even there is only single write)
On the other hand, the system that I want to develop is very time crucial which is feedback frequency cancellation. Come to think of it, With the safeload write coefficient and direct write to mute cell will cause overhead of time I guess. It is because one cycle of write of my program takes about 5 milli second to complete the write cycle. (EDIT: should be no need implement the safeload write once mute/unmute direct write is used.)
(EDIT: timing clarification only) And somehow to sum up, safeload write for 5 coefficient (5x3x5ms=75ms) and direct write mute/unmute (2x5ms=10ms) will give me 85ms. So, for feedback detection, i have about 40 peaking filter and need to read each of them in one cycle of reading the audio value using an adau1701. And i need 5 cycles, somehow to confirm the feedback detection. If add up all of the time consumption, the time elapse will be tremendous... Not to mention others code inside the complete program yet.
Anyway, thanks for your idea bitmechanic! I do believe it somehow worth to try in anywhere anyhow for my project.
Any other suggestion from you guys are cordially much appreciated!
MESSAGE EDIT: Statement from BrettG seems make sense and practical to use bitmechanic's mute/unmute direct write. "Writing a single word (like a gain cell) will have no potential side-effects because only one program calculation uses that parameter per frame" -
Lets try it out!-----
Thanks and best regards.
Kal