Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Cmd.Simple

Contents

Description

Simple Events are supposed to be easy to read, and easy to serialize to text and load back again. Functions here convert them to and from text form, stashing converted simple blocks in the clipboard.

Synopsis

Documentation

type State = (Text, Allocations, [Block]) Source #

Dump a score, or part of a score, to paste into a test. (global_transform, allocations, blocks)

type Block = (Text, Text, [Maybe Track], [Skeleton.Edge]) Source #

(id_name, title, tracks, skeleton)

type Track = (Text, Text, [Event]) Source #

(id_name, title, events)

type Event = (Double, Double, Text) Source #

(start, duration, text)

type ScoreEvent = (Double, Double, String, Maybe Pitch.NoteNumber) Source #

(start, duration, text, initial_nn)

type PerfEvent = (String, Double, Double, Pitch.NoteNumber) Source #

(inst, start, duration, initial_nn)

type Allocations = [(Instrument, (Qualified, [(WriteDevice, Midi.Channel)]))] Source #

(instrument, (qualified, [(device, chan)]))

[] chans means it's UiConfig.Dummy.

This doesn't include Patch.config_settings, so it's assumed they're the same as Patch.patch_defaults.

state

block

track

allocations

ExactPerfEvent