|
| 1 | +--- |
| 2 | +title: "DMP '25 Week 03 Update by Anvita Prasad" |
| 3 | +excerpt: "Implementation of tuner visualization system and dual-mode interface" |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-06-22" |
| 6 | +slug: "2025-06-22-DMP-25-AnvitaPrasad-week03" |
| 7 | +author: "@/constants/MarkdownFiles/authors/anvita-prasad.md" |
| 8 | +tags: "dmp25,sugarlabs,week03,AnvitaPrasad" |
| 9 | +image: "assets/Images/c4gt_DMP.png" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 03 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-16 - 2025-06-22 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | +- **Goal 1:** Implement dual-mode tuner interface |
| 25 | +- **Goal 2:** Complete basic cents adjustment UI implementation |
| 26 | +- **Goal 3:** Enhance tuner visualization system |
| 27 | +- **Goal 4:** Test with various audio sources and instruments |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week's Achievements |
| 32 | + |
| 33 | +1. **Dual-Mode Tuner Implementation** |
| 34 | + - Successfully implemented a toggle button interface for switching between two tuner modes |
| 35 | + - Developed chromatic mode where target pitch moves based on input pitch |
| 36 | + - Implemented logic for finding closest chromatic pitch within +/- 50 cents |
| 37 | + - Added cent deviation value display under the tuner |
| 38 | + - Started work on specific target pitch mode implementation |
| 39 | + - Gathered feedback for further refinements |
| 40 | + |
| 41 | +2. **Cents Adjustment UI Development** |
| 42 | + - Implemented basic cents adjustment interface |
| 43 | + |
| 44 | +3. **Tuner Visualization Enhancements** |
| 45 | + - Made refinements to last week's visualization system |
| 46 | + - Added clear visual feedback for cent deviation |
| 47 | + - Enhanced visual clarity for pitch detection feedback |
| 48 | + |
| 49 | +4. **Testing Progress** |
| 50 | + - Conducted initial testing with various audio sources |
| 51 | + - Identified areas for improvement in pitch detection |
| 52 | + - Created a test suite for tuner accuracy verification |
| 53 | + |
| 54 | +5. **Audio Processing Improvements** |
| 55 | + - Implemented low-pass filtering to handle high-frequency noise |
| 56 | + - Enhanced pitch detection accuracy using parabolic interpolation |
| 57 | + - Optimized signal processing for better performance |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +## Challenges & How I Overcame Them |
| 62 | + |
| 63 | +- **Challenge:** Creating an intuitive UI for mode switching |
| 64 | + **Solution:** Implemented a clear toggle interface with visual indicators for current mode |
| 65 | + |
| 66 | +- **Challenge:** Dealing with high-frequency noise in audio signal |
| 67 | + **Solution:** Implemented low-pass filtering to improve signal quality and enhance pitch detection accuracy |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +## Key Learnings |
| 72 | + |
| 73 | +- Learned about signal processing techniques like low-pass filtering and its impact on audio quality |
| 74 | +- Gained insights into sub-cent accuracy through parabolic interpolation in pitch detection |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +## Next Week's Roadmap |
| 79 | + |
| 80 | +- Complete and refine target pitch mode implementation |
| 81 | +- Implement manual cent adjustment functionality |
| 82 | +- Finalize design for cent adjustment interface |
| 83 | +- Conduct comprehensive testing with various audio sources and instruments |
| 84 | +- Deliverable: Fully functional tuner with cents adjustment |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | +## Resources & References |
| 89 | + |
| 90 | +- [Web Audio API Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) |
| 91 | +- [Audio Filters Guide](https://blog.native-instruments.com/audio-filters-guide/) |
| 92 | + |
| 93 | +--- |
| 94 | + |
| 95 | +## Acknowledgments |
| 96 | + |
| 97 | +Thank you to my mentors, the Sugar Labs community, and fellow contributors for ongoing support. |
| 98 | + |
| 99 | +--- |
0 commit comments