Back to articles
I built a standalone ambient music generator with Python and Electron, here's what went wrong (and right)

I built a standalone ambient music generator with Python and Electron, here's what went wrong (and right)

via Dev.to PythonWill Garrido

Last summer I started building Reverie , a desktop app that turns any audio file into long, evolving ambient soundscapes. Think: drop in a 30-second piano loop, get back 30 minutes of slowly shifting texture. I've been working on it solo for about 8 months and figured some of the technical bits might be interesting to other devs. Why I make ambient music as a hobby. The existing options are either "learn Ableton + 15 plugins" or basic looping apps. I just wanted something simple: file in, soundscape out. So I built it. Stack: Python for all audio DSP, Electron + React + Vite for the UI, and a stdin/stdout IPC bridge gluing them together. The audio processing The app has 38 audio effect modules that get chained together. Each style (dark, luminous, cosmic, aquatic...) picks a chain of modules and randomizes their parameters. The big one is Paulstretch , an algorithm by Nasca Octavian Paul that stretches audio up to 100x without the chipmunk-or-slomo artifacts you'd normally get. It work

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
6 views

Related Articles