[CM] Subject: snd-vscode: driving Snd from VS Code, headless
Daniel Hensel
danielhensel at icloud.com
Wed Aug 12 13:11:37 PDT 2026
Hello everyone,
Snd runs headless well, and that turns out to be enough to drive it from an editor. snd-vscode is a VS Code extension that does: a real Snd process, its s7 reachable from the editor, and Snd's graphs redrawn as editor panels.
The reason is Motif. Snd itself is not the fragile part of a Snd installation -- the GUI is, drawn through X11, which on macOS means XQuartz, a dependency Apple never carried and nobody else has promised to keep working. Snd's own configure defaults to no GUI at all, so the binary this drives has no X dependency, and what used to be a Motif window is a panel beside the file being edited.
What there is: the inferior-Snd side follows inf-snd.el's command set and key chords -- C-c C-e on the definition under the cursor, Tab completion, snd-help on hover. The panels are the waveform, a single transform, the sonogram, the 3D spectrogram, the wavogram and the user graph. All of them are drawn from numbers Snd computed: channel-amp-envs for the reductions, snd-spectrum and Snd's own sonogram and spectrogram matrices for the transforms. None of Snd's DSP is reimplemented, which is why the displays agree with Snd's own. Every edit happens in Snd, in Scheme, so there is one edit history and it is the one that gets saved.
It is experimental, and I would rather say so than have you find out. It is tested on macOS on Apple silicon, and the package is built for that, so on an Intel Mac the marketplace will not offer it at all -- that is the platform tag doing its job, not a fault. Linux users have Snd from a package and this uses whatever snd is on PATH, which is a path I have not exercised much. Windows is not a target. Plenty of Snd's API is not exposed yet -- GAPS.md lists what is missing and why, including the parts that are missing for a reason.
One thing I cannot test myself, if anyone has a Motif build to hand. In a no-GUI build play does not return until the sound is over, so the transport is synchronous and pause is refused; with a running toolkit loop play returns immediately, the playhead should follow, and pause should work. That branch exists in the code and has never once been executed. I would be glad to hear either way.
Bugs and awkwardness are welcome, and they should come to me rather than to Bill: this is an independent project, not part of Snd and not supported by him. Snd is his work, and so is s7. I only wanted to rescue it for Mac users who don't want to switch to Linux.
https://marketplace.visualstudio.com/items?itemName=elvis-budingensis.snd-vscode
https://github.com/Elvis-Budingensis/snd-vscode
Daniel Hensel
> Am 03.08.2026 um 21:00 schrieb cmdist-request at ccrma.stanford.edu <cmdist-request at ccrma.Stanford.EDU>:
>
> Send Cmdist mailing list submissions to
> cmdist at ccrma.stanford.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
> or, via email, send a message with subject or body 'help' to
> cmdist-request at ccrma.stanford.edu
>
> You can reach the person managing the list at
> cmdist-owner at ccrma.stanford.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cmdist digest..."
>
>
> Today's Topics:
>
> 1. Snd 26.6 (bil at ccrma.Stanford.EDU)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 03 Aug 2026 07:31:01 -0700
> From: bil at ccrma.Stanford.EDU
> To: cmdist at ccrma.Stanford.EDU
> Subject: [CM] Snd 26.6
> Message-ID: <8769fe57d4d95b7c01f956bca1704018 at ccrma.stanford.edu>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Snd 26.6:
>
> makefile.in and configure.ac fixed for openBSD (AW Green)
>
> checked: sbcl 2.6.6|7
>
> Thanks!: AW Green, Norman Gray
>
>
>
> ------------------------------
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>
>
> End of Cmdist Digest, Vol 218, Issue 1
> **************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20260812/54d52fa4/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Microsoft.VisualStudio.Services.Icons.Default
Type: application/octet-stream
Size: 175361 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20260812/54d52fa4/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20260812/54d52fa4/attachment-0003.html>
More information about the Cmdist
mailing list