Friday, 14 June 2013

FINAL PURE DATA CODE

This was the code that would allow me to play all four of the drum samples through each of the pressure sensors. 

Thursday, 13 June 2013

DRUM SAMPLES IN PURE DATA

With help from my tutor we found a way to connect the Arduino testing code within pure data to the code I constructed to play the sample sounds i got from my Fruity loops Library.


The piece of code we used was a object called Moses. This meant i could tell the bang for the drum sound to trigger once the Moses received more than a certain amount of resistance.


This is the final code that allowed me to play the drum sample once with every click of the bang. (exactly what i needed)

This use of the moses was to connect the arduino test to the bang of the drum sample. Meaning i could communicate with pure data through each of the analog ports. 

Monday, 10 June 2013

TESTING SENSORS


After my sensors arrived i decided to put them through a test.
I connected them to a Led light so that when the sensors were pressed they lit up the Led. This in the final product will tell me if the sensors are still connected to the circuit and if the circut is still in tact. 

Saturday, 8 June 2013

ANALOG FIRMATA


I needed to upload the basic analog firmata code to the pro mini so that when I connect it via bluetooth to my computer, pure data will be able to communicate with it. 








Friday, 7 June 2013

RESOLVING WIRES

A large obstacle I am to face is the problem of cables. For my first prototype i will aim to connect the shoe directly to the computer through the arduino's usb outlet. 
I will need to look for another option to connect the other shoe to the computer. 

I could look for a smaller arduino (perhaps a pro mini) that could fit inside the shoe and connect it via bluetooth to my computer.  



Wednesday, 5 June 2013

FIRST EXPERIMENT

I set up an interface where I could load a sound into pure data and play it. 
The problem with this particular code was that the sound keeps replaying once it is loaded. To be able to connect my arduino to this piece of code i will need the sound of the drum kit to play once with a bang so that i can trigger it with hardware.