1 / 19

Music Synthesizer Design

Christopher Boyd Ki Shin Electrical & Computer Engineering University of Tennessee Knoxville, TN 37996-2100 cboyd11@utk.edu kshin1@utk.edu. Music Synthesizer Design. OUTLINE. Design Requirements Board Design Overview Module Hierarchy Note Signal Pitch Synthesizer

hua
Download Presentation

Music Synthesizer Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Christopher Boyd Ki Shin Electrical & Computer Engineering University of Tennessee Knoxville, TN 37996-2100 cboyd11@utk.edu kshin1@utk.edu Music Synthesizer Design

  2. OUTLINE • Design Requirements • Board • Design Overview • Module Hierarchy • Note Signal • Pitch • Synthesizer • Pre-Synthesis Simulation • Post-Synthesis Simulation • Conclusion

  3. Design Requirements

  4. Spartan-3A Board • We decided to use the Spartan-3A, since it had a 3.5 mm jack for music output.

  5. Spartan-3A (Xilinx ISE)

  6. Spartan-3A (FPGA Editor)

  7. X200 Synthesis (ISE)

  8. Altera Cyclone II (Quartus)

  9. Mentor Graphics Block Diagram

  10. Block Diagram Design Overviewwith I/O Block Sheet Music (Sub Module) Christopher Boyd Ki Shin Specify File (Controller) Speaker (Left) Switch (0~3) Synthesizer Speaker (Right) Change Scale

  11. Hierarchy of Modules Music.vhd (Main Controller + Music Synthesizer) Music 2 : Amazing Grace (Melody Tone) Music 3 : Jingle Bell (Melody Tone) Music 1 : Rocky Top Music 2_1 : Amazing Grace (Base Tone) Music 3_1 : Jingle Bell (Base Tone)

  12. Explanation of Note Signal Signal (Note) – 8 bits 3 bit  8 states : Assign Duration (Whole / Half … ) 4 bits  16 states : Assign Note Scale (C, C#, D, …. ) 1 bit  2 states : Assign High Tone If Note = “11110000” , that means EOF (End of File)

  13. Pitch of Notes

  14. Synthesizer Music file Note Signal Left Speaker Toggle 1/0 50 MHz Clock Clock Divider Octave Switch Input Right Speaker

  15. Pre – Synthesis Simulation Out Out By Swt input, music is changed Out Freq. Out Freq. By Octave input, frequency is changed

  16. Post – Synthesis Simulation By Swt input, music is changed By Octave input, frequency is changed

  17. Issues Encountered • Since the signal sent to the speakers is digital (0 or 1) rather than analog, we couldn’t output more than one tone (per speaker) at once. • Attempting to half the volume didn’t work either.(by sending 1010 instead of 1111) • Being able to vary the volume would have been useful for reverb as well as multiple tones.

  18. CONCLUSIONS • We were limited by the hardware we had on hand. • Can play, at most, two tones at once with stereo sound. • Parallel Processing • We could play different music at the same time and select the file by using switches. • For parallel processing, synchronization is very important. • Synchronization issues • When changing songs, the two parts could desync. • We fixed this by resetting the note being played, when we change songs.

  19. Appendix – Rocky Top

More Related