3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to Connect a Push Button with Audio Input and Output

How to Connect a Push Button with Audio Input and Output
A push button is one of a basic component for capturing your action. You can dynamically push a button to do something.

There are already several way to use push buttons in your projects (e.g. hacking mouse and keyboard, or Arduino, gainer, MCK). This probides alternative way to use push buttons with audio input and output.

We also present an application of this instructable from a work Monalisa "shadow of the sound".

All you need is just a push button, some soldering, and some software.

Note: This is a series of "How to coonect with Audio". Please see others: Fader, and Sensor.
 
Remove these adsRemove these ads by Signing Up
 

Step 1The Parts

The Parts
All of the following components can be found at your local electronics shop (e.g. maplin in UK, RadioShack in USA, Tokyu-Hands in Japan).

1 Push button
In this time, we choose a button with push on / off locking switch. However you could choose a push button with no lock, toggle switch, or foot switch instead.

2 3.5mm Mono Plug
One for audio input and another for audio output.

1 Twin Cable
You could use loudspeaker cable for this purpose. The length depends on how long you want.
« Previous StepDownload PDFView All StepsNext Step »
13 comments
Apr 27, 2010. 2:18 AMnikaki says:
 How can i use this to connect it on my midi keyboard volume control knob so I can control volume with my hand movement? I understand that I wouldnt need the audio transformer but what would i need instead?
Dec 7, 2008. 12:38 PMPapagiorgio says:
what can you use this for?
Jan 8, 2009. 7:35 PMwestfw says:
I think that the idea is that modern "high level" software has pretty much lost the ability to interface to "low level hardware" like, say, Buttons, even though it can deal with high-level concepts like sound and vision that traditionally use large amounts of CPU time. And a modern computer HAS lots of CPU time to spare, so the incremental cost of detecting that a button has been pressed by using sound-processing primitives is actually quite low; in fact, lower than figuring out how to connect a button directly to your PC hardware in ways that could be read more trivially.
Jun 17, 2009. 9:21 PMReCreate says:
Oh so with this you can detect ON and OFF of the switch?
Mar 14, 2009. 8:31 PMdodo91 says:
what exactly does it do? you should make it so it says what it does.
Nov 7, 2008. 5:28 PMwestfw says:
Wow. That's gotta be about the most convoluted way of reading a pushbutton I've ever seen. But you can't argue with the price, I guess (you do lose actual sound capability, right?) Can you get four pushbuttons by setting up the left and right output channels with different levels, and detecting the levels separate on left and right inputs? ("I got a LOUD signal on the RIGHT channel, that's button 4.") I oughta go into business selling cheap USB peripherals like buttons and sliders and switches and lights. (But Oh, the pain of interfacing to all that varied software!)
Jan 7, 2009. 3:28 PMraykholo says:
sounds cool , but that would involve complicated circuitry and an external power supply, right?
Jan 8, 2009. 12:39 PMraykholo says:
looks like a great site, but d u know any similar ones that are .com ?
Jan 8, 2009. 6:32 PMraykholo says:
yeah but too expensive, u have to get most of it off the site cuz its not in the stores, and theres is not enough variety

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
7
Followers
3
Author:jojporg