Skip to content

Commit 4561a8b

Browse files
authored
ssoc-week10-update (#387)
1 parent db6ba13 commit 4561a8b

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: "SSoC ’25 Week 10 Update by Muhammad Haroon"
3+
excerpt: "Create a FastAPI for connecting frontend with backend for Audio Trimmer."
4+
category: "DEVELOPER NEWS"
5+
date: "2025-08-10"
6+
slug: "2025-08-10-ssoc-25-MuhammadHaroon-week10"
7+
author: "@/constants/MarkdownFiles/authors/muhammad-haroon.md"
8+
tags: "ssoc25,sugarlabs,week10,GenAI,MusicBlocks,Music"
9+
image: "assets/Images/GSOC.webp"
10+
---
11+
12+
<!-- markdownlint-disable -->
13+
14+
# Week 10 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-08-4 - 2025-08-10
20+
21+
---
22+
23+
## Goals for This Week
24+
25+
- **Goal 1:** Create a FastAPI for connecting frontend with backend for Audio Trimmer.
26+
27+
---
28+
29+
## This Week's Achievements
30+
31+
1. **Create a FastAPI for connecting frontend with backend for Audio Trimmer.**
32+
- I successfully created a FastAPI for connecting the frontend with the backend for Audio Trimmer in Music Blocks.
33+
34+
- Users can now upload an audio sample. Once uploaded, the file chooser will be replaced by an HTML audio player, where students can listen to the audio and select the segment they want to trim. Below the player, there are two input boxes: the first for the start time and the second for the end time. After entering the times, users can click the Preview button to listen to the trimmed audio and check whether it matches the segment they need or if the times need adjusting. Once they are satisfied with the selection, they can download the segment locally by clicking the Save button.
35+
36+
- Below is the video demonstrating the AI Sample Generation in Music Blocks.
37+
38+
[youtube: 2Zq0UOrxe1c]
39+
40+
---
41+
42+
## Key Learnings
43+
44+
- I learned about the Python pydub library, which can be used to trim audio.
45+
46+
---
47+
48+
## Next Week's Roadmap
49+
50+
- Test the changes and document the entire process.
51+
52+
---
53+
54+
## Resources & References
55+
- **Frontend Code** https://github.com/sugarlabs/musicblocks/pull/4740
56+
- **Backend Code** https://github.com/haroon10725/AI-Sample-Generation-Backend
57+
58+
---
59+
60+
## Acknowledgments
61+
62+
Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support.
63+
64+
---

0 commit comments

Comments
 (0)