|
| 1 | +--- |
| 2 | +title: "DMP '25 Week 01 Update by Anvita Prasad" |
| 3 | +excerpt: "Initial research and implementation of Music Blocks tuner feature" |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-06-08" |
| 6 | +slug: "2025-06-08-DMP-25-AnvitaPrasad-week01" |
| 7 | +author: "@/constants/MarkdownFiles/authors/anvita-prasad.md" |
| 8 | +tags: "dmp25,sugarlabs,week01,AnvitaPrasad" |
| 9 | +image: "assets/Images/c4gt_DMP.png" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 01 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-02 - 2025-06-08 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | + |
| 25 | +- **Goal 1:** Update Tone.js to the latest version |
| 26 | +- **Goal 2:** Begin tuner implementation with pitch detection |
| 27 | +- **Goal 3:** Create basic tuner visualization |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week's Achievements |
| 32 | + |
| 33 | +1. **Updated Tone.js Library** |
| 34 | + - Successfully upgraded from version 15.0.4 to 15.1.22 |
| 35 | + - Verified compatibility with existing codebase |
| 36 | + |
| 37 | +2. **Implemented Pitch Detection** |
| 38 | + - Integrated YIN algorithm for pitch detection |
| 39 | + - Established foundation for note identification |
| 40 | + |
| 41 | +3. **Created Basic Tuner Interface** |
| 42 | + - Implemented 11-segment tuner display |
| 43 | + - Added initial cents adjustment UI |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +## Challenges & How I Overcame Them |
| 48 | + |
| 49 | +- **Challenge:** Understanding complex audio processing concepts |
| 50 | + **Solution:** Studied Web Audio API documentation and experimented with example code |
| 51 | + |
| 52 | +--- |
| 53 | + |
| 54 | +## Key Learnings |
| 55 | + |
| 56 | +- Gained familiarity with Tone.js API and audio processing |
| 57 | +- Learned about pitch detection algorithms and their implementation |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +## Next Week's Roadmap |
| 62 | + |
| 63 | +- Complete tuner implementation with accurate visualization |
| 64 | +- Implement cents adjustment calculations |
| 65 | +- Add fine-tuning to pitch detection system |
| 66 | +- Test with various audio sources |
| 67 | +- Write Week 02 blog post summarizing progress and learnings |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +## Resources & References |
| 72 | + |
| 73 | +- **Web Audio Resources:** [MDN Web Audio API Guide](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) |
| 74 | +- **Pitch Detection:** [PitchDetect Example](https://github.com/cwilso/pitchdetect) |
| 75 | +- **Online Tuner Reference:** [Musicca's Online Tuner Guide](https://www.musicca.com/tuner) |
| 76 | + |
| 77 | +--- |
| 78 | + |
| 79 | +## Acknowledgments |
| 80 | + |
| 81 | +Thank you to my mentors, the Sugar Labs community, and fellow contributors for ongoing support. |
| 82 | + |
| 83 | +--- |
0 commit comments