Jump to content
  • 0

About implementing sound files to BASYS3


Utku200012

Question

Hello,

I am doing  a BASYS3 VHDL project for my digital design course and I am trying to make a sound pad like a piano. So I have to attend sounds to button but I do not want to send square waves from clock. I want to attend a sound file to it. Is there any way to convert a sound file to a binary signal that BASYS3 can read. Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

@Utku200012,

You might want to look into the "sox" program.  You should be able to use it to convert any sound format into a raw format of some type, but from there the question becomes: what format do you want?  You might be able to include it in a design via a $readmemh type of call--depending upon its length.  (I discuss building a hex file for this purpose in my own tutorial ... see the section on memories) You might be able to include it into the flash code used by your design.  Alternatively, you might be able to load it from the USB UART.

I guess it depends upon how you wish to design your system.

Dan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...