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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Design of Electronic Piano
-------Based on Spattan-3 Starter Kit Board
Song Yuan & Pei Yu
An electronic piano is designed based on FPGA, which consists of core parts that designed by using VHDL hardware description languages, as well as some periphery circuits. The musical performance can be done not only by keys but also with automatic type in theelectronic piano.
If we have enough time to continue the project, we will add simulation of the traditional musical instruments, for example flute, organ,
horn, clarinet, oboe, etc. Experiment validates
the correctness of the design.
In auto play and keyboard encode section,
if auto=0, we will choose music in musical memory to play automatically. If auto=1, we will choose signal from the key to play in the key. Treble0, middle0, and bass0 connect with key defined as high tone, mid tone and low tone respectively, and index  ~index  will connect with 12 piano keys respectively. Treble1, middle1 and bass1 will output the information of Sound Spectrogram (treble, middle, and bass respectively). Code [0-11] will output codes of piano key or codes of Music Scale about music in the musical memory.
The function of the music scale generating section is to cause different Music Scale with different frequency. According to the relationship between names and frequencies (in Figure 1) and a design of frequency divider in audio output control section (a controlling module that controls the sound output), then we can count numbers of frequency for treble, middle and bass respectively.In our project, the function of Index is to make codes for inputting music scale from auto play and keyboard encodes section.
Moreover, the functions of treble, middle and bass are to transmit Sound where Music Scale will be Spectrogram for auto play and keyboard encode section. For example, when treble=1 it means the Music Scale is in the treble, and when bass=1 it means the Music Scale is in the bass. The sound spectrogram, which contents high, med, and low output, will connect LED. It will be available when it is high vol. Interface of CODE will connect 7-segment that will show the number that Music Scale outputs.