Karaoke Game on Android
welcome page
gaming page
end of the game page
Overview
This application is an extension to the original spectrogram
application. When people are singing to the microphone, the application
calculating the autocorrelation of the sound recorded, it finds the
pitch in his voice and compare it to the reference. The reference would
be a recording of the piano play of the same song (piano would generate
accurate pitch, thus this file, which recored and processed with MATLAB,
could be serve as reference). Every matching between human voice and the
reference pitch would gain one point, at the end of the song, a total
score would be displayed.
Some key concept may be useful during the signal processing part are:
autocorrelation ,
voice detection
MATLAB simulation
MATLAB main function call
MATLAB function for autocorrelation and pitch finding
MATLAB function for voice detection
showing the calculated pitch from piano recording
alphabet song recording processed (show pitch vs. data-time), the middle simulation has been manually corrected to be more smooth to serve as reference file
Android app development
During the song playing, lyrics would scrolling though the screen, real-time calculated pitch and score displayed on the screen, and real-time spectrogram would be scrolling through the right part of the screen with the pitch (the fundamental frequency of a human voice, usually the lowest frequency among all the harmonics) mapped out on the screen in red.
This is really a funny project that combines signal processing theory with practical gaming experience.
This is the free choice of the final project of the Embedded Digital Signal Processing (DSP) lab, the source code of the project could be found here
Comments
comments powered by Disqus