DF Player Pro+Arduino. Play specific sounds one after the other
Hello:
I bought a DFPLayer pro to be able to play wav files from its own memory, while arduino does “another things”.
Sadly I have found that though there is a function call “isplaying” to know when a sound has end it, while this function is been run, it “stalls” arduino execution, so at the end is more or less the same as inserting a delay in the code…, so I think this function is useless for my case.
I need to develope a function to send mini player something like this:
play_sounds("one.wav", “two.wav”, "four.wav");
So DFplayer takes care of playing those sounds (that are in it's memory), while Arduino takes care of other stuff…
Anyone know if any function of this type has been develop or any special function I can use to get to this goal?
Thanks for your time.
Not thanks to the help in this forum, I have conclude that DFplayer needs arduino to play the sounds, so for me is not of very much interest. I have used with much more sucess other reproduction modules wich play the sounds without “halting” arduino.
Francisco.Lopez-Linares
Success! It could be one of the most informative blogs we've come across on the subject. Great information! I am also a specialist in this field, so I understand your efforts very well. Thank you so much for your help. play slope
Is this forum officaly attend it?
Should I expect an answer from DFROBOT?
Francisco.Lopez-LinaresI have just realized that “DF1201S.playSpecFile”, also blocks de execition of arduino….., so with the actualk state of the firmare, I'm afraid the devices is useless for me :-(..
Francisco.Lopez-LinaresTake into account that In the memory there are 100 sounds, and an specific moment I need to play only those three sounds.., so the function that plays all the sounds on the folder can't be used.
Francisco.Lopez-Linares