[Jeff, Ian, Torrey]
Python script that will create a resonant gain filter (passes all frequencies and boosts around a specified frequency) and convert it into a form that the moku will accept.
edit: this script is outdated, see below.
Continuation from yesterday:
We went to upload one of these filters into the moku and found that upon doing so the piezo rings up quite loudly. The previous version of the script was creating an unstable filter (which is undistinguishable from a stable one in the view the moku has i.e. this. This version of the script has made the necessary correction.
With successful implementation of this filter in the digital filter box, I drove a tone at 300 Hz to match the frequency of the gain in the filter and observed the spectrum directly after the controller and after the DFB (bus 1 and bus 2 in the screenshot) Without the resonant gain filter the spectrum reads 178 uV/sqrt(Hz) @ 300 Hz for both channels. Applying the filter and checking the spectrum shows a large suppression in the noise in one of the channels (Bus 1 - 2.96 uV/sqrt(Hz) @ 300 Hz, directly out of the fast controller) and no supression in the second channel (Bus 2 - 194 uV/sqrt(Hz) @ 300 Hz, directly after the boost at 300 Hz is applied).