r/livecoding • • 10d ago

Live coding Csound 7 on Windows: Ctrl+Enter recompiles the instrument while it plays, hover shows live values (free, vibe coded)

Full honesty first: this is 100% vibe coded with Claude Code. I'm a programmer and a musician, but I chose not to write this one by hand. The demo narration is a synthetic voice.

A bit of background: I love learning, and I've always wanted to go deeper into programming for music, but my daily work schedule has made it hard to find the time. Building an environment where I can hear and see what the code does right away is my way of finally getting into Csound properly.

Csound Visual is a free front end for Csound 7 built around live coding:

- Ctrl+Enter sends the instrument under the cursor to csoundCompileOrc while it plays; Ctrl+Shift+Enter sends score lines.

- Drag a number in the code and the instrument is recompiled with the new value.

- Hover a variable to see its live value and a sparkline, read through the Csound debugger API.

- Every chnget/chnk channel becomes a slider, with MIDI learn.

1-min demo: https://youtu.be/20IOnNtin9M

Repo (GPL-3.0): https://github.com/irregbex/csound-visual

Windows 11 only for now. Feedback from people who live code Csound, or anything else, is very welcome.

3 Upvotes

11 comments sorted by

2

u/yaxu 10d ago

Maybe we should create a specific thread for llm-generated things

2

u/SitePowerful1880 10d ago

It's far too common now to avoid it. I have missgivings about AI too but I really wanted to learn how to Work with CSound but I've never been really able to work with CsourceQT.

2

u/Dependent-Sorbet8867 6d ago

I had a special language in the csound comments to bring up the csound instruments as boxes.. To me it just looks like an editor with some extra features. I wrote my compilers by hand so that it knew where to look to connect things together. I went through every csound command looking for the positions that I would need to connect together and created a list. I certainly see a couple of projects I could build a tracker over.. it was csound 6 though so there are extra commands since the one I built in python 2.5 that I have on my Dexter U.S. Patreon.

1

u/SitePowerful1880 6d ago

Nice! thank you for the info. Yes I mostly had trouble running it in the past. I added no CSound functionality except the spectral drawing parts like Metasynth. It's mostly just a front end, but I had good time playing with it.

3

u/spacediver256 7d ago

Thanks for sharing! What a time to live!

0

u/squeasy_2202 10d ago

Do not give a fuck about your vibe coded shit

0

u/SitePowerful1880 10d ago

Csound isn't vibecoded, only the frontend. CSound is very well known.

0

u/squeasy_2202 10d ago

I know what csound is. Your free vibe coded shit is what I'm objecting to.

1

u/SitePowerful1880 10d ago

;)

2

u/spacediver256 7d ago

See? It's time to attach a price tag. This gentleman is wallet ready.

0

u/curreylabs 4d ago

You dont need to be rude