News

on video All volume control input output data


 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 ways to use push buttons in your projects (e.g. hacking mouse and keyboard, or Arduino, gainer, MCK). This proposes 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 connect with Audio". Please see others: Fader, and Sensor.

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

At 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.

Now you are ready to solder the push button to the middle of the cable. Before soldering, the cutting side of the cable needs to be twisted to avoid expanses.


Then you are ready to solder the plugs to the each end of the cable. Be assured to solder the switch side of the cable to the center of the plug. Before soldering, the plug cover needs to be installed in the cable and the cutting side of the cable needs to be twisted to avoid expanses. After soldering, just attach the cover for the plugs.


Now you have a set of a switch, two plugs, and a cable. Using multimeter on the resistance between the plugs. Tips (upper side) should be infinity and grounds (lower side) should be zero.


Open your programming environment (e.g. MaxMSP, Pure Data, Flash, SuperCollider). If it could treat audio input and output, any environment is ok.


At this time, we use MaxMSP and Pure Data.


Assign an audio signal (e.g. 10000Hz sine wave) for audio output.


Set volume calculator for audio input. At this time, we use a meter~ object on MaxMSP, and a threshold~ object on Pure Data.

Add a receiver for the calculator / threshold. In this time we use a 'toggle' object on MaxMSP, and a 'print' object on Pure Data.


Here are basic examples of MaxMSP and Pure Data patches.


 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 ways to use push buttons in your projects (e.g. hacking mouse and keyboard, or Arduino, gainer, MCK). This proposes 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 connect with Audio". Please see others: Fader, and Sensor.

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

At 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.

Now you are ready to solder the push button to the middle of the cable. Before soldering, the cutting side of the cable needs to be twisted to avoid expanses.


Then you are ready to solder the plugs to the each end of the cable. Be assured to solder the switch side of the cable to the center of the plug. Before soldering, the plug cover needs to be installed in the cable and the cutting side of the cable needs to be twisted to avoid expanses. After soldering, just attach the cover for the plugs.


Now you have a set of a switch, two plugs, and a cable. Using multimeter on the resistance between the plugs. Tips (upper side) should be infinity and grounds (lower side) should be zero.


Open your programming environment (e.g. MaxMSP, Pure Data, Flash, SuperCollider). If it could treat audio input and output, any environment is ok.


At this time, we use MaxMSP and Pure Data.


Assign an audio signal (e.g. 10000Hz sine wave) for audio output.


Set volume calculator for audio input. At this time, we use a meter~ object on MaxMSP, and a threshold~ object on Pure Data.

Add a receiver for the calculator / threshold. In this time we use a 'toggle' object on MaxMSP, and a 'print' object on Pure Data.


Here are basic examples of MaxMSP and Pure Data patches.

No comments