You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement /workspace as the primary navigation + context command, plus a comprehensive sampler mode with sample map management, selection-based editing, and first-class complex group management support.
/workspace Command
Behavior
/workspace tells HISE to switch its IDE view AND puts the CLI into the corresponding contextual mode:
Implement /workspace command (query HISE for module list, infer mode from type)
Send workspace switch command to HISE IDE
Implement module type detection and mode routing
/workspace with no argument: interactive module picker (TUI) / --list (CLI)
Tab completion for module names
Sampler Mode
Entered via /workspace targeting a StreamingSampler. The CLI complements the visible HISE sample map editor — selections sync to the HISE UI so the user sees highlighted samples in the workspace.
Grammar
# ── Sample Map Management ─────────────────────────────
maps # list available sample maps
load <samplemap> # load a sample map
save [<name>] # save current map
clear # clear current sample map
info # current map stats
# ── Import ────────────────────────────────────────────
import <path|glob> # import audio files
automap <path|glob> # import + auto-detect mapping from filenames
import sfz <path> # import SFZ file
# ── Selection (syncs to HISE UI) ──────────────────────
select all
select "<regex>" # by filename regex
select where <property> <op> <value> # by property filter (=, !=, >, <, >=, <=)
select where <prop> <op> <val> and <prop> <op> <val> # compound filters
select add "<regex>" # add to current selection
select subtract "<regex>" # remove from current selection
# ── Editing (operates on selection) ───────────────────
set <property> [to] <value>
set <property> [to] <value> for all
# ── Inspection ────────────────────────────────────────
show # show selected samples as table
show all # show all samples
count # count selected / total
# ── Sample Operations ────────────────────────────────
duplicate # duplicate selected samples
delete # delete selected samples
replace <sample> with <path> # replace audio file
# ── Batch Processing ─────────────────────────────────
monolith [<samplemap>] # convert to HLAC monolith
monolith all # convert all sample maps
validate # check missing files, overlaps
# ── Mic Positions ────────────────────────────────────
mics # list mic positions + purge state
purge <micname>
unpurge <micname>
The complex group manager replaces the simple RR group axis with a 64-bit bitmask supporting arbitrary organizational layers (RR, crossfade, keyswitch, legato, custom). This is a new, powerful HISE feature that the CLI makes much easier to work with programmatically.
Grammar
# ── Layer Management ──────────────────────────────────
groups # show all layers with types, bits, group counts
groups add <type> <name> [--bits N] [--cached] [--ignore]
groups remove <name>
groups <name> # show layer details
Layer types: rr, xfade, keyswitch, legato, custom
groups add rr "RoundRobin" --ignore
groups add xfade "VelocityXF"
groups add keyswitch "Articulation" --cached
groups add legato "LegatoInterval" --ignore
groups add custom "MyLayer" --bits 4
# ── Assigning Samples to Groups ──────────────────────
assign <layer> <group> [to selection] # assign value to selected samples
assign <layer> ignore [to selection] # set ignore flag
select "Sustain*"
assign Legato ignore # sustain samples ignore legato filter
select "RR1*"
assign RoundRobin 1
select "pizz*"
assign Articulation "pizzicato"
# ── Filtering (controls playback) ────────────────────
filter <layer> <group> # set active group for a layer
filter <layer> off # disable filter
filter Articulation "staccato"
filter RoundRobin 3
# ── Layer Properties ─────────────────────────────────
groups set <layer> <property> <value>
groups set Articulation cached true
groups set RoundRobin ignore true
# ── Per-Group Audio Control ──────────────────────────
volume <layer> <group> <dB>
delay <layer> <group> <samples>
fadein <layer> <group> <ms> [<dB>]
fadeout <layer> <group> <ms>
Example Workflow
[sampler:MySampler] > groups add keyswitch "Articulation" --cached
[sampler:MySampler] > groups add rr "RR" --ignore
[sampler:MySampler] > groups add legato "Legato" --ignore
[sampler:MySampler] > groups
Layer Type Bits Groups Cached Ignore
Articulation keyswitch 2 3 yes no
RR rr 4 9 no yes
Legato legato 7 128 no yes
Total: 13 / 64 bits used
[sampler:MySampler] > select "sustain*"
[sampler:MySampler] > assign Articulation "sustain"
[sampler:MySampler] > assign Legato ignore
[sampler:MySampler] > select "legato*C4*"
[sampler:MySampler] > assign Legato C4
[sampler:MySampler] > assign Articulation "sustain"
Automap + Complex Groups
automap can detect articulation/RR tokens and automatically create layers:
Overview
Implement /workspace as the primary navigation + context command, plus a comprehensive sampler mode with sample map management, selection-based editing, and first-class complex group management support.
/workspace Command
Behavior
/workspace tells HISE to switch its IDE view AND puts the CLI into the corresponding contextual mode:
Module Type -> Mode Mapping
Tasks (workspace)
Sampler Mode
Entered via /workspace targeting a StreamingSampler. The CLI complements the visible HISE sample map editor — selections sync to the HISE UI so the user sees highlighted samples in the workspace.
Grammar
Sample Properties
Properties for select where / set / show:
Note values accept names (C4, F#3) or MIDI numbers (60, 54).
Automap
Import + auto-detect mapping from filename tokens:
TUI: interactive confirmation. CLI: explicit --pattern flag.
Complex Group Management (First-Class)
The complex group manager replaces the simple RR group axis with a 64-bit bitmask supporting arbitrary organizational layers (RR, crossfade, keyswitch, legato, custom). This is a new, powerful HISE feature that the CLI makes much easier to work with programmatically.
Grammar
Example Workflow
Automap + Complex Groups
automap can detect articulation/RR tokens and automatically create layers:
HISE API Mapping
Tasks
Workspace
Sampler Mode Core
Complex Group Management
Dependencies