-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't completely load any Audio example #63
Comments
Copies of all used example libraries are placed in the lib directory “Audio.h” is here |
should this also work if using Platformio instead of Arduino IDE ? |
Of course it works. There is no difference between the two except the way they are built. |
I copy all the "ESP32-audioI2S" folder into /lib folder of my project. then I compile in Platformio with this: ` #ifdef HAS_I2S
#endif` I get : /Users/myUserName/.platformio/packages/framework-arduinoespressif32@3.20009.0/libraries/SD_MMC/src/SD_MMC.h:21:10: fatal error: FS.h: No such file or directory even adding: #include "FS.h" it still get this error and could not go further |
Post your platfromio.ini |
[env:ttgo_t_deck_plus] |
Yours is too complicated, I added a simple playback example |
You can try adding this in lib_deps = esphome/ESP32-audioI2S@2.0.6 |
added "esphome/ESP32-audioI2S @ 2.0.6" in lib_deps (and deleted the other from "/lib") compiled just to test without adding any more code than before and same: "In file included from /Users/ricardoguzman/.platformio/packages/framework-arduinoespressif32@3.20009.0/libraries/SD_MMC/src/SD_MMC.cpp:16: #include "FS.h" |
It seems that there is a problem with the platformio index and it cannot find the correct dependencies. There is no problem running it alone |
how could I add this "alone"?? |
In my example, it is normal I was wondering why this avatar looks so familiar, it turns out to be you again. Hahahaha I just tested it in your project, please fork a fork, comment out the following header file, and it can be compiled normally. This must be caused by a problem with the reference of platformio |
sorry to push so much lately but I'm willing to make lots of upgrades for this!!! 😃 so:
now it can be added a mp3 and plays: but I have 2 issues:
|
|
non of this posible added mods allow me to play a mp3 and avoid the 0,5sec crack sound when play stops |
I didn't notice any popping sounds when I ran it. Does this have anything to do with the audio file? |
tried using the "Audio.h" for playing a mp3 file through T-deck speaker, but cant find a way to even import libraries needed on platformio to make use of the speaker play.
any small guide as which library to use?
The text was updated successfully, but these errors were encountered: