Hi everyone.

I am trying to write a web application and I need some idea's. I am trying to find a way for a normal computer to be able to know exactly when someone is in REM sleep. This would be best if you guys could find a way of putting someone in REM sleep using the screen or audio from a computer. I thought of an idea along the lines of play a loud noise while they are asleep wait a few minutes and they will be in REM sleep. Comments on how you would accomplish this would be very helpful and much appreciated. Thank you for your time and help!