Only pass through frequencies below 1kHz

Hi there,

I recently received my Tympan Rev D and am very excited to put it to use. I’ve already tried a few of the examples but I’m pretty new to Arduino IDE.

What I’m hoping to do is apply a low pass filter at 1kHz (pass through) and silence everything >1kHz. I’m trying to make a demo of what it’s like to have high-frequency hearing loss. I was planning to plug my Bose noise cancelling headphones in to the Tympan to help facilitate the demo.

Anyone have any ideas on the most efficient way to write the code for that?
Thanks so much!
Francis