Sign in to follow this  
Followers 0
Sunaj

Inducing Theta Hz in Brain

2 posts in this topic

Hi, I've been trying to create a script to help out with meditation through visual brain entrainment and binaural sound (last point not touched upon in this post).

But.. I cannot by any means seem to get around the tearing/flickering that occurs frequently when changing the background color from white to black or black to white. Any clever ideas on fixing this?! All help is appreciated :)

#include <GUIConstants.au3>
GUICreate ("My GUI")
GUISetState()

; Run the GUI until user closes via traymenu
While 1
    Sleep(200)
    GUISetBkColor (0x000000)
    Sleep(200)
    GUISetBkColor (0xFFFFFF)
    $msg = GUIGetMsg()
Wend

P.S. I used the the data from http://www.neoseeker.com/Hardware/faqs/kb/21,54.html to calculate that a 5 Hz rhythm (low Theta) would require a change of the background color every 200ms

Share this post


Link to post
Share on other sites



Those of us from the western world have been instructed to avoid the practices of alchemy and sorcery, which is what your script is attempting, so I won't recommend that you try stretching an image using GUICtrlSetImage in place of GUISetBkColor.


Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0