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

Cmd.Instrument.Drums

Description

Data for creating drum instruments. It has few dependencies so it can be imported by both Local.Instrument definitions and Derive.Call instrument calls.

Synopsis

Documentation

data Stroke Source #

Description of a generic drum set. There are many drum set instruments, each of which probably use different MIDI keys, but at least I can standardize call names, attributes, and keymap key. Of course there will be drum sets that don't fit in (e.g. have two or three snares), but at least this provides a standard base.

Constructors

Stroke 

Fields

Instances

Instances details
Show Stroke Source # 
Instance details

Defined in Cmd.Instrument.Drums

Eq Stroke Source # 
Instance details

Defined in Cmd.Instrument.Drums

Methods

(==) :: Stroke -> Stroke -> Bool #

(/=) :: Stroke -> Stroke -> Bool #

Pretty.Pretty Stroke Source # 
Instance details

Defined in Cmd.Instrument.Drums

type Group = Text Source #

An arbitrary symbol. A group can stop other groups from sounding.

type Stops = [(Group, [Group])] Source #

Pair each stopping group with the list of groups it stops.