Network Controllable MP3 Player
BRADY THORNTON & JASON BROWN (GROUP 12)
Network Controllable MP3 Player BRADY THORNTON & JASON BROWN - - PowerPoint PPT Presentation
Network Controllable MP3 Player BRADY THORNTON & JASON BROWN (GROUP 12) Goal A user-friendly MP3 player that can be controlled from any computer in your home. How? Music playback: Decode and play MP3 files stored on an SD card. Network
BRADY THORNTON & JASON BROWN (GROUP 12)
A user-friendly MP3 player that can be controlled from any computer in your home. How?
Music playback: Decode and play MP3 files stored on an SD card. Network Control: Integrate a web server and client API for controlling playback. User-Friendliness: Design a user interface to bring these components together.
server architecture
DE2 components with some interfacing glue in the FPGA
wherever possible (SD IP core, audio codec)
blocks occurs on the Avalon bus
Out In InOut
System Boundary NIOS II/f CPU @ 100MHz SDRAM Audio Codec LCD SPI Interface Avalon Bus
I2C & Data Bus
SD Card Audio Out Ethernet Controller Ethernet
III encoding specifications.
client updating.
album covers, artist biographies, and recommended artists.
uC/OS-II operating system
MP3 Decoder Task Web Server Task Hardware Audio Buffer Interrupts Player State data API calls
samples to perform real-time task switching.
ISR posts to a binary semaphore, dispatching further MP3 decoding.
CPU to the web server task.
MP3 Decoder: Decode 1 second of audio (~ 0.65 seconds) Serve client requests (~ 0.35 seconds) 1 Second Audio out: play 1 second of audio (Signal decoder when running low)
a control request has been made.
are no race conditions or other undesirable behavior during state changes.
tracks to control the output of audio samples.
requests are instantaneous.
is JSON formatted.
success or its failure.
WEB APPLICATION