Skip to content

MIDI Art Lab generates digital art based on notes played on a connected MIDI keyboard. Sample output images in README.

Notifications You must be signed in to change notification settings

slimrealm/cpp-midi-art-lab

Repository files navigation

MIDI Art Lab

MIDI Art Lab generates digital art based on notes played on a connected MIDI keyboard.

Pitch, velocity, and duration are captured, and those numeric values are used as parameters of a function for a particular drawing algorithm. Currently, a single image is used and repeated throughout the drawing -- and the appearance of each new instance of that image changes based on the received parameters. These drawing parameters include color, transparency, thickness, scale, angle, spacing between images, and number of images spawned over a given area.

The user can choose between three drawing algorithms (image output samples for each shown below):

1. Spiral
2. Shifting lines of images
3. Custom path which changes direction depending which notes are played


1. Spiral algorithm

MallowSpiral savedSpiral spiral with color applied


2. Shifting line segments algorithm

savedLeaf FallToWinter FallScribbles2


3. Custom path algorithm

savedForest


When algorithm finishes, a screenshot is captured and saved to an image file for user to do with as they please.

About

MIDI Art Lab generates digital art based on notes played on a connected MIDI keyboard. Sample output images in README.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published