User Tools

Site Tools


2014:fpga_piano_lfsr_with_sine_wave_generator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
2014:fpga_piano_lfsr_with_sine_wave_generator [2014/12/18 23:00]
teamuptownfunk
2014:fpga_piano_lfsr_with_sine_wave_generator [2014/12/18 23:05]
teamuptownfunk [Playing a Programmed Song with the Press of a Button]
Line 36: Line 36:
 {{:​2014:​trueloveskiss_waveform.jpg?​900|}} {{:​2014:​trueloveskiss_waveform.jpg?​900|}}
  
-We tried +We tried to create a mode in our project that played a song. Our code implemented this such that we would have "​song"​ be a matrix that was 8 bits wide (for each note of the octave) and 9 bits deep (one for every beat in the song). For every beat, we hard coded the note or chord that we wanted to play. For example the C chord (CEG) was 10101000. Each note or chord would loop in order through genvar. Unfortunately,​ although this module seemed to have worked in ModelSim, it wouldn’t synthesize in Xilinx. Our suspicion is that this was a problem with the timing of our loop. We didn’t include any delays in our loop, because we didn’t know how the syntax of delays worked when placing them into our module.
 ==== Why did we do it? ==== ==== Why did we do it? ====
 Because hearing our hardware sing is pretty cool! We all love music and we wanted to channel that through our CompArch project. We also wanted to learn more about how the FPGA worked with a audio and explore how the frequency domain worked together with hardware to produce sound. We were also curious about how a piano with digital musical note frequencies sounded, in comparison to the piano musical notes we were accustomed to hearing. We were even thinking about changing the digital signal to an an analog one to be able to compare the differences or even building a triangle wave in addition to the square wave to hear the differences. It was all about sound experimentation and how we could use what we learned this semester to make cool sounds! Because hearing our hardware sing is pretty cool! We all love music and we wanted to channel that through our CompArch project. We also wanted to learn more about how the FPGA worked with a audio and explore how the frequency domain worked together with hardware to produce sound. We were also curious about how a piano with digital musical note frequencies sounded, in comparison to the piano musical notes we were accustomed to hearing. We were even thinking about changing the digital signal to an an analog one to be able to compare the differences or even building a triangle wave in addition to the square wave to hear the differences. It was all about sound experimentation and how we could use what we learned this semester to make cool sounds!
2014/fpga_piano_lfsr_with_sine_wave_generator.txt · Last modified: 2014/12/18 23:17 by teamuptownfunk