I'm doing a uni project in which I need to trigger sounds in Max using objects. I've got a Max patch connected to Maxuino, and now I need to switch on and off manually (not clicking on the screen) the toggle that activates the sounds in Max.
I have in mind using aluminium foil and jogurt pots. The aluminium foil would be sticked on the bottom of the pot. So when I put an object in the pot, this touches the cables that would activate the circuit (GND + pin number). When the circuit is activated, it should turn the toggle on in Max, so the sound would sound.
Mi question: how do I switch on the toggle in Max? Do I need resistors? Is there any specific electronic circuit for this, or is just a simple circuit?
I'm a begginer on this, so I would very much appreciate any kind of help.