Can arduino display audio song?

Discussion in 'The Projects Forum' started by kuannygohcheetatt, Sep 15, 2014.

  1. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    Hi , i searched internet and found our that most arduino can display only audio in terms of wav form. However, i want arduino to display a whole song (with people singing) instead of just tone, can arduino do that ?
     
  2. pwdixon

    Member

    Oct 11, 2012
    488
    56
    A wav file is just a collection of instantaneous voltages that you output to a speaker. If you wanted tones eg a spectrum like a equaliser then you would need to do a fourier analysis. You could use an arduino to do an a/d and then output the voltages as a series of LED's say and the display would contain everything in the audio all at once as simple intensity values.
     
  3. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0

    If i store the music into sd card and just use arduino to retrieve it,do i still nid to do fourier analysis?
     
  4. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,804
    833
    Curious, what do you mean by "display a whole song"? What are you expecting to display. If you mean play a whole song, more than just tones, there are MP3 and WAV shields that play songs recorded in those formats.
     
  5. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,804
    833
    The shields I mentioned also come with libraries to control the music. The music is stored on an SD card as you suggested.
    Here is one product. https://www.sparkfun.com/products/10628
    Read up on it and you'll get more ideas.
     
  6. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    Yaya that is what i mean , but can i dun purchase the shield? I mean just use arduino and an sd card to achive that thing? Can?
     
  7. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    Er sry also to ask , what is the difference between wave format and mp3 format ( haha sry for asking such dumb) question
     
  8. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,804
    833
    The SD card reader requires extra supporting electronics, which the shields supply. Similarly, the shield provides the necessary digital to analog conversion in one of the supported formats, as well as supplying amplification if needed for the audio.

    In brief, in one module, the developer (you) is given a complete package to use.
     
    absf likes this.
  9. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,804
    833
    Google is your friend. Briefly, each music format (WAV, MP3, MP4, FLAC…) stores the sound in different bit patterns. WAV is the full spectrum, uncompressed sound encoding, everything. This makes for a large file size and as such is unsuitable for music distribution. MP3 is a compressed encoding method, omitting parts if the spectrum that can't be heard. This varies based on sampling rate.
    In my case, I was using short audio clips, and the size was not an issue and I used WAV files. The next version will use MP3 files.
     
    absf likes this.
Loading...