Slyric
A sleep-tech service that induces rest through sound
Context
The app generated sleep-inducing audio on the fly; I built the app and the server alone.
Problem
Generating sleep-inducing audio in real time was the core of the product, but the existing Python synthesis path was too slow to deliver it.
How I solved it
- Built the whole thing alone — a Flutter app for iOS and Android, plus the backend
- Traced the bottleneck to the audio synthesis and frequency calculation path
- Split the problem by what was actually slow: optimised the maths where it was compute-bound, and moved the generation path to Go (Fiber) where the real constraint was I/O concurrency, not CPU
Result
- Audio generation got 11× faster
- With the biggest bottleneck gone, real-time delivery became possible
Pythonbaseline
After Go11× faster
Impact
The product’s premise — generate it in real time — finally held.