Jump to content
  • 0

Getting Started w/ Audio on Zybo


jgoglio

Question

Hi everyone,

 

I have seen discussion on this topic already in previous posts, but I am hoping someone has made a little progress and just hasn't posted yet.

 

I'm hoping to be able to play audio (SFX & music) in a pong game I've made with Zybo. Does anyone have tips/experience on how to achieve this?
FYI: I have an SD card, so that would be an option for audio file storage.

 

Thanks for your time and effort! I am enjoying Zybo immensely so far.

-Josh

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hi Josh,

A good reference may be the DMA audio demo with the zybo located here https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-dma-audio-demo/start

It will at least show you the I2S controller and the initialization sequence of the codec. You could use the SD card but it may be worth trying to load the sounds into the DDR on startup if there is enough space.

If your project doesn't use the arm core, the guitar looper demo sets up a different codec but the only difference is in the start up i2C writes. Namely this project uses the I2S interface through HDL. That demo can be found here https://reference.digilentinc.com/learn/programmable-logic/tutorials/nexys-video-looper-demo/start

Good luck! Sounds like a fun addition to a pong game! After listening to all 33 sounds....... I have concluded my favorite blip is pongblipD#5

https://www.freesound.org/people/NoiseCollector/packs/254/?page=1#sound

- Sam

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...