Play audio files in microcontroller (Arduino) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag? The Ask Question Wizard is Live!Decoding Encoded Audio Data (MP3s, etc) on Android Without Playing ItProperly open audio files with libav/ffmpegPlay Base64 encoded audio file in javaWhich microcontroller for fast high quality audio switching and playbackC++ FFmpeg distorted sound when converting audioNo audio output Teensy 3.2 using either onboard DAC or USB passthroughReading/writing various audio file metadata in WindowsRetrieving and playing audio file from server'Mono' FFT Visualization of a Stereo Analog Audio Source

Is it fair for a professor to grade us on the possession of past papers?

Echoing a tail command produces unexpected output?

What does the "x" in "x86" represent?

How to react to hostile behavior from a senior developer?

3 doors, three guards, one stone

ListPlot join points by nearest neighbor rather than order

Should I use a zero-interest credit card for a large one-time purchase?

English words in a non-english sci-fi novel

The logistics of corpse disposal

Fundamental Solution of the Pell Equation

51k Euros annually for a family of 4 in Berlin: Is it enough?

What is the logic behind the Maharil's explanation of why we don't say שעשה ניסים on Pesach?

How do I name drop voicings

When were vectors invented?

How to deal with a team lead who never gives me credit?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Book where humans were engineered with genes from animal species to survive hostile planets

How to answer "Have you ever been terminated?"

List of Python versions

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

How to bypass password on Windows XP account?

Why is "Consequences inflicted." not a sentence?

What is Wonderstone and are there any references to it pre-1982?



Play audio files in microcontroller (Arduino)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?
The Ask Question Wizard is Live!Decoding Encoded Audio Data (MP3s, etc) on Android Without Playing ItProperly open audio files with libav/ffmpegPlay Base64 encoded audio file in javaWhich microcontroller for fast high quality audio switching and playbackC++ FFmpeg distorted sound when converting audioNo audio output Teensy 3.2 using either onboard DAC or USB passthroughReading/writing various audio file metadata in WindowsRetrieving and playing audio file from server'Mono' FFT Visualization of a Stereo Analog Audio Source



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















I try to make a bluetooth speaker with a microcontroller (arduino, teensy... I don't have a defined model, because I'm considering the frecuency)



My question is if I want to put a SD, for reading music stored, the problem is there are library only for ".wav" files, but I want to extend for ".mp3", ".m4a", ".aac" and other.



Exist any library for this? and if is not, How I can do it?



I need to decode an audio files, convert the data in bytes and send it to the DAC.
An example code in C++ will help me a lot, I can created a new library for this.



I don't want use modules, I want to try to do my own circuit.



Edit:
I gonna use a third party microcontroller compatible with arduino, because I need more capacity for audio.



PDT: Sorry for my bad English.



PDT1: I don't know if I had to post this in arduino o electrict defined, so I put in general.










