I am doing mice behavioral training. I have an arduino-controlled box for that. The sounds are play using Mp3 player controlled b the arduino. However, the mp3 player is not good enough for my needs.
I need two clear sounds of 10 msec duration and freqiencies of 5000Hrz and 1000Hrz. (I prefer pure sine waves but can compromise on triangle or, for now, even square). The problem is that the mp3 is not fast enough and the volume is too low for 10 msec durations. When I tried to build gain circuit it became too noisy.
I tried to use the Tone function but it is again not good for 10 msec sounds. espacially in the jigj frequency/
I created the wavefiles in Matlab. The PC plays the file in the right volume with no nose. However, I don't know how to make the arduino play the files from the computer.
Is there a relative simple way to do it, without bying extra hardware? If now, is there ANY way of doing it?
or another option, Is there a way for the arduino to play files from a wave generator? (I have these in my lab)
Thanks!