What I was Posting before I Realized This was Necroposting:
That's actually possible. Get the audio jack piece, and connect it to your computer. Now, when you play a loud sound with scratch, it will output a small current into the audio jack. You can amplify this with transistors.