Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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
Eq Stroke # 
Instance details

Defined in Cmd.Instrument.Drums

Methods

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

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

Show Stroke # 
Instance details

Defined in Cmd.Instrument.Drums

Pretty.Pretty Stroke # 
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.