Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Cmd.Instrument.ImInst

Description

This is the 音 variant of Cmd.Instrument.MidiInst. All of the the generic bits can be re-exported.

Synopsis

Documentation

dummy :: Text -> Patch -> Patch Source #

Cause this to have a Dummy backend. It's a bit sloppy in that the contents of patch_patch will be ignored, but it's convenient in that it lets me reuse all the functions in here for dummies too.

environ :: REnv.ToVal a => EnvKey.Key -> a -> Patch -> Patch Source #

The instrument will also set the given environ when it comes into scope.

range :: Scale.Range -> Patch -> Patch Source #

Set instrument range.

im_allocations Source #

Arguments

:: [(ScoreT.Instrument, Text, Common.Config -> Common.Config)]

(inst, qualified, set_config)

-> UiConfig.Allocations