Strudel for VS Code
A modern, offline-capable Strudel livecoding environment inside Visual Studio Code.
This is a maintained fork of the original extension, updated for the newest Strudel releases (1.2.x+), with improved audio loading, sample prebaking, and a more reliable webview playback system.
Features
- Live-evaluate Strudel patterns directly from VS Code
$: support and full modern Strudel transpiler compatibility
- Built-in audio engine using
@strudel/webaudio
- Offline-friendly sample loading
- Supports whole-file play or play-selection
- Status indicators and logs in the VS Code UI
- Embedded piano roll (when available in pattern output)
Getting Started
Install
(Once published to Marketplace)
ext install <YOUR_PUBLISHER>.strudel-vscode
Use
Select a .strudel.js file and start livecoding:
- Play file:
Ctrl+Enter
- Play selection:
Ctrl+Shift+Enter
- Stop:
Ctrl+.
- Reconnect audio: via the Strudel panel button
All commands are also available via Command Palette:
Ctrl+Shift+P → "Strudel: ..."
Samples & Soundbanks
On first connection, the extension automatically preloads:
- Dirt-Samples
- Tidal Drum Machines
- Piano
- EmuSP12
- VCSL
- Mridangam
- All default synths and soundfonts
This ensures an offline-capable workflow close to the Strudel browser experience.
Development
Clone the repo:
git clone https://codeberg.org/cmillsdev/strudel-vscode
cd strudel-vscode
npm install
Run in development mode:
npm run dev
Build a .vsix for local install:
npm run package
Changelog
See CHANGELOG.md.
Maintainer
This fork is maintained by cmillsdev.
Issues and PRs welcome.
Support on Ko-fi