Arduino audio project *Basic help needed*
in
Integration and Hardware
•
1 year ago
Hi all,
I'll start of by saying that I'm pretty much a newbie when it comes to processing and arduino, so please excuse my lack of technical terms! But we've all got to start somewhere hey.
I do have some basic coding knowledge, and have done a few simple projects using the Arduino Environment, so hopefully I'll be able to get to grips with what I need to learn asap!
Basically (very basically .... although I can go into more detail if you need) I'm doing a project that will play audio files through a pc when a hand is placed over a photoresistor on the arduino. I want the sound to be triggered when there is very low light, and stop immediately when the hand is removed. I will have 8 photoresistors - each with a different sound file linked to it (these need to play simultaneously if two or more photoresistors are covered).
I've got the Arduino picking up the required information, but now need to sort the audio out. I've been told that processing and minim may be able to help, but am having problems getting started. I've managed to upload StandardFirmware to the Arduino, but am stuck after that. Could someone tell me what instruction number 4 means please?
- Unzip the library and copy the "arduino" folder into the "libraries" sub-folder of your Processing Sketchbook. (You can find the location of your Sketchbook by opening the Processing Preferences. If you haven't made a "libraries" sub-folder, create one.)
- Run Arduino, open the Examples > Firmata > StandardFirmata sketch, and upload it to the Arduino board.
- Configure Processing for serial: http://processing.org/reference/libraries/serial/
- In Processing, open one of the examples that comes with with the Arduino library.
- Edit the example code to select the correct serial port.
- Run the example.
As it stands I've tried opening Processing and have typed 'Arduino.list();', but I get a message saying 'Cannot find anything named "Arduino"'
Any suggestions would be very welcome :-)
I've searched (at length) online for a solution to my problem, but all of the tutorials assume a basic knowledge of processing etc ... which unfortunately I don't have. If I could get my head around how to set it up, and some of the core principles, I think I'd be ok!
Thank you in advance :-)
1