- Home
- Gadget Factory Blog
- How To
Gadget Factory Blog
Groove to Your 8 Step Synthesizer Rhythms with FPGA
Posted by
on
Hello FPGA lovers! Today’s project will be a special one that will pique the interest of FPGA lovers and music makers alike! The project is about how to build an 8 step synthesizer with an FPGA board!
The 8 step Synthesizer is a set of 8 switches with a time line that flows from left to right. A button determines the frequency (higher and lower octaves) of the note. Pressing another button can alter the frequency. This way you can build your own 8 note theme to groove to. This project is highly based upon the Tone Matrix game.
The Hardware
The FPGA board suggested is the Nexys 2, but you can perfectly adapt this project to fit your FPGA board. You may use this other projects as a guide to make your own 8 step synthesizer with your Papilio board. The other 2 things you will need are a speaker for output and a computer for coding/uploading. The board already has all other necessary requirements addressed.
The Coding
The code for implementing this project is available from the page and it´s divided into modules. The coding language is VHDL (.vhd). I strongly suggest (and the author does it too) you also create a UCF file according to your pin assignment conveniences.
The modules are divided based on functionality and each module is crucial. The clock divider module, for instance, converts the 50 MHz cycles of the FPGA board and gives a smaller frequency which holds the note for an audible time. The square wave module organizes the notes in 8 steps from 440 Hz to 1046.5 Hz which is the scale.
Interconnections
The circuit diagram showing how the components are connected is provided. The significance regarding Frequency incrementing, Play and Pause, Flip Flops and the Mux-Speaker arrangement are well explained. A detailed step regarding Speaker interfacing with the FPGA board is also given in the page.
This project is very straightforward and it will be a fun experience for hobbyists and FPGA learners, for sure.
Enjoy!
By rinkintran
Get Ready to Bop It! With FPGA
Hello FPGA enthusiasts! Today we have a close enough version of the popular Bop It! Game. For those unfamiliar with what a Bop It! Game is, I will tell you that it is practically a quick reflex based game that has a set of voice commands that give you instructions to perform tasks with the [...]
How To Make Simon Says Game With Your FPGA
Hi again FPGA people! Today I have another game for you to implement using your FPGA, Simon Says for 2 players. I know it´s a pretty old game but I promise you that it´s a very interesting project. In this project you will have to make use of your hand skills both for coding and for [...]
Protect Your Home With a FPGA-based Alarm System
Welcome back again FPGA addicts! Today we have a very interesting and useful project for you: Build your own alarm system with your FPGA. This work was carried out by a group of students and it could perfectly serve as a baseline for any alarm system. The project is developed in 6 easy steps. All you need [...]
Quick Guide: 4 Easy Steps To Play Snake on Your FPGA
Hello FPGA lovers. I am sure you are going to love today´s post: How to implement Snake Game on your FPGA. Maybe some of you are too young to remember this everlasting game that has been popular generation after generation on a wide variety of formats. And as it couldn´t be less, Snake Game deserves [...]