Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 954 Bytes

MindwaveHelper.md

File metadata and controls

45 lines (28 loc) · 954 Bytes

Mindwave Unity - MindwaveHelper

This static class is a helper for working with the Mindwave device values.

Scripting

Constants

public const int SENSE_MAX = 100

Corresponds to the maximum "eSense" value (meditation or attention).


public const int BLINK_MAX = 200

Corresponds to the maximum blink strength value that the headset can detect.


public const int NO_SIGNAL_LEVEL = 200

Corresponds to the maximum value of "poorSignalLevel" that ThinkGear Connector can send, meaning that there's no signal to the headset.

Methods

public static float GetSenseRatio(float _SenseValue)

Calculates a ratio of a given sense value (meditation or attention).


public static float GetBlinkRatio(float _BlinkValue)

Calculates the ratio of the given blink strength value, on the maximum.