Skip to content

A clone of Atari Breakout played using the voice to control the paddle.

Notifications You must be signed in to change notification settings

fabiorino/voice-controlled-Atari-Breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Voice controlled Atari Breakout

Move the paddle with your voice just by using two different sounds: a low frequency sound moves the paddle to the left, a high frequency sound moves it to the right.

YouTube video:

ScreenShot

Source Code

Overview

There are three packages in this project. The game and the audio engine are independent of each other. The main package is the "link" between them.

Packages

  • main: it contains the main function. Its job is to create a "link" between the game and the audio engine. A loop continuously reads the current frequency and chooses if the paddle has to be moved to the right, to the left or it shouldn't be moving.
  • breakout: contains the Atari Breakout game. You could take this package and use it as a standalone game with simple code modifications.
  • audioengine: contains the function that allows to get the current frequency of the sound from the microphone.

Notes

Please, be aware that the game won't work well if there's some noise in your room or your microphone generates a disturbed input. The game doesn't implement any form of noise reduction, for that reason it's very sensible to the environment around you and the microphone you're using.

Credits

The frequency detector was part of a Guitar Tuner application.

About

A clone of Atari Breakout played using the voice to control the paddle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages