Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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