Jump to content
Sign in to follow this  
Sunaj

Inducing Theta Hz in Brain

Recommended Posts

Sunaj

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
Squirrely1

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.