|
| 1 | +--- |
| 2 | +title: "DMP '25 Week 02 Update by Anvita Prasad" |
| 3 | +excerpt: "Research and design of tuner visualization system and cents adjustment UI" |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-06-15" |
| 6 | +slug: "2025-06-15-DMP-25-AnvitaPrasad-week02" |
| 7 | +author: "@/constants/MarkdownFiles/authors/anvita-prasad.md" |
| 8 | +tags: "dmp25,sugarlabs,week02,AnvitaPrasad" |
| 9 | +image: "assets/Images/c4gt_DMP.png" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 02 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-09 - 2025-06-15 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | +- **Goal 1:** Design dual-mode tuner interface |
| 25 | +- **Goal 2:** Research and prototype cents adjustment UI |
| 26 | +- **Goal 3:** Investigate temperament systems and EDO implementations |
| 27 | +- **Goal 4:** Implement visual feedback system for pitch detection |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week's Achievements |
| 32 | + |
| 33 | +1. **Researched Dual-Mode Tuner Design** |
| 34 | + - Analyzed requirements for two proposed tuning modes: |
| 35 | + - Specific Target Pitch mode with fixed reference |
| 36 | + - Arbitrary mode with dynamic ±50 cents range detection |
| 37 | + - Started working on UI mockups for both modes |
| 38 | + - Researching effective visual feedback systems for pitch deviation |
| 39 | + |
| 40 | +2. **Implemented Initial Cents Adjustment Feature** |
| 41 | + - Created basic manual cents adjustment UI |
| 42 | + - Exploring alternative UI approaches for better user experience |
| 43 | + - Studying various tuner implementations for inspiration |
| 44 | + |
| 45 | +3. **Developed Tuner Visualization System** |
| 46 | + - Implemented center-outward segment lighting system |
| 47 | + - Left/right segments indicate flat/sharp notes respectively |
| 48 | + - Number of lit segments shows pitch deviation magnitude |
| 49 | + |
| 50 | +4. **Pitch Detection System Research** |
| 51 | + - Studied advanced pitch detection methodologies |
| 52 | + - Researched FFT spectrum analysis and phase information evaluation |
| 53 | + |
| 54 | +--- |
| 55 | + |
| 56 | +## Challenges & How I Overcame Them |
| 57 | + |
| 58 | +- **Challenge:** Difficulty in accurately detecting pitch in real-time |
| 59 | + **Solution:** Researched and implemented better audio processing algorithms with help from mentor feedback |
| 60 | + |
| 61 | +- **Challenge:** Making the tuner interface user-friendly and responsive |
| 62 | + **Solution:** Studied existing tuner applications and simplified the visual feedback system |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +## Key Learnings |
| 67 | +- Gained deep understanding of Equal Divisions of the Octave (EDO) systems and their implementation challenges |
| 68 | +- Learned about various temperament systems (Equal, Just, Werckmeister, Kirnberger) |
| 69 | +- Studied advanced audio processing techniques including FFT window optimization and spectrum phase analysis |
| 70 | +- Researched UX patterns for precise musical instrument tuning interfaces |
| 71 | +- Explored different approaches to visual feedback systems for micro-pitch detection |
| 72 | + |
| 73 | +--- |
| 74 | + |
| 75 | +## Next Week's Roadmap |
| 76 | +- Complete tuner implementation with accurate visualization |
| 77 | +- Finalize and implement the selected cents adjustment UI design |
| 78 | +- Write Week 03 blog post summarizing progress and learnings |
| 79 | + |
| 80 | +--- |
| 81 | + |
| 82 | +## Resources & References |
| 83 | +- **EDO & Tuning Systems:** [Ableton's Guide to EDO Tunings](https://tuning.ableton.com/edo/intro-to-edo/) |
| 84 | +- **Online Tuner Reference:** [Musicca's Online Tuner Guide](https://www.musicca.com/tuner) |
| 85 | +- **Pitch Detection Implementation:** [PitchDetect JavaScript Implementation](https://github.com/cwilso/PitchDetect/blob/main/js/pitchdetect.js) |
| 86 | +- **Research Reference:** [F-Droid Tuner Implementation](https://f-droid.org/en/packages/de.moekadu.tuner/) |
| 87 | + |
| 88 | +--- |
| 89 | + |
| 90 | +## Acknowledgments |
| 91 | +Thank you to my mentors, the Sugar Labs community, and fellow contributors for ongoing support. |
| 92 | + |
| 93 | +--- |
0 commit comments