mp3_decoder_vs1053b

vs1053b mp3 decoder sample

Author Matthew Schinkel, copyright © 2009, all rights reserved.
Adapted-by
Compiler >=2.4m

Description

example usage of the vs1053 mp3 decoder. plays .mp3 files from
             a fat32 formatted sd card. Full control of play speed, volume,
             right/left speaker, bass, treble, mute. Also plays
             Ogg Vorbis/AAC/WMA/MIDI


Sources

VLSI Solutions Datasheet - www.vlsi.fi/fileadmin/datasheets/vlsi/vs1053.pdf


Notes

vs1053 uses SPI mode 0,0
must use 12.288mhz crystal for vs1053b


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Private

Functions


API details

Global variables/contants

Procedures

Private
  • _vs_send_mp3(byte in data)

    Send mp3 data to vs1053b. This is only an example and should not be used
    to test. You should send 32 bytes at a time after when vs_drq goes high.
    vs_data_chip_select must be low for the entire transfer, but you can put it high
    once in a while for bit sync.
    
    

  • _vs_set_bass_treble_set()

    No documentation found

  • _vs_volume_set()

    No documentation found


Functions


Related samples

Here are the list of samples which use this library:

18f452518f4525_mp3_decoder_vs1053b_pata_hard_disk.jal
18f452518f4525_mp3_decoder_vs1053b_sd_card.jal
18f462018f4620_mp3_decoder_vs1053b_pata_hard_disk.jal
18f462018f4620_mp3_decoder_vs1053b_sd_card.jal
18f67j5018f67j50_mp3_decoder_vs1053b_sd_card.jal
18f67j5018f67j50_mp3_decoder_vs1053b_pata_hard_disk.jal