Skip to content

Commit 170e584

Browse files
committed
changed file name
1 parent 9c3fc2e commit 170e584

File tree

2 files changed

+91
-105
lines changed

2 files changed

+91
-105
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: "GSoC '25 Week 2 Update by Shubham Singh"
3+
excerpt: "Adding the entire prototyped interface ON TO the music blocks"
4+
category: "DEVELOPER NEWS"
5+
date: "2025-06-14"
6+
slug: "2025-06-14-gsoc-25-FirePheonix-week02"
7+
author: "@/constants/MarkdownFiles/authors/shubham-singh.md"
8+
tags: "gsoc25,sugarlabs,week02,FirePheonix"
9+
image: "assets/Images/GSOC.png"
10+
---
11+
12+
<!-- markdownlint-disable -->
13+
14+
# Week 2 Progress Report by Shubham Singh
15+
16+
**Project:** [Color Sensor for Music Blocks](https://github.com/sugarlabs/musicblocks/issues/4537)
17+
**Mentors:** [Devin Ulibarri](https://github.com/pikurasa), [Walter Bender](https://github.com/walterbender)
18+
**Reporting Period:** 2025-06-08 – 2025-06-15
19+
20+
---
21+
22+
## Goals for This Week
23+
24+
- Basic UI for Image Upload/Real-time Video upload and adjustment.
25+
- Integrating the developed UIs onto the widget blocks within Music Blocks.
26+
- Researching existing audio integration patterns in the phrase maker and note blocks.
27+
28+
---
29+
30+
## This Week's Achievements
31+
32+
1. **Interface Implementation for Lego Notations**
33+
- Successfully integrated the LegoBricks block directly onto the Music Blocks canvas.
34+
- Modified 6 different files to implement an entirely new block type.
35+
- Music Blocks already has sophisticated color detection for internal pixels, but couldn't detect colors from external sources like uploaded images or webcam feeds — this limitation was addressed.
36+
- The codebase proved beautifully encapsulated and thoroughly documented, making the learning curve smoother.
37+
![Interface Implementation](https://i.ibb.co/d0X9zXjF/1st.png)
38+
39+
2. **Real-time Video Integration**
40+
- Implemented real-time video functionality through webcam integration.
41+
- Added full editing capabilities and canvas manipulation for live video feeds.
42+
- Interface provides seamless interaction between video feed and detection algorithms.
43+
![Real-time Video Feature](https://i.ibb.co/cXL4Hpxq/2nd.png)
44+
45+
3. **Export Mechanism Research**
46+
- Conducted extensive research into existing export mechanisms within Music Blocks.
47+
- Deep-dived into Phrase Maker widget documentation and codebase.
48+
- Studied how different blocks export output as both MIDI files and action blocks.
49+
![Export Research](https://i.ibb.co/bVD8Z54/image.png)
50+
51+
---
52+
53+
## Challenges & How I Overcame Them
54+
55+
- **Challenge:** UI integration complexity — getting the UI integrated into Music Blocks proved more challenging than expected due to intricate dependencies and specific implementation patterns required by the block system.
56+
**Solution:** Leveraged multiple resources including mentor consultations, existing documentation on "how to add new blocks," and analyzed previous implementations for reference patterns.
57+
58+
- **Challenge:** User workflow design — determining optimal user workflow for the Lego Bricks block required careful consideration of user interaction patterns and integration with existing functionality.
59+
**Solution:** Scheduled focused discussion with mentor during regular meeting to analyze phrase maker export functionality, gaining crucial insights into user experience patterns and technical approaches.
60+
61+
---
62+
63+
## Key Learnings
64+
65+
- Gained comprehensive understanding of **output mechanisms** and how different blocks handle their output generation and processing.
66+
- Deepened appreciation for **code architecture** including inheritance patterns, code modularity, and custom return types within the Music Blocks ecosystem.
67+
- Improved skills in **development workflow** including exports, imports, code reusability, documentation practices, and collaborative development workflows.
68+
69+
---
70+
71+
## Next Week's Roadmap
72+
73+
- Implement comprehensive mapping of musical notes to Lego brick colors.
74+
- Complete the core implementation during weeks 2 and 3, ensuring robust functionality and thorough testing.
75+
- Focus on algorithmic challenges for note-to-color mapping system.
76+
77+
---
78+
79+
## Resources & References
80+
81+
- **Project Issue:** [Color Sensor for Music Blocks](https://github.com/sugarlabs/musicblocks/issues/4537)
82+
- **Music Blocks Repository:** [sugarlabs/musicblocks](https://github.com/sugarlabs/musicblocks)
83+
- **Documentation:** Music Blocks Developer Guide
84+
85+
---
86+
87+
## Acknowledgments
88+
89+
Thank you to my mentors [Walter Bender](https://github.com/walterbender) and [Devin Ulibarri](https://github.com/pikurasa) for invaluable guidance throughout this development phase. Special thanks to Walter for his advice during our biweekly meeting on how the phrase maker exports output as ACTION blocks.
90+
91+
---

src/constants/MarkdownFiles/posts/2025-06-14-gsoc-FirePheonix-week02

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)