How to Compose Music in Python with L-Systems and Music21

Code Meowstro October 23, 2024
Video Thumbnail
Code Meowstro Logo

Code Meowstro

View Channel

About

Hi! I make tutorials on creative coding, generative music, audio programming, and Python.

Video Description

In this tutorial, we explore how the same mathematical systems that create beautiful fractal patterns can generate musical compositions. We'll cover: Building a basic L-System in Python. Mapping L-System outputs to pitches, rhythms and intervals. Structuring musical sections using grouped production rules.

You May Also Like

Enhance Your Coding Compositions

AI-recommended products based on this video

Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
Type C Ports Game Console Handle Charging Interface Replacement for XboxSeries S Series X Elite Series 2 Wireless Controller, 5PCS

Type C Ports Game Console Handle Charging Interface Replacement for XboxSeries S Series X Elite Series 2 Wireless Controller, 5PCS

(0)
$13.51
FREE delivery Sep 3 - 15
Loading...
2 Pack Controller Battery Pack Rechargeable for Xbox One/Xbox Series X|S with 4 Battery Cover Xbox Play and Charge Kit with Micro USB Charging Cable for Xbox One S/X/Elite Controller

2 Pack Controller Battery Pack Rechargeable for Xbox One/Xbox Series X|S with 4 Battery Cover Xbox Play and Charge Kit with Micro USB Charging Cable for Xbox One S/X/Elite Controller

(355)
$36.99
FREE delivery Sun, Aug 24
Loading...
Joystick Replacement Kit for Oculus Quest 2/3 Controller, Repair Kit for Meta Quest 2/3 Controller, Include 2 Joysticks, T5 Screwdriver, Tweezer, Pry Tool, 4 Thumbstick Grips (Black-11-in one)

Joystick Replacement Kit for Oculus Quest 2/3 Controller, Repair Kit for Meta Quest 2/3 Controller, Include 2 Joysticks, T5 Screwdriver, Tweezer, Pry Tool, 4 Thumbstick Grips (Black-11-in one)

(1,736)
$11.63$11.53
FREE delivery Tue, Jun 17 on your first order
100+ bought in past month
Loading...
Fosmon Fast Charging Dual 2 MAX Controller Charger with 2X 5280mWh Rechargeable Battery Pack for Xbox Series X/S/One/Elite Dock Station - Black

Fosmon Fast Charging Dual 2 MAX Controller Charger with 2X 5280mWh Rechargeable Battery Pack for Xbox Series X/S/One/Elite Dock Station - Black

(41,305)
$38.99
PrimeFREE delivery Sat, Jun 14
Loading...
FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

(1,436)
$26.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
TNP Wireless Chatpad for Xbox One Controller S/X & Series S/X - 2.4Ghz White Mini Text Messenger Chat Pad for Xbox One, Controller Keyboard Attachment Accessory

TNP Wireless Chatpad for Xbox One Controller S/X & Series S/X - 2.4Ghz White Mini Text Messenger Chat Pad for Xbox One, Controller Keyboard Attachment Accessory

(9)
$30.98$27.66
FREE delivery Sat, Jun 14 on your first order
Loading...
Monster Mission 300 Wireless Gaming Headset, 2.4GHz/Bluetooth Gaming Headphones,Low Latency, Stereo, Audio Location Recognition, 48H Battery Life, Suitable for PS5, PC, PS4 and Other Gaming Devices

Monster Mission 300 Wireless Gaming Headset, 2.4GHz/Bluetooth Gaming Headphones,Low Latency, Stereo, Audio Location Recognition, 48H Battery Life, Suitable for PS5, PC, PS4 and Other Gaming Devices

(29)
$59.99
FREE delivery Sat, Sep 20
200+ bought in past month
Loading...
FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

(1,436)
$26.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
TNP Wireless Chatpad for Xbox One Controller S/X & Series S/X - 2.4Ghz White Mini Text Messenger Chat Pad for Xbox One, Controller Keyboard Attachment Accessory

TNP Wireless Chatpad for Xbox One Controller S/X & Series S/X - 2.4Ghz White Mini Text Messenger Chat Pad for Xbox One, Controller Keyboard Attachment Accessory

(9)
$30.98$27.66
FREE delivery Sat, Jun 14 on your first order