AlgoMotion | MIDI Art: Coltrane on Sax Plays Giant Steps #midiart #music #algorithm #computervision @AlgoMotion | Uploaded February 2024 | Updated October 2024, 11 hours ago.
An image of John Coltrane playing sax gets converted into MIDI art that plays his tune "Giant Steps".
The algorithm for generating a MIDI file from a given image is roughly:
1. Run edge detection on the original image.
2. Dilate the grayscale edge image.
3. Downsample the image to a height matching the number of notes in the desired range.
4. Convert the downsampled image to MIDI by constraining the notes to certain pitches over time.
#midiart #music #algorithm #computervision #midi #computermusic #giantsteps #coltrane #trane #johncoltrane #jazz #code #programming #images #visualization #visuals #art #piano #sax #saxophone
An image of John Coltrane playing sax gets converted into MIDI art that plays his tune "Giant Steps".
The algorithm for generating a MIDI file from a given image is roughly:
1. Run edge detection on the original image.
2. Dilate the grayscale edge image.
3. Downsample the image to a height matching the number of notes in the desired range.
4. Convert the downsampled image to MIDI by constraining the notes to certain pitches over time.
#midiart #music #algorithm #computervision #midi #computermusic #giantsteps #coltrane #trane #johncoltrane #jazz #code #programming #images #visualization #visuals #art #piano #sax #saxophone