
Hi, I'm looking for a way of playing a tone sequence in C/C++ on a Linux operating system. There's an easy way of going this for J2ME devices where a tone sequence is defined as in this<http://download.oracle.com/javame/config/cldc/opt-pkgs/api/mm/jsr135/javax/microedition/media/control/ToneControl.html#tone_sequence_format> case. However, in my case, I want this in C/C++. I've tried projects like beep but without much success. Second one, what's the best way to detect "idle time" in C/C++ using pwrap/pwrap2 as the GUI library, how can you start an event if a user not interacting with the particular program say for 5 minutes? Somewhat like what you would do to activate a screensaver prefferably without using hooks and working in Linux. Please give me any leads on this. Thanks. -- Regards, Mike Muraguri Skype: mickie.mic M: + 254 722 799445