Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Drum Generation with Cellular Automata - Lecture 14

Valerio Velardo - The Sound of AI via YouTube

Overview

Implement a cellular automaton that generates drum patterns in Python in this comprehensive video tutorial. Explore the creation of a CellularAutomatonDrumGenerator class, learn about transition rules including syncopation resolution, filling gaps, accenting, and mutation, and discover how to convert drum patterns using the DrumPatternMusic21Converter class. Follow along with provided code examples and lecture slides to gain hands-on experience in generative music AI techniques for drum pattern creation.

Syllabus

Intro
What we'll build
Main function
Example generation running the script
DrunInstruments and DrumStates enums
CellularAutomatonDrumGenerator class
Step method
Applying transition rules
Syncopation resolution rule
Filling gaps rule
Accenting rule
Mutation rule
DrumPatternMusic21Converter class
Main function - 2nd pass
What's up next?

Taught by

Valerio Velardo - The Sound of AI

Reviews

Start your review of Drum Generation with Cellular Automata - Lecture 14

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.