Back to Sugar Labs
GSoC 2026

Music Blocks 4 Program Builder

Music Blocks v4 is a visual programming environment that enables learners to explore programming concepts through music using block-based “bricks.” While the current system provides a strong architectural foundation, it lacks a complete pipeline connecting visual block interactions to program execution. This project focuses on building that missing pipeline by completing the brick interaction system, program representation, and execution flow. I will implement a robust drag-and-drop connection system with real-time collision detection and snap previews, allowing users to intuitively construct programs. These connected brick structures will then be translated into Abstract Syntax Trees (AST) using a scalable registry-based mapping system, and executed through the existing interpreter by bridging to Music Blocks’ audio and graphics modules. Additionally, I will design a plugin architecture that enables developers to extend the system with new blocks and behaviors without modifying the core codebase. The project will also include a comprehensive testing framework to ensure reliability across the entire pipeline. The end result will be a complete, extensible, and production-ready visual programming system where users can seamlessly create, execute, and experiment with music-driven programs, while also providing a strong foundation for future features in Music Blocks v4

Project details

Contributor

Syed Khubayb

Mentors

Not available

Technologies

Not listed in the archive