Draw the Beat!
A program that creates music by drawing.
2021 / Music, Tool / Creative Technologist
Overview
Drawing beats to make music
Draw the Beat! is an interactive digital art project that blends music and visual design. Using a custom algorithm developed in Wekinator and visual elements created with p5.js, the project allows users to generate sheet music by drawing beats directly on the screen. The generated music visually unfolds in real time, transforming user input into dynamic compositions.

Key Question
Is there a way to make music composition more intuitive and visual?
Instead of starting from symbols, the project focuses on trying ideas through gestures and learning through immediate feedback.
Process 1
Creating beats with machine learning
Draw the Beat! was developed using Processing and Wekinator. Processing visualizes user input in real time and generates musical elements, while Wekinator uses machine learning to recognize user-drawn graphics and trigger sounds.

Figure 1. Images used in training

Figure 2. Connecting Processing and Wekinator in real-time via OSC control
Process 2
Creating sounds

Figure 3. Creating sounds by growing flower's height
Examples
An example of a created song: School Bell

Figure 4. An example of a created song: School Bell