Sandman : The Ultimate Sleep Manager

| 24 Comments

Ever wondered why it is that despite all that processing power in your PC/laptop, it can never beat a simple old alarm clock? Simple stuff like waking you up in the morning? Well, there is now a solution – Sandman. Yes, I’ve had to make up a word or two to describe this software. What it does is simple – sing you lullabies or rudely awaken you at the appropriate time. And it does this with music. And the best part is, I made it! :-P

Using this program you can create a playlist of alarm songs, set the time you want to wake up, set a snooze timer (optional), leave your PC on, and go to sleep. Rest assured, if you’ve set the volume right, you’ll be wide awake by that time.

The program is designed to present you with a series of simple (?) maths problem at the time you’ve set. At this point, all the controls will be locked, and you have no option but to answer the problems to shut off the music i.e. you’ll be wide awake in no time. If you enabled the snooze timer, the snooze button will be enabled, which will tone down the volume, only to present you with another question after the snooze timer goes off. You need to answer 3 correct questions to switch off the alarm.

There is also an optional sleep timer, which means you can create a playlist of songs, set a sleep timer, and go to bed, knowing that the music will stop. You have the option of letting Windows shutdown after the sleep timer, or leaving it on, for the alarm to wake you up.

I’m working on a module which will allow the PC to go into standby/hibernation and switch itself on at the appropriate time to wake you up. This bit will take some time to develop, but till then, this is a relatively stable release I have here.

To download, click on the icon below.

Sandman

Sandman v1.0

Just unzip the files, and run setup.exe.

This program was written using Visual Studio 2010 Beta 2, in VisualBasic. Also, you need to have Windows Media Player installed, otherwise the player won’t work. It uses .NET Framework v4, which most of you might not have installed. Don’t worry, the setup will automatically download the stuff for you. It’s a bit large, so you might have to wait a while, if you have a slow internet connection. But please, please do try out the program.

For developers: I used the AxWMP library to reference Windows Media Player i.e. create an instance of a WMP ActiveX control. Apart from that, all of it is pretty much my own work. There are still some niggles to be sorted out, but I hope that you guys can point out the more glaring errors. Thanks.

I’d really appreciate some feedback on this application.

24 Comments

  1. You made this?! Nice! I still haven’t tried it out, though.
    Also, can the playlist include DRM-protected WMAs, like those from Ovi Store? Then it’s replacing my alarm clock.

  2. Er.. wait.You mean you made this application? :O

    And,after instalingl it if I *do* use it,the first that I’ll do when it starts the music is switching of the speakers or do what I do best,switching the PC off,from the main supply that is.

  3. @Aditya – Umm…if WMP will play it, so will Sandman.
    @Pulkit – Yes, I made the application. Try not to switch off the PC from the mains, I’ve had some bad experiences.

  4. pls work on keeping d pc in hibernation mode……..coz even though d idea is ingenious,it is not economical….dnt mind me saying dat…but im a snorr-sleeper and till date no sophisticated alarm has d power 2 wake me up lest supportd by my mother’s scream…….

  5. Sure Smriti, as soon as I get the time, I’ll get that thing done. But it isn’t all that easy, so don’t fret…:-P

  6. dude, awesome stuff ! something i was looking for :D

    there’s a problem. can you work on making the problems such that i dont have to get a pen and paper to solve them? i mean, 26/62 aint mental math is it? and when that wakes up all of your roomies, it sure isn’t a pretty sight :P

  7. Sure…I think I can tone it down a bit…how’s Singapore by the way? Sorry we couldn’t meet before you left, but it was all a bit sudden, I think, for you as well, as I saw on your blog. Nice to know that you tried out the app.

  8. singapore’s awesome :) schooling is such that you just fall in love with it! and yeah, no IIT coachings :P so life is better yes. and yes i couldn’t meet up with a whole lotta people i had to meet, just because it happened all of a sudden, and i was involved with school competitions till the last day! so gave me no time at all

    and for your app hmmm, i find it to be pretty nifty, atleast for a laptop coz i can keep it plugged in w/o hibernating it…and somehow the clock at the top isnt working properly, like right now, its showing 1:0:0, 1:00:01 when it should be showing 11:00:ss as the time…

  9. I’m not getting your problem. You’re saying that it says its 1 AM instead of 11 AM?

  10. Well, I tried out changing my time from 01 to 11 to 23:00 hours, and also to 12-hour clock, and then changing the time, but Sandman seems to be working fine. It’s true that it doesn’t have a 12-hour clock mode yet, mainly because I never use it. All my digital clocks are in 24-hour mode, I’ll work on that too.

  11. the digits aren’t appearing. at least for the hours…the minute section shows digits alternately, same for seconds, but hours show single digits…

  12. Could you send me a couple of screenshots of the two different stages? I think I’ve isolated the problem, but will probably need a little more input about your PC date and time settings before I can work out a fix. It has something to do with the flickering colons. In the 100% working version of the program, the colons separating hh:mm:ss flicker each second like a real digital clock.

  13. the earlier problem is over now, but i cannot see the hours digits.

  14. Pingback: A bad day indeed « TheDolt's Blog

  15. Pingback: Getting in shape : The First Workout « The Tech Nut

  16. ok new concept.
    parental control programme, only that it asks you a set of questions from all fields which is synchronized with school syll (later stage, for now just some questions). must answer atl 70% or above to use comp again. otherwise locked.

    what say?

  17. Fair enough…requires a bit of restructuring, but it’s possible, with a DB to store questions

  18. sorry to bother you, but can you help me make one? i’m a noob with VB. a small prototype which works to some extent… :P i’ll drop in with more details if you can help :)

  19. i got another idea…..combine your mobile and pc
    your pc will have speakers connected to the cpu with a sort of 3.5 inch jack put it in the headphones socket an put it as music stand/out…set the alarm an you are good to go…no need to keep d pc running(cuz basically u attached big speakers to it) …… for lappy’s use bluetooth(don’t quite see the point cuz lappy sound output is pretty much the same as a good music phone)

  20. Yes, that works. In fact, you can do that with any speakers for that matter, why just PC speakers. Thing is, here you can set playlists, have a little sleep timer and solve fiendish (they will seem fiendish at 6 in the morning) math problems (3 of them) before the music shuts off. I haven’t worked on this for a while, but thanks for reminding me that I have a relatively lazy April coming up. :)

  21. How exactly did you make it? Not seen it yet, installing.

  22. Used VB. And WMP’s API for playback. But playlist management is local, not via API.

  23. Pingback: A bad day indeed | TheDolt's Blog

Leave a Reply

Required fields are marked *.

Connect with Facebook

*


More in Journal, Tech (115 of 433 articles)