@signalsandsorcery/plugin-sdk 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Plugin SDK for building custom generator plugins for [Signals & Sorcery](https://signalsandsorcery.com) — an AI-powered music production workstation.
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<img src="assets/signals-and-sorcery.png" alt="Signals & Sorcery" width="420" />
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
> Part of the **[Signals & Sorcery](https://signalsandsorcery.com)** ecosystem.
|
|
10
|
+
|
|
5
11
|
Plugins extend the Loop Workstation with custom input generators that create MIDI patterns, manage audio samples, generate AI audio textures, or combine all three. Each plugin gets its own accordion section in the workstation UI and a scoped `PluginHost` API for interacting with tracks, MIDI, audio, and more.
|
|
6
12
|
|
|
7
13
|
## Installation
|
|
@@ -363,6 +369,18 @@ All errors are `PluginError` instances with a typed `code` property:
|
|
|
363
369
|
- **Secret isolation** — Each plugin's secrets are encrypted and scoped per plugin
|
|
364
370
|
- **Track limits** — 16 tracks per plugin per scene (configurable)
|
|
365
371
|
|
|
372
|
+
## The Signals & Sorcery Ecosystem
|
|
373
|
+
|
|
374
|
+
- **[Signals & Sorcery](https://signalsandsorcery.com)** — the flagship AI music production workstation
|
|
375
|
+
- **[sas-synth-plugin](https://github.com/shiehn/sas-synth-plugin)** — AI MIDI generation with Surge XT
|
|
376
|
+
- **[sas-sample-plugin](https://github.com/shiehn/sas-sample-plugin)** — Sample library browser with time-stretching
|
|
377
|
+
- **[sas-audio-plugin](https://github.com/shiehn/sas-audio-plugin)** — AI audio texture generation
|
|
378
|
+
- **[DeclarAgent](https://github.com/shiehn/DeclarAgent)** — Declarative agent + MCP transport for S&S
|
|
379
|
+
|
|
380
|
+
<p align="center">
|
|
381
|
+
<a href="https://signalsandsorcery.com">signalsandsorcery.com</a>
|
|
382
|
+
</p>
|
|
383
|
+
|
|
366
384
|
## License
|
|
367
385
|
|
|
368
386
|
MIT
|
package/dist/index.d.mts
CHANGED
|
@@ -145,6 +145,20 @@ interface PluginHost {
|
|
|
145
145
|
setTrackSolo(trackId: string, solo: boolean): Promise<void>;
|
|
146
146
|
/** Rename a track. Only works on owned tracks. */
|
|
147
147
|
setTrackName(trackId: string, name: string): Promise<void>;
|
|
148
|
+
/**
|
|
149
|
+
* Persist a track's musical role to the `tracks.role` column. Call this
|
|
150
|
+
* after an LLM generation classifies the track (e.g. `'bass'`, `'lead'`,
|
|
151
|
+
* `'pad'`, `'fx'`, `'kicks'`) so downstream features — especially the v1
|
|
152
|
+
* transition generator's layer classifier — can see the role.
|
|
153
|
+
*
|
|
154
|
+
* Canonical values understood by the transition classifier include
|
|
155
|
+
* `bass`, `drums`, `lead`, `chords`, `pad`, `arp`, `fx`, `kicks`,
|
|
156
|
+
* `snares`, `hats`, `clap`, `perc`, `riser`, `impact`. Anything else is
|
|
157
|
+
* stored verbatim but won't match the neutral-role set.
|
|
158
|
+
*
|
|
159
|
+
* Only works on owned tracks.
|
|
160
|
+
*/
|
|
161
|
+
setTrackRole(trackId: string, role: string): Promise<void>;
|
|
148
162
|
/** Shuffle preset: keep MIDI, apply a random preset from the same category. Only works on owned tracks. */
|
|
149
163
|
shufflePreset(trackId: string): Promise<ShufflePresetResult>;
|
|
150
164
|
/** Duplicate track: copy MIDI + role to a new track with a different preset. Only works on owned tracks. */
|
package/dist/index.d.ts
CHANGED
|
@@ -145,6 +145,20 @@ interface PluginHost {
|
|
|
145
145
|
setTrackSolo(trackId: string, solo: boolean): Promise<void>;
|
|
146
146
|
/** Rename a track. Only works on owned tracks. */
|
|
147
147
|
setTrackName(trackId: string, name: string): Promise<void>;
|
|
148
|
+
/**
|
|
149
|
+
* Persist a track's musical role to the `tracks.role` column. Call this
|
|
150
|
+
* after an LLM generation classifies the track (e.g. `'bass'`, `'lead'`,
|
|
151
|
+
* `'pad'`, `'fx'`, `'kicks'`) so downstream features — especially the v1
|
|
152
|
+
* transition generator's layer classifier — can see the role.
|
|
153
|
+
*
|
|
154
|
+
* Canonical values understood by the transition classifier include
|
|
155
|
+
* `bass`, `drums`, `lead`, `chords`, `pad`, `arp`, `fx`, `kicks`,
|
|
156
|
+
* `snares`, `hats`, `clap`, `perc`, `riser`, `impact`. Anything else is
|
|
157
|
+
* stored verbatim but won't match the neutral-role set.
|
|
158
|
+
*
|
|
159
|
+
* Only works on owned tracks.
|
|
160
|
+
*/
|
|
161
|
+
setTrackRole(trackId: string, role: string): Promise<void>;
|
|
148
162
|
/** Shuffle preset: keep MIDI, apply a random preset from the same category. Only works on owned tracks. */
|
|
149
163
|
shufflePreset(trackId: string): Promise<ShufflePresetResult>;
|
|
150
164
|
/** Duplicate track: copy MIDI + role to a new track with a different preset. Only works on owned tracks. */
|