https://www.makeartwithpython.com/blog/voice-controlled-flappy-bird/ Flappy Bird is a very simple game, one where a user would tap their cell phone screen, to make a bird “flap”, and avoid pipes. It was an unexpectedly successful game, going viral after having been picked up by the YouTube gaming commnunity as an especially frustrating game to play. In today’s post, we’ll remake Flappy Bird, but this time, we’ll use pitch detection and vocal range to make it a voice controlled singing game. Our bird will fly at the level of the current note we sing. Because we’ll be dealing with musical notes, this post will walk through an introduction into music theory, and then jump into some basic tools for building a musical game. If you’ve ever played anything like Rocksmith or Rock Band, we’ll be using the same sort of pitch detection and note correlation to give our player feedback that they’ve hit the right notes. A (Short) Background of Music Theory Before we dive in to the code, we shou...
댓글
댓글 쓰기