Video Synthesizer in Pygame and Python 3
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images adding project files Nov 24, 2017
README.md
video-synthesizer.py

README.md

Video Synthesizer in Pygame

Video Synthesizer Example

This project uses Aubio and Onset Detection to create real time visual effects to accompany somebody playing music.

It accompanies a blog post and video available at makeartwithpython.com.

Usage

$ python3 video-synthesizer.py

You'll get back out a list of audio inputs built into your computer. You can then call the program again with the correct number for your chosen input, and play back in real time.

$ python3 video-synthesizer.py -input 3

You can then play away!

Architecture

Video Synthesizer Architecture

We take in audio, in this example from a Rocksmith cable. We then pass the raw audio into a thread to handle and detect onsets within our Python program.

This thread then pushes any detected onsets onto a queue, which is picked up by our main Pygame thread.