Skip to content

Commit 17f95d9

Browse files
committed
Add slower options for FFT smoothing
1 parent 7942c79 commit 17f95d9

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Update ControlP5 Library to 2.3.3 and change ScrollableList behavior to be more consistent with other front-end libraries
1919
* Remove old multi-line filter buttons in TopNav that draw incorrectly on some PCs #1013
2020
* Minor UI/UX improvements to Spectrogram widget to increase clarity for all users
21+
* Add slower options for FFT data smoothing
2122

2223
# v5.0.9
2324

OpenBCI_GUI/SessionSettings.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class SessionSettings {
129129
String[] fftMaxFrqArray = {"20 Hz", "40 Hz", "60 Hz", "100 Hz", "120 Hz", "250 Hz", "500 Hz", "800 Hz"};
130130
String[] fftVertScaleArray = {"10 uV", "50 uV", "100 uV", "1000 uV"};
131131
String[] fftLogLinArray = {"Log", "Linear"}; //share this with spectrogram also
132-
String[] fftSmoothingArray = {"0.0", "0.5", "0.75", "0.9", "0.95", "0.98"};
132+
String[] fftSmoothingArray = {"0.0", "0.5", "0.75", "0.9", "0.95", "0.98", "0.99", "0.999"};
133133
String[] fftFilterArray = {"Filtered", "Unfilt."};
134134

135135
//Used to set text in dropdown menus when loading Accelerometer settings

OpenBCI_GUI/W_HeadPlot.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
///////////////////////////////////////////////////,
1313

1414

15-
float[] smoothFac = new float[]{0.0, 0.5, 0.75, 0.9, 0.95, 0.98}; //used by FFT & Headplot
15+
float[] smoothFac = new float[]{0.0, 0.5, 0.75, 0.9, 0.95, 0.98, 0.99, 0.999}; //used by FFT & Headplot
1616
int smoothFac_ind = 3; //initial index into the smoothFac array = 0.75 to start .. used by FFT & Head Plots
1717

1818
class W_HeadPlot extends Widget {

0 commit comments

Comments
 (0)