Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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.

default_scale :: Pitch.ScaleId -> Patch -> Patch Source #

The instrument will set the given scale 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