An over at IBM developerWorks an article has been posted titled Whistle while you work to run commands on your computer:

"Use Linux® or Microsoft® Windows®, the open source sndpeek program, and a simple Perl script to read specific sequences of tonal events -- literally whistling, humming, or singing at your computer -- and run commands based on those tones. Give your computer a short low whistle to check your e-mail or unlock your your screensaver with the opening bars of Beethoven's Fifth Symphony. Whistle while you work for higher efficiency."

<joke>Be warned, if your microphone picks up your co workers humming or mumblings it may cause unexpected results :P</joke>

Update: See also Knock-based commands for your Linux laptop

Martin
  • Comment on Whistle while you work to run commands on your computer

Replies are listed 'Best First'.
Re: Whistle while you work to run commands on your computer
by zentara (Cardinal) on Jan 12, 2007 at 13:06 UTC
    "...... Be wary of using cmdWhistle to do anything requiring authentication on your system.... "

    I hear if you run this as root, and have "Stairway to Heaven" playing in the background, it formats your hard drive. :-)


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      > I hear if you run this as root, and have "Stairway to Heaven" playing in the background, it formats your hard drive. :-)

      You did not got it right - you need to play it in reverse!

        Just tried it, but got nude pictures of Madonna.

        I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: Whistle while you work to run commands on your computer
by zentara (Cardinal) on Jan 12, 2007 at 17:24 UTC
    Hey, I don't want to give the impression that this app is a joke. The sndpeek program has give me the most fun I've had in quite a while. Everyone ought to look at it.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: Whistle while you work to run commands on your computer
by ady (Deacon) on Jan 15, 2007 at 21:00 UTC
    Great fun - I hacked it a little to work on Windoze. When anyone in the project whistles (the right note), our cruise conntrol server will now announce "Building next version, please be patient" (using a text2speech util) and do a forced build. Quite usefull. Tnx!
    Allan