share|improve this question






























    -1















    I try to make a bluetooth speaker with a microcontroller (arduino, teensy... I don't have a defined model, because I'm considering the frecuency)



    My question is if I want to put a SD, for reading music stored, the problem is there are library only for ".wav" files, but I want to extend for ".mp3", ".m4a", ".aac" and other.



    Exist any library for this? and if is not, How I can do it?



    I need to decode an audio files, convert the data in bytes and send it to the DAC.
    An example code in C++ will help me a lot, I can created a new library for this.



    I don't want use modules, I want to try to do my own circuit.



    Edit:
    I gonna use a third party microcontroller compatible with arduino, because I need more capacity for audio.



    PDT: Sorry for my bad English.



    PDT1: I don't know if I had to post this in arduino o electrict defined, so I put in general.










    share|improve this question


























      -1












      -1








      -1








      I try to make a bluetooth speaker with a microcontroller (arduino, teensy... I don't have a defined model, because I'm considering the frecuency)



      My question is if I want to put a SD, for reading music stored, the problem is there are library only for ".wav" files, but I want to extend for ".mp3", ".m4a", ".aac" and other.



      Exist any library for this? and if is not, How I can do it?



      I need to decode an audio files, convert the data in bytes and send it to the DAC.
      An example code in C++ will help me a lot, I can created a new library for this.



      I don't want use modules, I want to try to do my own circuit.



      Edit:
      I gonna use a third party microcontroller compatible with arduino, because I need more capacity for audio.



      PDT: Sorry for my bad English.



      PDT1: I don't know if I had to post this in arduino o electrict defined, so I put in general.










      share|improve this question
















      I try to make a bluetooth speaker with a microcontroller (arduino, teensy... I don't have a defined model, because I'm considering the frecuency)



      My question is if I want to put a SD, for reading music stored, the problem is there are library only for ".wav" files, but I want to extend for ".mp3", ".m4a", ".aac" and other.



      Exist any library for this? and if is not, How I can do it?



      I need to decode an audio files, convert the data in bytes and send it to the DAC.
      An example code in C++ will help me a lot, I can created a new library for this.



      I don't want use modules, I want to try to do my own circuit.



      Edit:
      I gonna use a third party microcontroller compatible with arduino, because I need more capacity for audio.



      PDT: Sorry for my bad English.



      PDT1: I don't know if I had to post this in arduino o electrict defined, so I put in general.







      audio arduino dac arduino-c++






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 at 17:45







      emmanuel medina gonzalez

















      asked Feb 28 at 0:30









      emmanuel medina gonzalezemmanuel medina gonzalez

      43




      43






















          2 Answers
          2






          active

          oldest

          votes


















          0














          The Arduino does not have sufficient resources to do this. An MP3 decoder needs plenty of memory and floating point support. The AVR processors used for Arduinos have neither of these.



          The only way you are going to do this with a Arduino is if you use a module.






          share|improve this answer

























          • Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

            – emmanuel medina gonzalez
            Mar 1 at 17:27











          • For that Arduino Due should also work.

            – Gerhard
            Mar 6 at 10:21











          • a teensy compatible with arduino

            – emmanuel medina gonzalez
            Mar 8 at 17:26


















          0














          I found my solution:



          Teensy base on ARM microcontroller (Cortex-M3 & M4) come with FPU, have capacity for play videos. Teensy is a board compatible with arduino. With DAC and SD slot. Adafruit have a library for play .mp3 on this board.



          Well .mp3 is enough for me, but in the future I want to learn how to decode other audio file formats






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54916613%2fplay-audio-files-in-microcontroller-arduino%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The Arduino does not have sufficient resources to do this. An MP3 decoder needs plenty of memory and floating point support. The AVR processors used for Arduinos have neither of these.



            The only way you are going to do this with a Arduino is if you use a module.






            share|improve this answer

























            • Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

              – emmanuel medina gonzalez
              Mar 1 at 17:27











            • For that Arduino Due should also work.

              – Gerhard
              Mar 6 at 10:21











            • a teensy compatible with arduino

              – emmanuel medina gonzalez
              Mar 8 at 17:26















            0














            The Arduino does not have sufficient resources to do this. An MP3 decoder needs plenty of memory and floating point support. The AVR processors used for Arduinos have neither of these.



            The only way you are going to do this with a Arduino is if you use a module.






            share|improve this answer

























            • Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

              – emmanuel medina gonzalez
              Mar 1 at 17:27











            • For that Arduino Due should also work.

              – Gerhard
              Mar 6 at 10:21











            • a teensy compatible with arduino

              – emmanuel medina gonzalez
              Mar 8 at 17:26













            0












            0








            0







            The Arduino does not have sufficient resources to do this. An MP3 decoder needs plenty of memory and floating point support. The AVR processors used for Arduinos have neither of these.



            The only way you are going to do this with a Arduino is if you use a module.






            share|improve this answer















            The Arduino does not have sufficient resources to do this. An MP3 decoder needs plenty of memory and floating point support. The AVR processors used for Arduinos have neither of these.



            The only way you are going to do this with a Arduino is if you use a module.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 28 at 9:05

























            answered Feb 28 at 8:58









            GerhardGerhard

            4,83434071




            4,83434071












            • Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

              – emmanuel medina gonzalez
              Mar 1 at 17:27











            • For that Arduino Due should also work.

              – Gerhard
              Mar 6 at 10:21











            • a teensy compatible with arduino

              – emmanuel medina gonzalez
              Mar 8 at 17:26

















            • Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

              – emmanuel medina gonzalez
              Mar 1 at 17:27











            • For that Arduino Due should also work.

              – Gerhard
              Mar 6 at 10:21











            • a teensy compatible with arduino

              – emmanuel medina gonzalez
              Mar 8 at 17:26
















            Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

            – emmanuel medina gonzalez
            Mar 1 at 17:27





            Yes, I know it, but there are some third-party arduino Cortex M3 and M4 microcontroller. Like Teensy or Adafruit Metro compatible with arduino.

            – emmanuel medina gonzalez
            Mar 1 at 17:27













            For that Arduino Due should also work.

            – Gerhard
            Mar 6 at 10:21





            For that Arduino Due should also work.

            – Gerhard
            Mar 6 at 10:21













            a teensy compatible with arduino

            – emmanuel medina gonzalez
            Mar 8 at 17:26





            a teensy compatible with arduino

            – emmanuel medina gonzalez
            Mar 8 at 17:26













            0














            I found my solution:



            Teensy base on ARM microcontroller (Cortex-M3 & M4) come with FPU, have capacity for play videos. Teensy is a board compatible with arduino. With DAC and SD slot. Adafruit have a library for play .mp3 on this board.



            Well .mp3 is enough for me, but in the future I want to learn how to decode other audio file formats






            share|improve this answer



























              0














              I found my solution:



              Teensy base on ARM microcontroller (Cortex-M3 & M4) come with FPU, have capacity for play videos. Teensy is a board compatible with arduino. With DAC and SD slot. Adafruit have a library for play .mp3 on this board.



              Well .mp3 is enough for me, but in the future I want to learn how to decode other audio file formats






              share|improve this answer

























                0












                0








                0







                I found my solution:



                Teensy base on ARM microcontroller (Cortex-M3 & M4) come with FPU, have capacity for play videos. Teensy is a board compatible with arduino. With DAC and SD slot. Adafruit have a library for play .mp3 on this board.



                Well .mp3 is enough for me, but in the future I want to learn how to decode other audio file formats






                share|improve this answer













                I found my solution:



                Teensy base on ARM microcontroller (Cortex-M3 & M4) come with FPU, have capacity for play videos. Teensy is a board compatible with arduino. With DAC and SD slot. Adafruit have a library for play .mp3 on this board.



                Well .mp3 is enough for me, but in the future I want to learn how to decode other audio file formats







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 8 at 17:45









                emmanuel medina gonzalezemmanuel medina gonzalez

                43




                43



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54916613%2fplay-audio-files-in-microcontroller-arduino%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    1928 у кіно

                    Захаров Федір Захарович

                    Ель Греко