Skip to content

pfille/pygame-video-synthesizer

 
 

Repository files navigation

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.

About

Video Synthesizer in Pygame and Python 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%