@collabhut/plugin-sdk
v1.1.0
Published
Type-safe SDK for building, publishing, and licensing CollabDAW plugins on CollabHut Marketplace
Downloads
585
Maintainers
Readme
@collabhut/plugin-sdk
The official SDK for building, publishing, and licensing plugins for CollabDAW — the browser-based DAW on the CollabHut ecosystem.
Install
npm install @collabhut/plugin-sdkWhat you get
- Typed manifests —
PluginManifest,PluginType,PluginPricing,SemVer - Parameter system —
RangeParam,BoolParam,ChoiceParamwith full curve support - Audio effects —
AudioEffectFactory,AudioEffectIO - MIDI effects — typed MIDI event union (
NoteOn,NoteOff,CC,PitchBend, …) - Instruments —
InstrumentPlugin,InstrumentVoice - Vocal presets — full chain: EQ, compressor, de-esser, saturation, pitch correction, chorus, reverb, delay, pop filter, gate, exciter, limiter
- UI descriptors —
PluginUIDescriptorfor building rich device editor layouts - Licensing —
LicenseChecker,LicenseToken, collaboration access control - Worker protocol — typed
HostToPluginMessage/PluginToHostEventdiscriminated unions for Web Worker DSP - Helpers —
noteToHz,hzToNote,gainToDb,dbToGain,clamp, MIDI name utilities
Build
npm run build # emits dist/
npm run typecheckThe package is a pure TypeScript types-only SDK. DSP logic lives in your plugin Worker — this SDK provides the contracts.
Links
- CollabHut: collabhut.com
- CollabDAW: daw.collabhut.com
- Root Lodge (parent): rootlodge.com
