user55067: I am working with Arduino which activates a box which is similar to a Skinner Box. Some of the output sound stimuli are sine waves with duration of less then 5 milliseconds. I output the sounds using the MP3 module DFR0299.
However there are too much problems using this module: it seems like the module has a wakening delay of around 100 ms, so it is not working well with this duration and below (the response time of the module is important).
So, I was thinking of buying a better module. However, I am far from being an expert in these things..
I can look for other modules in the internet, but, just from looking at the datasheets, I cant tell if the quality of the module is what I need.
I would be grateful if any of you could give me names of modules that might feet my requirements (or even advice me at what to look in the datasheets)
Thanks!

user37919: I'm going to suggest that you stay away from these mp3 modules. It is perfectly reasonable to use a stand-alone arduino unit to directly generate sound using the digital output pins with a low-pass filter RC circuit. This is the most efficient way of doing this and will give you a very low activation latency.
https://playground.arduino.cc/Code/PwmFrequency/
The other option is to connect a DAC circuit and simply build a sample table for the wave outputs you need for each tone.

user42015: MP3 modules are way to complex for this project. Tracks of 5ms at max may even be stored directly on the Arduino in raw wave format (without any compression)(depending on the resolution and sample frequency), and then outputted by it.
Since the PWM with low-pass filter method is rather noisy and not very accurate (especially for higher frequencies), you may want to use an external DAC chip. These are available with parallel input port or with SPI. I would suggest using SPI, which is fast and does only need 3 pins (+1 for slave select, if needed). Put the raw wave values into an array and send them to the DAC to output. Depending on available memory and number and size of your tracks you may be able to save them directly on the Arduino. If not, you may want to use an SD card, to save a library of tracks, which then get loaded onto the Arduino and played. This way you would only need to hold 1 or 2 (if double buffered) tracks in the Arduino's RAM.

55067: <p>I am working with Arduino which activates a box which is similar to a <a href="https://en.wikipedia.org/wiki/Operant_conditioning_chamber" rel="nofollow noreferrer">Skinner Box</a>. Some of the output sound stimuli are sine waves with duration of less then 5 milliseconds. I output the sounds using the MP3 module <a href="https://cdn.instructables.com/ORIG/FGT/H5J3/IUKEZCYF/FGTH5J3IUKEZCYF.pdf" rel="nofollow noreferrer">DFR0299</a>.</p>

<p>However there are too much problems using this module: it seems like the module has a wakening delay of around 100 ms, so it is not working well with this duration and below (the response time of the module is important).</p>

<p>So, I was thinking of buying a better module. However, I am far from being an expert in these things..</p>

<p>I can look for other modules in the internet, but, just from looking at the datasheets, I cant tell if the quality of the module is what I need.</p>

<p>I would be grateful if any of you could give me names of modules that might feet my requirements (or even advice me at what to look in the datasheets)</p>

<p>Thanks!</p>
 37919: <p>I'm going to suggest that you stay away from these mp3 modules. It is perfectly reasonable to use a stand-alone arduino unit to directly generate sound using the digital output pins with a low-pass filter RC circuit. This is the most efficient way of doing this and will give you a very low activation latency.</p>

<p><a href="https://playground.arduino.cc/Code/PwmFrequency/" rel="nofollow noreferrer">https://playground.arduino.cc/Code/PwmFrequency/</a></p>

<p>The other option is to connect a DAC circuit and simply build a sample table for the wave outputs you need for each tone.</p>
 42015: <p>MP3 modules are way to complex for this project. Tracks of 5ms at max may even be stored directly on the Arduino in raw wave format (without any compression)(depending on the resolution and sample frequency), and then outputted by it.</p>

<p>Since the PWM with low-pass filter method is rather noisy and not very accurate (especially for higher frequencies), you may want to use an external DAC chip. These are available with parallel input port or with SPI. I would suggest using SPI, which is fast and does only need 3 pins (+1 for slave select, if needed). Put the raw wave values into an array and send them to the DAC to output. Depending on available memory and number and size of your tracks you may be able to save them directly on the Arduino. If not, you may want to use an SD card, to save a library of tracks, which then get loaded onto the Arduino and played. This way you would only need to hold 1 or 2 (if double buffered) tracks in the Arduino's RAM.</p>
