7inch Advance HMI v1.2

Hi.

My project needs to be able to play MP3 audio and display animated GIFs (both stored in the SPIFFS partition) at the same time.

I have the SPIFFS successfully configured with a custom partition and I can display animated GIFs using AnimatedGIF v2.2.0 and LovyanGFX v1.1.16 libraries. I cannot get audio to play.

When I work through lesson 2, I can get audio to stream using the supplied esp32-audioI2S-master library and I have tweaked that example code to work with the updated version 3.4.2 and successfully reading an MP3 from SPIFFS.

So I arrogantly thought I could just merge the proven code from both projects. Wrong (so far).

When I try to get audio and visual working in the same project though (that is, adding the audio to the LovyanGFX project or, the other way around, adding graphics to the esp32-audioI2S-master project), I can never get both to work in the same project.

I presume it is because I am a newb and there is some PIN conflict or something else that I just cannot fathom. I hope it is not that I am pushing the limits of what can be done with available resources.

All education welcome.

Cheers,

Dave

Comments

  • Dear Customer/Sender,

    Thank you for reaching out to us and for your continued support.

    We have seen your messages, and our technical support team is reviewing the details. Please allow us some time to look into the matter. We will get back to you as soon as possible with an update.

    In the meantime, pls check if you have provided the following information. if not, pls send to us, so that we can fix your problems faster.

    pl tell us exactly which of our products you are using. We need to know the SKU No. . Or Please provide the purchase link for the product. so that we can continue to analyze the issue

    Also, please provide the order number, product purchase link(if applicable), along with the name of the retailer, store, platform, or website where you purchased the product?
    This allows us to work with the seller to provide you with better service.

    We apologize for any inconvenience this may cause and appreciate your patience and understanding.

    Best regards,

    Quote

  • Thanks Jennie.
    I've messaged you privately with the order number and date and a link to the page as it is not allowing me to link to the page in this post.
    Things have moved along a little since my post in that I did manage to get sound and graphics at the same time but it is still not usable because the display flickers terribly as any sound is played and so it still feels like the same resource contention challenge. That display flicker is even if the display is not showing any kind of animation - a static jpg or a text label or even just a plain white background with nothing on it at all will flicker if sound is playing.
    Regards,
    Dave

Sign In or Register to comment.