Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Can't Play Multiple Mp3 in Spresense Audio Arduino Library

    Spresense
    2
    2
    2326
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Suhail P last edited by

      I am building an MP3 Player with my new Spresense development board. I will explain what is my requirement.
      I have a 3 button connected to the spresense development board :
      Previous / Stop or Play / Next

      I have 10 songs from "song1.mp3" to "song10.mp3"

      I need to play specific music according to the buttons input.

      I tried the Player examples in Arduino. But I can only play single music because the file is accessing in the setup function of the code. I tried to place the file calling code in loop function in a different method. But it will play the song for 3 sec then it got an error and stop playing music. Can anyone help me fast, please!

      1 Reply Last reply Reply Quote
      • TE-KarlKomierowski
        TE-KarlKomierowski DeveloperWorld last edited by

        Hi @Suhail-P

        Could you share your code, music files and also the error log?
        That then we can try to reproduce this here and see how we can help you.
        Thanks,
        BR
        Karl

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal