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