Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Whistle while you work to run commands on your computer

by marto (Archbishop)
on Jan 12, 2007 at 09:36 UTC ( #594335=perlnews: print w/replies, xml ) Need Help??

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 (Archbishop) 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 (Archbishop) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://594335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2019-03-26 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (125 votes). Check out past polls.

    Notices?