title: Audio Input Programming
body: <p>What im playing around with is out of the scope of the usual programming I do so I thought I would ask before I waste more time.</p>
  
  <p>So basically I have a button (usually found on a computers ON/OFF switch) and using my not-so vast knowledge of electronics I have connected it to a standard audio cable (which is of course connected to my computers audio in jack). Through Audacity I have found that when I click the button an audio wave form is generated and picked up.</p>
  
  <p>This is all very basic stuff, I left my Arduino back at my parents place so In desperation I have decided to use my sound card as a micro-controller.</p>
  
  <p>Anyway I'm sure you all know where I am going with this.
  How can I get to programming a little app that runs on Command Prompt(For testing) and as a background process that will monitor and process the information coming from the input to do certain task (Like locking my computer or opening up Firefox etc...)?</p>
  
  <p>I work with Java as part of my Computing Degree(We are still learning very basic stuff... hence the question) and also work with PHP on a daily basis for work, so I don't mind learning a new language if I have to.</p>