THE WORKBENCH GUIDE
Make a little noise.
JamScript lets you write Strudel music, hear it live, and shape supported parts of the source with visual controls. The code in the editor stays in charge.
Your first session
- Open the browser workbench and create a workspace.
- Create a document, or choose the Night bus example from the workspace chooser.
- Type
s("bd ~ sd ~")and press Play. Stop all audio from the transport at any time. - Edit a supported step or parameter, then use the editor’s undo command to reverse it.
Workspaces and files
Browser workspaces and documents are stored in this browser’s IndexedDB. They autosave locally and do not need an account. Clearing site data removes local workspaces; a workspace URL does not share your music with another person.
The desktop edition can open a selected folder and save files to disk. Browser workspaces do not have direct filesystem access. Desktop installers for Windows, macOS (Apple Silicon) and Linux are on the Download section. The macOS app is signed and notarized by Apple. Windows installers are not yet code-signed, so Windows may show a security warning on first launch.
On Linux, pick the package for your system: .deb for Ubuntu, Debian and Mint, .rpm for Fedora and openSUSE, or the AppImage for any other distribution, including Arch. Every release includes a SHA256SUMS file signed with the JamScript release key (fingerprint 758B E422 C746 7828 9C03 72CF 5215 B39C 0910 305F). To check a download, put it in one folder with SHA256SUMS and SHA256SUMS.asc, then run gpg --import jamscript-release-key.asc, gpg --verify SHA256SUMS.asc SHA256SUMS and sha256sum --check --ignore-missing SHA256SUMS.
Tempo and playback
Musicians can enter BPM in the transport. Strudel uses cycles per second (CPS). With the default four beats per cycle, 120 BPM = 0.5 CPS. A BPM edit changes a supported, unambiguous setcps() or setcpm() call in the active document. If tempo is computed or ambiguous, edit it in code.
Play evaluates the active document. Stop all audio is available even if an evaluation fails or the normal transport state has fallen out of sync. The Output panel reports playback and source errors; the meter and spectrum respond to real audio output.
Controls and mixing
Rhythm cells and Inspector controls appear for syntax JamScript can locate safely. These controls patch exact source ranges and share the editor’s undo history. Nested, computed or ambiguous expressions may remain code-only. Select a track to inspect its supported parameters; use Solo to hear a supported track on its own.
Master and track levels are runtime mix controls. Some Strudel compositions apply effects after a whole stack; JamScript keeps that routing intact and omits individual faders when splitting the stack would change the sound.
Export and history
Export the active main flow as WAV or MP3 from the workbench. The History tab in the bottom panel saves a version of each document every time you press Play, with a label like “bass lpf 1200 → 430”. Select one to listen to it without changing your song, compare it with your code, or restore it. History stays on this device; it is not a shared version.
Keyboard shortcuts
- Ctrl/⌘ F
- Find in the active music document; Enter moves to the next match
- Ctrl/⌘ P
- Quick Open in the current workspace
- Ctrl/⌘ Shift P
- Workbench command palette
- Ctrl/⌘ Z
- Undo source or visual-control edit
Samples
Press the Sounds button (the sound-wave icon in the side bar, or the bottom bar on phones), or open the Samples tab in the bottom panel. Every sound you can use appears there. Search by name, pick a drum machine from Bank, and use Show all to see the whole list. Tap a pad to hear it without stopping your song, then copy its code, such as s("bd"), into your song. Songs that load their own sample packs add them after you press Play once; use Refresh to see them.
For samples imported to this device, use Add to song in the preview. Sample packs are downloaded from their hosts on first use and cached in your browser, so the first play of a new song can start a little later than the next.
Assistant
The assistant panel has two modes. Ask explains code and returns examples you can copy; it never writes to your files. Edit proposes changes to existing files for you to review, and nothing is applied until you accept it. Edits are checked against the current source, so a proposal made for an older version is not applied silently.
Viewers of a shared project can use Ask, but Edit needs editing access. The assistant appears only when it is configured for the deployment, and it can be unavailable if the AI service is out of credit or down.