A biofeedback signal recorder and research tool designed to detect eye movements during sleep.
Download | Documentation
Plugins
Download or develop plugins for various biofeedback and lucid dreaming devices.
![]() |
CPU Monitors your machine’s CPU performance. Included. |
![]() |
Halovision
Monitors the video stream from the halograph EOG – a night-vision camera the size of a matchbox that can be placed next to your pillow and measures the amount of change between each video frame. It then plays audio tracks, triggers plug-outs or flashes the screen when rapid eye movement patterns are detected. It can also connect to any webcam or a smartphone’s camera to demonstrate the REM-detection algorithm. Download (requires VLC win32) | Updates | LSDBase Entries |
![]() |
Halograph FM Monitors the output from the halograph FM – a headband with a motion detector that is sensitive enough to pick up the heartbeat. The plugin plays an audio track and cycles through the playlist during REM sleep. Download | LSDBase Entries |
![]() |
Hypnodyne ZMax Monitors the EEG data from the Hypnodyne ZMax and triggers audio tracks when electrical activity from the eye muscles is detected during REM sleep. Channels: – EEG R, EEG L – X, Y, Z Download | Updates | Source Code |
![]() |
NeuroSky ThinkGear EEG Monitors the EEG data from NeuroSky ThinkGear EEG compatible devices like the MindSet, MindWave amd the MyndPlay BrainBandXL. Requires the NeuroSky ThinkGear Connector… some setup instructions that may help: ThinkGear EEG 0.9.6 or these: ThinkGear EEG 1.0.9. Channels: – raw EEG, attention, meditation – alpha, beta, delta, gamma, theta Download | Updates | Source Code | LSDBase Entries |
![]() |
Mouse FIELD (Finger Induced Electronic Lucid Dream) Monitors the mouse activity and plays an audio track when the mouse button is released. The idea is to catch yourself when you fall asleep – in a dream, but awake. Another channel detects eye movements from the infrared LED sensors operated out of mice. Download | Updates | Source Code | LSDBase Entries |
![]() |
OpenEEG Monitors the EEG data from devices compatible with the OpenEEG project like the Olimex EEG SMT and the halograph EEG. Download | Updates | LSDBase Entries | Source Code |
![]() |
Keyboard Measures and graphs the keyboard’s words per minute. Download | Updates | Source Code |
![]() |
Microphone Monitors the volume of the default microphone. Download | Updates |
![]() |
Pranayama Outlines breathing patterns that can be followed by keeping the lungs filled at the level of the graph. The line shows the level at which the lungs should be filled and how long the breath should be retained. The first exercise is to inhale for 8 seconds, hold for 32 and exhale for 16 (a ratio of 1:4:2). Download | Updates | Source Code | LSDBase Entries |
![]() |
Wild Divine LightStone / IOM Monitors the heartbeat, skin conductivity (galvanic skin resistance) and heart rate variability from the Wild Divine LightStone / IOM. Download | LSDBase Entries |
![]() |
OCZ NIA Monitors a mixture of muscle, skin and nerve activity including sympathetic and parasympathetic components that can be summarized as biopotentials from the OCZ / BCInet NIA (Neural Impulse Actuator). Download | Updates | Source Code |
![]() |
TI Chronos EZ430 Monitors the XYZ output from the Texas Instruments EZ430 Chronos. Includes source code. Pro tip: to change the default transmission timeout (of 3600s) you need to change sRFsmpl.timeout (and SIMPLICITI_TIMEOUT): Use the Code Composer (included with the chronos) to edit one line of code in rfsimpliciti.c, then build it for the frequency for the device (e.g.: 433Mhz) and use the TI Control Center to wirelessly update the firmware. Download | Updates | LSDBase Entries | Source Code |
![]() |
Zeo EEG Monitors the EEG and sleep stage data from the Zeo. You would have to hack the device with a special version of the firmware from the Zeo Raw Data Library. Download | Updates | View Source Code | LSDBase Entries |
![]() |
Mattel Mindflex (BETA) Monitors the EEG data from modded Mattel Mindflex headsets that have been connected via USB. Download | Updates | Source Code |
![]() |
InteraXon Muse (BETA) Monitors the EEG and accelerometer data from InteraXon Muse EEG devices. Download | Updates | Source Code |
Plugouts
![]() |
Audio Spins the next audio track in the playlist. Included with Lucid Scribe. |
Screen LED Flashes the screen: opens a full-screen black form after a minute and then flashes the screen once a second when triggered. Download | Updates | Source Code |
|
![]() |
Yocto PowerRelay Triggers any devices wired into a Yocto PowerRelay. Download | Updates | Source Code |
![]() |
Arduino Triggers any devices wired into an Arduino. Download | Updates | Source Code |
Thanks for including source code for your plugins! Some of the source code solutions appear to include an incorrect Reference. As I see it, the Reference to ‘Lucid Interface’ that is contained in the source solution(s) should be a reference to lucidcode.LucidScribe.Interface.
Sure! You are correct – the reference should be to lucidcode.LucidScribe.Interface. I will fix this in the solutions… in the mean time you can delete the existing reference and add a new reference to the DLL.
hey, i use Lucid Scribe to view my eeg-signals with the mindwave headset from neurosky but the theta its on the top line on 1000 in the view.. is that a bug or say it “no signal for theta aviable”? its creepy when the theta its always on 1000 when i´m on alpha-state with my mind D: is that normal?
That is not normal. But it may be a bug when the theta is an order of magnitude more than normal. You could try restarting Lucid Scribe – sometimes the values get stuck when the skin connection is lost. Otherwise I will update the plugin to divide the theta value some more to scale better.
i can show you a video.. its like the theta value its to high to show but when i´m on theta state with my mind its scale down.. hm -> http://www.youtube.com/watch?v=GJRRiWovIo0 here you see it good, i go on 1:20 to theta state with a trigger in my mind and its scale down the value, if i on normal state with the mind its on the 1000 value
I just do some basic math on the numbers returned from the device to scale them into the 1000 range, but clearly the theta still needs some tweaking… will see what I can do. From the source code:
For me most of the channels are out of the screen most of the time. Although somtimes it seems to work well. Here is an example:
I don’t need these. Just thought I’d post this since I noticed it.
I think this happens when it looses good skin contact. If you enable the EEG or RAW channel, it might be easier to see if the signal quality has been lost.
Thanks for your great work on this excellent project! I’d seen the Dec. 20 post over at hackaday.com that referred to your site and, well, I just got my MindWave today! Unfortunately, LucidScribe.1.2.2 is not displaying any data. I have the ThinkGear.EEG.0.9.8 plugin. The stock MindWave apps (Meditation Journal, SpeedMath, etc.) work perfectly. I’ve tried tinkering with the scaling settings, but have had no luck. Also, just FYI, the headset is model MW001 and has yet to be modified into something that can be worn while sleeping. Any suggestions would be greatly appreciated. Thanks and keep up the great dev work!
Try these steps:
1.) Close all apps – ThinkGear Connector should be ‘disconnected’.
2.) Open ThinkGear Connector and note the COM port.
3.) Open Lucid Scribe and select the COM port (you can exit it by right-clicking on the icon next to the system time).
4.) ThinkGear Connector should remain ‘disconnected’, but Lucid Scribe should pick up the signal.
You can ask Tom over at the Lucid Scribe Database project about the modification for sleep. Tre from MyndPlay has recommended we try the BrainBand:
http://myndplay.com/products.php?prod=7.
No luck with that technique.
I also tried connecting via different USB ports. No change. Then tried a different PC… Tried turning off firewall (just a guess). No luck.
Both PC’s running Win7 64 bit. Could 64 bit be an issue, perhaps to do with the “C:\Program Files (x86)” directory name? Just grasping at straws here, but I hope we can get this ironed out and documented here to potentially help others with the same connection issue. …and maybe even find and squash a bug in the process!
The MindPlay looks comfy! Actually, I’m really looking forward to modding the MindWave, but only once it’s working with Lucid Scribe. Of course, if MindPlay ends up being superior, then I may get that too.
– Chris
Success! Well, partially, at least. I got Lucid Scribe working on an older laptop running Win7 32-bit. No other differences that I can tell. Now it’s time to turn the MindWave into something wear-able during sleep. Looking forward to the next steps!
Elite.
Hmm, I have it running on a Windows 7 64 bit machine. Perhaps UAC is on or it needs to be run as administrator?
Wanted to try the software but the installer seems to be broken. I could install it at first but the install was broken (Software didn’t start) Reinstalled appropriate NET framework didn’t help. Now the installer won’t even open because of access violations?
Which OS version do you have? Try uninstalling it from Add / Remove Programs in the Control Panel and then re-installing it.
I’m on windows 7 (latest patches included). Tried several times to install it correctly but it wont work. Even downloaded the .msi two times (internet explorer).
I do have a clue what that could be… IE says that your .msi file could harm my computer (that stupid browser is “maybe” fucking up the installable while downloading)…
I’ll check it out with another browser later in the evening.
https://www.google.com/intl/en/chrome/browser/?brand=CHMO#eula
Hello guys, my name is Friend, a final semester student of software engineering, am working on a project under Neurosky, to carry out an activity (catch a fish) with meditation and attention of brain waves, am stuck because I dont have the codes sufficient enough to implement. Pls can somebody help me with codes. Thank you!
Have you installed Lucid Scribe with the NeuroSky ThinkGear EEG plugin? The source code is available at https://github.com/lucidcode/LucidScribe-ThinkGear-EEG.
I tried replying at hackaday but it wouldnt let me >.< I would love to help test the mindflex plugin! LS wouldn't show me anything until last night when I added a serial RX line into the TGAM and loaded a sketch in my arduino that set pinMode to INPUT for pin 0 and 1 so the atmega just snoozes while the TGAM and FTDI pass data back and forth. I'm guessing that's what the hardware for the Mindflex USB mod is? If not I’m sure I can whip it together in no time at all. Oh, LS was showing me sine waves on every channel! I’m sure I got something wrong though.
I also have a Mindset which works just fine on its own with LS but having both the Mindset and Mindflex plugins at the same time is problematic (two entries in the plugins page for each band, no easy way to identify them 🙂
I have a TI chronos that I've used, I will be acquiring a brainband very soon for more experimentation, and was looking for the DIY instructions for the halograph but they seem to have disappeared?
Finally, I have a couple old photosonix light/sound machines I plan to experiment with brainwave entrainment DURING sleep to see what if any effects A/V stimulation have on brainwaves. Whew I hope I don’t get a TL:DR for this comment lol
Cool. I added a prefix to the Mindflex channels so they can be identified when running in parallel with the MindWave: https://lucidcode.com/2013/08/23/mattel-mindflex-0-9-4/. Can you post a screenshot or LSD file of the sine waves?
I cant get a screencap of what i was seeing at that time, i think what i was seeing was due to the sampling rate of the signal (which i had set WAY too high) I’ve since turned it down and now i am getting more readable results. thanks for that last update labelling the mindflex channels, makes it a lot easier to read. i’ve got some other ideas, how best to communicate about them? thanks
Sure! Best way is with a comment on the latest Mindflex post or in Lucid Scribe -> Help -> Support – Feature Request.
i tried to download lucid scribe on my mac, but as soon as a download it and try to open it it sais cant open the file because no available application can open it. i have the mind wave but i just got it today, i barely kno how to work it, but still i should be able to download this, i just duno what to do.
I am afraid that Lucid Scribe was designed on Windows. But I was able to compile it under Mono relatively easily: http://lucid-code.com/LucidScribe/LucidScribeMono3.zip. You should be able to run it with this guide:
http://www.mono-project.com/Guide:Running_Mono_Applications. Let me know if that works for you. I am working on an Android version that you can test from here:
https://lucidcode.com/2013/11/15/lucid-scribe-android-thinkgear-eeg-beta/… I plan on releasing the iOS version as soon as the Android version is done.
so u want me to download this lucid scribe mono?
i downloaded the zip im not sure what to do next.
Hmm, I am not sure either. I started the Mono version for someone else and they got it running after a few test versions… I think you need to run a command prompt with something like “mono Lucid Scribe.exe”. It might also need the path.
well then i should just go download it on my pc, it will work a lot easyer cus i ahve windows lol! and you didnt hack me did you? this is a trustworthy site i assume? you are on the neurosky webpage…
Yeah, try it from your pc and let me know how it goes. You can trust me.
im having tons of trouble with the minwave itself atm, so i aint going to be downloading nothing atm, for some reason i cant even get a good connection from my usb to my mind wave, its annoying me!! at first the signal was good then it would deteriorate then repeat that, know it wont even connect,
i keep having to adjust it, it will connect for 2 seconds then go down to 1 dot then go x, and i have to adjust it again, it wont stay high quality wave for more then a few seconds. bsbsbs
Is the ear-clip on properly? Which program are you testing it with?
i was using meditation journal, it was working really good for a couple minutes, untill i got up to shut my light off and put my computer on the deskt o try and go into deep meditation and then it cut out, and i couldnt even get it over 3 bars on speed math. and i duno i had the clip directly attacted to my ear lobe. i keep having to screw around with the forehead electrode were its touching to try and get a good wave.
Try some moisturizer… 😀
have u did nything with the mind wave and an arduino module?
No, not yet. Do you have an Arduino?
If youre experimenting with neurosky and arduino, i may be able to help, although the mindwave + arduino is a slightly more complicated setup. I think, but i am not sure, that all neurosky products output data in the same format, and the only difference is the wrapper that various language/platform specific plugins apply to the data. Perhaps the author could shed some light? Specifically, the difference between the mindflex and the mindset plugins?
I had some help from Richard for the MindFlex plugin: https://github.com/lucidcode/LucidScribe-Mattel-Mindflex/blob/master/Mattel%20Mindflex/PluginHandler.cs#L97, but I believe you are right: http://developer.neurosky.com/docs/doku.php?id=thinkgear_communications_protocol#thinkgear_packets.
i am waiting for one in the mail, wont have it for a while still though, i just bought it for mini projects and to get a better understanding of programming for know, wouldnt want to break my only mindwave to fuck around with it and an arduino, if i ever do though, ill buy a new one.. but i really like the idea of making a different mind wave that you can sleep with, and in your dream play music that would be really interesting!! atm i just gotta figure out why im not getting a good wave signal, your plly right im guna have to use some moisturizer or somthing, im frustrated atm as to why im not getting a good perfect wave quality..
Have you followed all the steps on here:
http://support.neurosky.com/kb/mindwave/how-to-properly-wear-the-mindwave
and here:
http://support.neurosky.com/kb/mindwave/the-application-does-not-show-brainwaves-even-though-it-looks-connected?
My experience with neurosky products suggests that perfect wave quality is difficult at best to acheive. I have a mindset, which gives good quality as long as i dont move (useless for sleep for this and other reasons) i have several modded mindflex headbands, the original is downright painful and the duel uses conductive fabric which is terrible without eeg gel. Finally, i have a brainband, which i get best results with. High quality signal, though ou have to wear it rather tight, and i wake up with two red spots on my forehead.
Ouch! Do you have an OpenEEG board in the mix? I would be interested in how the quality compares to everything you have listed…
OpenEEG is next on my list of things i need. I have pretty much hit the wall when it comes to the capability of Neurosky’s chips; what I am working on is just a bit more than they are capable of at this time. Though I do look forward to their upcoming products which look to be pretty exciting, some very full-featured biometric sensor suites. I am very much a DIYer so I like OpenEEG not only for the flexibility but also the price compared to, say, an EPOC. Which I imagine would be a real pain to sleep with (not to mention a pain in the pocketbook if it broke during the night!)
im sure theres a means of designing a more versatile eeg headset for sleeping with, somthing similar to those pictures of that strap around the head, also it would probably be best to implement some more electrodes into the thing, i suspect that is why the neuroskys mindwave isnt the greatest at perfect wave quality, and i guess not what i need to do the experimentalism i would like to conduct.
This is the state of the art. Halographs. To make one professionally, suit-up and get two halo headbands (one white tie, one black pullover and some iron on tape so you can make a smugglers belt in the middle for the cables and sensors). The halograph EEG has five electrodes for two channels and one for ref.
Hi Michael.
Can I ask you sth? Is it possible to trigger the Yocto power relay (or any relay) using an android device? Or you need a PC? Thanks !
The Android version of the Halovision plugin works with Tasker as is. So perhaps it has some way of turning it on?
I see that the Yocto power relay is also supported on Android, so I might be able to add code to make it work. Not sure if I can test it on my phone – will need to get a USB cable that fits into both.
Try again… it seems to be working for me.
It will only let me download the actual algorithm is that correct? It’s not letting me download the application
The link points to the .msi file. If it doesn’t work maybe try a different browser.
Is the app suitable for ios? It still won’t let me extract the file
Ok not to worry, I do not have an iPhone or iPad. Thanks anyway
Hey can anyone tell me how to control arduino outputs from neurosky mindwave using lucid scribe. I am trying to control servo motor, connected to the arduino,from neurosky mindwave.
Do you want to build a brain-computer interface or do you want the motor to activate in REM sleep? Because I don’t think Lucid Scribe is the right software for BCI.
I rarely notice licence agreements…just usually click through! But this is the best by far:
LUCID LICENSE AGREEMENT
1. Usage. While using any lucidcode products, you agree: (i) to cease from all sin, (ii) to get virtue and (iii) to purify the mind.
2. Observance. You agree to observe the following percepts: (i) kill not; (ii) steal not; (iii) indulge in no forbidden sexual pleasure; (iv) lie not; (v) take no stupefying drug or liquor.
Thanks! The Five Percepts…
Hi Michael, I’m trying to develop a plugin for triggering it when REM sleep but I’d like to test my code when I’m working on it instead of waiting to the actual sleeping at night. Is there a way to “play” the LSD logs for seeing in realtime my development?
Thanks!
Is there any way to record the graph and save it?
The graph records automatically and can be exported by right-clicking on a day, hour or minute in the log view.
Hi, i have a problem with halovision plugin! After 4-6 hours of use, a red cross appears in the place of webcam feed with an error : System.InvalidOperationException , System.Drawing . How to solve this? thanks
I’m not sure. Can you ensure that the screen does not turn off after 4-6 hours? Otherwise it might be running low on memory.
Hi and thanks paul. Yes i think it’s a memory problem but I thought that my laptop was fast enough to run the program : Intel Core i5-2410M, 2,3 GHz, 4go ram…
I do not have this problem every day, the last time, the program bug after 1 hour… today no bug…
Maybe the cause is a quick movement of my body… or the fault of my infrared spot that illuminates too much…
Hi and thanks paul. I use a laptop and i deactivate the option to shutdown after x hours…
Yes i think it’s a memory problem but I thought that my laptop was fast enough to run the program : Intel Core i5-2410M, 2,3 GHz, 4go ram…
I do not have this problem every day, the last time, the program bug after 1 hour… today no bug…
Maybe the cause is a quick movement of my body that create a feed bug… or the fault of my infrared spot that illuminates too much… i use a spot at a distance of 2 meters with 10 leds 3mm…
New test today : red cross line after 30 min… i don’t understand
I noticed another problem since the beginning of the tests, the resolution of the saved images… Watching the small videos, I saw images in zoom mode…i inspected the saved images and few of them are in 2 differents formats : 288×251 and 640×480…normal?
thanks for your help
Hi Julien,
I’m getting the same issue about the resolution (halovision 1.0.4 or 1.0.5), like this make the app not working, I didn’t know if I will get memory error too.
Did you find a solution ?
I am interested in using iOS application to trigger some audio signals using Wireless Earphones with Built-in Mic Headset
https://www.amazon.ca/1MORE-Stylish-Wireless-Earbuds-Built/dp/B07MDDK93L
My goals is to influence the action of the dream actively, or to observe the course of the dream passively. I want to communicate with other existance levels like astral worlds all the way to God’s level.
So since I am a c#.net developer and can write programs for iOS device using Xamarin platform
I would like to interface with some reliable LD sensing devices like Zmax with your
LucidScribe-Hypnodyne-ZMax plugin.
I want to say does Zmax have a direct API to subscribe to some events of interest and affect the device itself and possibly earphones like one above.