Skip to content

Commit 7b483a5

Browse files
committed
Add Week 05 DMP blog post
1 parent 0f181ac commit 7b483a5

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: "DMP '25 Week 05 Update by Anvita Prasad"
3+
excerpt: "Implementation of manual cent adjustment interface and mode-specific icons for the tuner system"
4+
category: "DEVELOPER NEWS"
5+
date: "2025-07-06"
6+
slug: "2025-07-06-DMP-25-AnvitaPrasad-week05"
7+
author: "@/constants/MarkdownFiles/authors/anvita-prasad.md"
8+
tags: "dmp25,sugarlabs,week05,AnvitaPrasad"
9+
image: "assets/Images/c4gt_DMP.png"
10+
---
11+
12+
<!-- markdownlint-disable -->
13+
14+
# Week 05 Progress Report by Anvita Prasad
15+
16+
**Project:** [Music Blocks - Improve Synth and Sample Features](https://github.com/sugarlabs/musicblocks/issues/4539)
17+
**Mentors:** [Walter Bender](https://github.com/walterbender)
18+
**Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa)
19+
**Reporting Period:** 2025-06-30 - 2025-07-06
20+
21+
---
22+
23+
## Goals for This Week
24+
- **Goal 1:** Design and implement a slider for manual cent adjustment
25+
- **Goal 2:** Develop functionality for cent adjustment system
26+
- **Goal 3:** Design and implement mode-specific icons for the tuner interface
27+
28+
29+
---
30+
31+
## This Week's Achievements
32+
33+
1. **Mode-Specific Icon Design and Implementation**
34+
- Created distinctive icons for both tuning modes
35+
- Successfully integrated icons into the tuner interface
36+
- Ensured visual consistency with existing Music Blocks design language
37+
38+
2. **Manual Cent Adjustment Interface Redesign**
39+
- Transitioned from pie menu to slider-based interface
40+
- Implemented basic slider UI for cent adjustment
41+
- Designed interface to accommodate ±50 cents range
42+
- Optimized for both recorded and uploaded samples through the sampler
43+
44+
3. **Cent Adjustment System Development**
45+
- Implementing core functionality for precise pitch adjustment
46+
- Developed system to handle cent adjustments within ±50 range
47+
- Created framework for real-time pitch modification
48+
49+
4. **Integration and Testing**
50+
- Successfully integrated new components with existing tuner system
51+
- Conducted initial testing of slider functionality
52+
- Verified icon visibility and clarity in different modes
53+
54+
---
55+
56+
## Challenges & How I Overcame Them
57+
58+
- **Challenge:** Maintaining precise control over cent adjustments while ensuring smooth slider operation
59+
- **Solution:** Implemented a custom scaling algorithm and added intermediate value snapping for better control
60+
61+
62+
---
63+
64+
## Key Learnings
65+
- Gained deeper understanding of real-time audio processing in web applications
66+
- Discovered best practices for handling micro-pitch adjustments in digital audio systems
67+
- Enhanced knowledge of Web Audio API's capabilities and limitations
68+
69+
---
70+
71+
## Next Week's Roadmap
72+
- Conduct extensive testing with various audio sources and instruments
73+
- Process free/open samples from identified sources
74+
- Design basic categorization system for samples
75+
- Write Week 06 blog post summarizing progress and learnings
76+
77+
---
78+
79+
## Resources & References
80+
- **Audio Processing:** [Web Audio API Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API)
81+
- **Cent Calculation:** [Cents to Frequency Ratio Calculator](https://www.sengpielaudio.com/calculator-centsratio.htm)
82+
- **Musical Tuning:** [Musical Acoustics - Cents and Frequency Ratios](https://newt.phys.unsw.edu.au/jw/notes.html)
83+
- **UI Components:** Referenced existing Music Blocks slider implementations for consistency
84+
85+
---
86+
87+
## Acknowledgments
88+
Thank you to my mentors, the Sugar Labs community, and fellow contributors for ongoing support.
89+
90+
---

0 commit comments

Comments
 (0)