Uploaded June 2026 | Updated September 2026, 2 weeks ago
In this CODE Along module, the focus continues on music—specifically adding bass and melody to your song using Python. Learn how to use the platform TunePad to finish your song from scratch. Follow along as we program bass lines and synth melodies to create a unique track. You'll master essential coding and music production concepts like using variables to manage volume and beat duration, understanding music notation and octaves, and using comments to organize or test your code.
Skip to the good stuff:
0:00 Introduction to Part 2
0:38 Creating a Bass Cell and Interface Differences
1:15 Understanding Western Music Notation: Letters and Sharps
1:43 Visualizing Notes on a Piano Keyboard
2:48 Understanding Octaves and Note Ranges
3:15 Selecting a Bass Instrument and Creating a Bass Line
4:22 Introduction to Variables for Efficient Volume Control
6:11 Creating a Melody Cell and Selecting Synth Sounds
7:31 Melody Structure: Repeating Measures for Professional Sound
8:33 Using Comments to Organize and "Comment Out" Code for Testing
9:35 The Rest Function: Adding Silence to Your Music
10:27 Finalizing Project Details and Sharing Your Song
11:01 Final Song Demo and Dance Party
Missed a line of code? No worries! View the CODE Along Cheat Sheet here: tiny.url/bgccheatsheet
Want more? Sign up to join Black Girls CODE's community at community.wearebgc.org
Support Our Non-Profit Mission
----------------------------------------------
Support us: donorbox.org/blackgirlscode
Check out our merch: wearebgc.org/merch
----------------------------------------------
Connect With Us
----------------------------------------------
Peep us on Instagram: instagram.com/blackgirlscode
Follow us on Facebook: facebook.com/BlackGirlsCodeOrg
Share our content on TikTok: tiktok.com/@blackgirlscode
Find us on Twitter: https://x.com/BlackGirlsCode
Send us a message: wearebgc.org/connect-with-us
About CODE Along
Everyone is invited to CODE Along with Black Girls CODE. It's a free, video-based coding academy where Black girls, young women, and students of all genders receive tangible, educational, and entertaining tutorials to help incite interest in computer science and technology. With fun and impactful projects and simple step-by-step lessons, this series encourages you to code along while our expert coders make digital art, animated art, and build games. In these 15 minutes or less episodes, CODE Along is designed to reach millions of underrepresented girls and arm them with the tech skills and confidence they need to build brighter futures.
#howtocode #blackgirlscode #python #tunepad #codingtutorial #codealong #musicproduction
BGC | CODE Along Season 5, Episode 5
In this CODE Along module, the focus continues on music—specifically adding bass and melody to your song using Python. Learn how to use the platform TunePad to finish your song from scratch. Follow along as we program bass lines and synth melodies to create a unique track. You'll master essential coding and music production concepts like using variables to manage volume and beat duration, understanding music notation and octaves, and using comments to organize or test your code.
Skip to the good stuff:
0:00 Introduction to Part 2
0:38 Creating a Bass Cell and Interface Differences
1:15 Understanding Western Music Notation: Letters and Sharps
1:43 Visualizing Notes on a Piano Keyboard
2:48 Understanding Octaves and Note Ranges
3:15 Selecting a Bass Instrument and Creating a Bass Line
4:22 Introduction to Variables for Efficient Volume Control
6:11 Creating a Melody Cell and Selecting Synth Sounds
7:31 Melody Structure: Repeating Measures for Professional Sound
8:33 Using Comments to Organize and "Comment Out" Code for Testing
9:35 The Rest Function: Adding Silence to Your Music
10:27 Finalizing Project Details and Sharing Your Song
11:01 Final Song Demo and Dance Party
Missed a line of code? No worries! View the CODE Along Cheat Sheet here: tiny.url/bgccheatsheet
Want more? Sign up to join Black Girls CODE's community at community.wearebgc.org
Support Our Non-Profit Mission
----------------------------------------------
Support us: donorbox.org/blackgirlscode
Check out our merch: wearebgc.org/merch
----------------------------------------------
Connect With Us
----------------------------------------------
Peep us on Instagram: instagram.com/blackgirlscode
Follow us on Facebook: facebook.com/BlackGirlsCodeOrg
Share our content on TikTok: tiktok.com/@blackgirlscode
Find us on Twitter: https://x.com/BlackGirlsCode
Send us a message: wearebgc.org/connect-with-us
About CODE Along
Everyone is invited to CODE Along with Black Girls CODE. It's a free, video-based coding academy where Black girls, young women, and students of all genders receive tangible, educational, and entertaining tutorials to help incite interest in computer science and technology. With fun and impactful projects and simple step-by-step lessons, this series encourages you to code along while our expert coders make digital art, animated art, and build games. In these 15 minutes or less episodes, CODE Along is designed to reach millions of underrepresented girls and arm them with the tech skills and confidence they need to build brighter futures.
#howtocode #blackgirlscode #python #tunepad #codingtutorial #codealong #musicproduction
BGC | CODE Along Season 5, Episode 5










