|
| 1 | +--- |
| 2 | +title: "SSoC ’25 Week 07 Update by Muhammad Haroon" |
| 3 | +excerpt: "Create sketches of user interface showing how students will interact with the GenAI and the audio trimming tool." |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-07-20" |
| 6 | +slug: "2025-07-20-ssoc-25-MuhammadHaroon-week07" |
| 7 | +author: "@/constants/MarkdownFiles/authors/muhammad-haroon.md" |
| 8 | +tags: "ssoc25,sugarlabs,week07,GenAI,MusicBlocks,Music" |
| 9 | +image: "assets/Images/GSOC.png" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 07 Progress Report by Muhammad Haroon |
| 15 | + |
| 16 | +**Project:** [Generative AI Instrument Sample Generation for Music Blocks](https://github.com/sugarlabs/GSoC/blob/master/Ideas-2025.md#Generative-AI-Instrument-Sample-Generation-for-Music-Blocks) |
| 17 | +**Mentors:** [Walter Bender](https://github.com/walterbender), [Sumit Srivastava](https://github.com/sum2it) |
| 18 | +**Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa) |
| 19 | +**Reporting Period:** 2025-07-14 - 2025-07-20 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | + |
| 25 | +- **Goal 1:** Create sketches of user interface showing how students will interact with the GenAI and the audio trimming tool. |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## This Week's Achievements |
| 30 | + |
| 31 | +1. **Created sketches of user interface** |
| 32 | + - I created sketches of the user interface, keeping children in mind to ensure it is easy for them to interact with. Below are the sketches of the user interface. |
| 33 | + |
| 34 | + - I added two buttons to the sampler widget, upon clicking those users can access AI sample generation tool and audio trimming functionality. |
| 35 | + |
| 36 | +  |
| 37 | + |
| 38 | + - Upon clicking the Prompt button (which has an icon resembling a code editor), the AI sample generation tool will open. It includes an input box where users can enter a prompt and press the Submit button. Users can preview the generated audio by pressing the Preview button. If the audio doesn't sound good, they can modify the prompt and preview the audio again before saving it by pressing the Save button. |
| 39 | + |
| 40 | +  |
| 41 | + |
| 42 | + - Once the audio is downloaded, users may need to trim it to extract the desired portion. For this, I designed an Audio Trimming Tool, it can be opened by clicking on an icon of a scissor. Users can select the downloaded audio file by clicking the file chooser button. After selecting a file, the file chooser is replaced with an HTML audio player that loads the selected audio (as shown in User Interface 4). This allows users to listen and identify the timestamps of the segment they want to keep. Two input boxes are provided where users can enter the start time and end time of the desired audio segment. A Preview button lets users listen to the trimmed portion before finalizing it. Once satisfied, they can click the Save button to download the trimmed audio. |
| 43 | + |
| 44 | +  |
| 45 | + |
| 46 | +  |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +## Next Week's Roadmap |
| 51 | + |
| 52 | +- Code the sketches of the user interface in Music Blocks. |
| 53 | +- Create a FastAPI for connecting frontend with backend. |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +## Acknowledgments |
| 58 | + |
| 59 | +Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support. |
| 60 | + |
| 61 | +--- |
0 commit comments