Answer the question
In order to leave comments, you need to log in
How to play MP3 sample with arduino without interruption?
Good day!
The idea came to me, as a beginner airsoft player, to make a sound of a shot for my M4. I bought an arduinka nano, MP3-TF-16P. I collected it, flashed it, checked it - it plays, then I tried it from the battery - it doesn’t play, it doesn’t stupidly start ... But that’s not the point, I burned it anyway, the arduino is not sewn. The main question is that when the button is pressed, the track is played with a certain delay, about a second +/-, that is, a shot - a pause - a shot, etc. Is it possible to somehow remove this pause without knowing in advance whether the shot will be a single shot or a burst?
Answer the question
In order to leave comments, you need to log in
There can be a lot of reasons: an outdated library for arduino, a defective module / sd card, a large file size. I personally bet on the last - try a small wav
It is not entirely clear why complex stray is used to reproduce a simple short sound. Google what covox is and you will be happy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question