Retrieves a specific preset by its name or id. Pass in a uuid or presets/{uuid}.
The identifier of the preset, either an uuid or presets/{uuid}
Promise resolving to the requested preset
Look up one of the 8 General MIDI drum kits on the gakki sampler.
GM reserves channel 10 for percussion. Unlike melodic instruments, drum kits are identified by a sparse program number: 0, 8, 16, 24, 25, 32, 40, 48 (Standard, Room, Power, Electronic, Analog, Jazz, Brush, Orchestra respectively). Other numbers don't exist on the gakki sampler.
Accepts a slug, a program number, or one of the GmDrum catalog entries exposed via PresetsAPI.gmDrums.
Look up one of the 128 General MIDI melodic instrument presets on the gakki sampler. The GM program number is 0-indexed per the MIDI 1.0 spec (hardware commonly displays these as 1-128). Slugs mirror the DAW's preset display names.
Accepts a slug, a program number, or one of the GmInstrument catalog entries exposed via PresetsAPI.gmInstruments -- the latter is handy when building a preset picker from the metadata array.
Static catalog of all 8 General MIDI drum kits, sorted by GM program number. Available synchronously without a network round-trip.
Static catalog of all 128 General MIDI melodic presets (display name, category, tags, description, preset id) sorted by GM program number. Available synchronously without a network round-trip -- intended for populating preset pickers and search UIs.
Search presets by device type, optionally filtering by a free-text query.
The entity type of the device for which to search presets
OptionaltextSearch: stringOptional text to filter presets by name or description
Promise resolving to an array of matching presets
A wrapper for the presets API that's more convenient to use than the raw presets API.
Example: Apply a preset by id
To get a preset id, right-click the preset in the preset browser in the DAW and select "Copy Preset ID":
Example: Look up a GM instrument or drum kit by slug or program number
Example: Build a preset picker UI
gmInstruments and gmDrums expose the full GM catalog synchronously, so pickers can render without a network round-trip:
See API for more information.