# Library to apply BandPass filter for EEG signals in Processing

**URL:** https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972
**Category:** Libraries
**Created:** [October 29, 2018, 4:47am UTC](https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972 "2018-10-29T04:47:15Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [November 4, 2018, 3:35pm UTC](https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972/6 "2018-11-04T15:35:21Z")

</div>

we talked about that

> [@How to remove powerline noise from ecg signal](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815):
>
> Hello everyone! I’m new in processing. I would get ECG signal using ArduinoUno and AD3282 board. I get sketch from github and run my project. However, when I run processing programme, here appear power line noise (it was so high, the real signal was hard to see). I knew theoritically, in this case i must use IIR or FIR filter. But i can’t do it in Processing. Do someone have sketch for filters, to remove this line noise? thanks for answers.

and my idea is:

- -a- if you sample single ended inputs (not differential ) you get  
that 50/60 Hz from any body  
( just hold your finger on a arduino Ain )
- -b- if you filter 50Hz you filter a critical content of what you want measure.

---

_[View the full topic](https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972)._
