Pages: [1]   Go Down
Author Topic: getting started  (Read 462 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi. I am still new to arduino and am working on a project that will use force sensors (placed in a floor mat) to trigger an audio file (mp3 or wav-whichever is best supported). There will be several sensors and several files. I wonder if I can do this by modifying the blink LED with a push button( or light sensor) sketch? Is it possible to have this trigger a file to be loaded or will I have to write the program in Processing?
I have been working on a sketch in Processing that uses a keyPressed() to load a a wav and/or mp3 file using the minim library but have been having many difficulties. I am wondering if I am approaching this correctly and could really use some advice on where to start... ( I do have a deadline smiley-roll-sweat)

Thank you.....
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48569
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I do have a deadline
Hopefully is sometime next June...

Quote
am working on a project that will use force sensors (placed in a floor mat) to trigger an audio file (mp3 or wav-whichever is best supported).
What is going to play the wav or mp3 file? Not the Arduino. You need a shield.

Quote
There will be several sensors and several files.
Fine. No problem.

Quote
I wonder if I can do this by modifying the blink LED with a push button( or light sensor) sketch?
Good idea. Just remove everything before setup(), everything between the curly braces that delimit the setup() function, and everything between the curly braces that delimit the loop() function. Then add a little new code.

Quote
Is it possible to have this trigger a file to be loaded
Yes. First, define the circumstances that cause a file to be loaded, then define the circumstances that defines which file is to be loaded, then define where the file is to be loaded from.

Quote
or will I have to write the program in Processing?
No. The Arduino can't run Processing sketches.

Quote
I have been working on a sketch in Processing that uses a keyPressed() to load a a wav and/or mp3 file using the minim library but have been having many difficulties.
Ruh, roo.

Quote
I am wondering if I am approaching this correctly
So am I. It's hard to tell from your code.

Quote
and could really use some advice on where to start...
OK. You only need one punctuation mark at the end of a sentence.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


check this - https://www.adafruit.com/products/94 -

look at sparkfun for the force  sensors you have or something similar, there is a big chance there is some proto code to get you started.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: